Browse Source

样式调整

seimin 1 month ago
parent
commit
431c76f63f
2 changed files with 7 additions and 4 deletions
  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
           </uni-forms-item>
42
           </uni-forms-item>
43
           <!-- 单行 -->
43
           <!-- 单行 -->
44
           <uni-forms-item v-if="item.type === '5' && item.isException" class="formItem" :label="item.name" :required="item.required" :name="item.key">
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
           </uni-forms-item>
46
           </uni-forms-item>
47
           <!-- 多行 -->
47
           <!-- 多行 -->
48
           <uni-forms-item v-if="item.type === '6' && item.isException" class="formItem" :label="item.name" :required="item.required" :name="item.key">
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
     min-height: 0;
363
     min-height: 0;
364
     padding-bottom: 24rpx;
364
     padding-bottom: 24rpx;
365
     .formItem{
365
     .formItem{
366
-      padding: 24rpx 24rpx 0;
366
+      padding: 32rpx 24rpx 0;
367
       margin-bottom: 0;
367
       margin-bottom: 0;
368
     }
368
     }
369
     ::v-deep .uni-forms-item__label{
369
     ::v-deep .uni-forms-item__label{
370
       width: auto!important;
370
       width: auto!important;
371
+      padding: 0!important;
372
+      height: auto!important;
373
+      align-items: flex-start!important;
371
     }
374
     }
372
     .detail_head{
375
     .detail_head{
373
       padding: 24rpx;
376
       padding: 24rpx;

+ 2 - 2
static/scss/common.scss

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