瀏覽代碼

样式调整

seimin 3 周之前
父節點
當前提交
431c76f63f
共有 2 個文件被更改,包括 7 次插入4 次删除
  1. 5 2
      pages/inspection/inspectionValue/inspectionValue.vue
  2. 2 2
      static/scss/common.scss

+ 5 - 2
pages/inspection/inspectionValue/inspectionValue.vue

@@ -42,7 +42,7 @@
42 42
           </uni-forms-item>
43 43
           <!-- 单行 -->
44 44
           <uni-forms-item v-if="item.type === '5' && item.isException" class="formItem" :label="item.name" :required="item.required" :name="item.key">
45
-            <uni-easyinput v-model="formValues[item.key]" :placeholder="'请输入' + item.name" />
45
+            <uni-easyinput style="padding-top: 8px;" v-model="formValues[item.key]" :placeholder="'请输入' + item.name" />
46 46
           </uni-forms-item>
47 47
           <!-- 多行 -->
48 48
           <uni-forms-item v-if="item.type === '6' && item.isException" class="formItem" :label="item.name" :required="item.required" :name="item.key">
@@ -363,11 +363,14 @@
363 363
     min-height: 0;
364 364
     padding-bottom: 24rpx;
365 365
     .formItem{
366
-      padding: 24rpx 24rpx 0;
366
+      padding: 32rpx 24rpx 0;
367 367
       margin-bottom: 0;
368 368
     }
369 369
     ::v-deep .uni-forms-item__label{
370 370
       width: auto!important;
371
+      padding: 0!important;
372
+      height: auto!important;
373
+      align-items: flex-start!important;
371 374
     }
372 375
     .detail_head{
373 376
       padding: 24rpx;

+ 2 - 2
static/scss/common.scss

@@ -20,10 +20,10 @@ page{
20 20
   text-align: left;
21 21
   font-size: 14px;
22 22
   color: #606266;
23
-  height: 36px;
23
+  // height: 36px;
24 24
   padding: 0 12px 0 0;
25 25
   vertical-align: middle;
26
-  flex-shrink: 0;
26
+  // flex-shrink: 0;
27 27
   box-sizing: border-box;
28 28
   padding: 0 0 8px;
29 29
   line-height: 1.5715;