liyangzheng 1 yıl önce
ebeveyn
işleme
3d8e7b80d6
1 değiştirilmiş dosya ile 5 ekleme ve 5 silme
  1. 5 5
      src/pages/components/drawModal/LineDouble.vue

+ 5 - 5
src/pages/components/drawModal/LineDouble.vue

@@ -9,8 +9,8 @@
                     margin: 25px auto;
                     padding-bottom: 10px;
                     ">{{ startTxt }}</h1>
-                    <div style="height: calc(100vh - 520px);">
-                        <div style="margin-bottom: 10px;" v-for="(item, index) in curList" @click="setIndex(item, index)">
+                    <div >
+                        <div style="margin-bottom: 10px;" v-for="(item, index) in curList" @click="setIndex(item,index)">
                             <span :class="index == leftIndex ? 'result' : 'anther'">{{ index + 1 }}</span>
                             <span :class="index == leftIndex ? 'results' : 'anthers'" :id="item.id">{{ item.fcda_name
                             }}</span>
@@ -28,7 +28,7 @@
                     margin: 25px auto;
                     padding-bottom: 10px;
                     ">{{ endTxt }}</h1>
-                    <div style="height: calc(100vh - 520px);">
+                    <div style="height: auto;">
                         <!-- <div v-for="(item, index) in outList" :id="item.id">
                             <el-checkbox-group v-model="checkList" @change="checkChange">
                                 <el-checkbox :label="item.id" :key="item.id">
@@ -261,7 +261,7 @@ export default {
         })
         // 下标选择
         function setIndex(row, num) {
-            loading.value = true
+            // loading.value = true
             if (row && num) {
                 leftFcda.value = row.id
                 leftIndex.value = num
@@ -387,7 +387,7 @@ export default {
 <style scoped>
 .masBox {
     width: 100%;
-    height: calc(100vh - 400px);
+    /* height: calc(100vh - 400px); */
     /* border: 1px solid red; */
     display: flex;
     justify-content: space-around;