Browse Source

间距样式调整

luolei 5 years ago
parent
commit
b643f37b7a

+ 1 - 1
src/common/CheckBox.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="check-wrap" v-if="item" :style="getStyle(detail,slide)">
+  <div class="check-wrap bgques" v-if="item" :style="getStyle(detail,slide)">
       <p v-for="(it,index) in datas.questionDetailList" 
           :key="it.id" 
           :class="['list',{'block':((it.description||it.name).indexOf('${'))!=-1}]" >

+ 1 - 1
src/common/Label.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="label-wrap" v-if="item">
+  <div class="label-wrap bgques" v-if="item">
     <p v-for="(it,index) in datas.questionMapping" :key="it.id" :class="['symp',{'check':it.select==1},{'exclu':exclusion !==999 && it.exclusionType !== exclusion}]" @click="handleClick(it,index,true)">
       <span>{{it.description||it.name}}</span>
       <span v-if="it.select==1" @click="deletSymp($event,it,index)"><img src="../images/del.png" alt=""></span>

+ 1 - 1
src/common/UploadImg.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="img-wrap">
+  <div class="img-wrap bgques">
     <div class="box">
       
       <ul class="upload-imgs">

+ 5 - 1
src/components/DiagTreat.vue

@@ -199,13 +199,17 @@
 @import '../less/base.less';
   .treat-wrap{
     font-size: .3rem;
+    .bgques {
+      padding-left:0;
+      padding-right: 0;
+    } 
     .quest{
       color: #colors[quest];
-      margin-bottom: .3rem;
       font-weight: 700;
     }
     .label{
       .label;
+      padding-bottom: 0;
     }
     .result{
       .result;

+ 1 - 1
src/components/Others.vue

@@ -194,7 +194,7 @@
   .other-wrap{
     font-size: .3rem;
     // .btscroll;
-    .check-wrap {
+    .bgques {
       padding-left:0;
       padding-right: 0;
     }