Browse Source

result渲染问题

gcj 2 years ago
parent
commit
3c8dc7d63d
1 changed files with 7 additions and 6 deletions
  1. 7 6
      src/views/corpus/Result.vue

+ 7 - 6
src/views/corpus/Result.vue

@@ -24,6 +24,7 @@
           :style="{
           :style="{
             overflowY: unfold ? 'scroll' : 'hidden',
             overflowY: unfold ? 'scroll' : 'hidden',
           }"
           }"
+          v-if="ShowHzData"
         >
         >
           <div
           <div
             class="list_one"
             class="list_one"
@@ -62,7 +63,6 @@
                   :BoxbgType="0"
                   :BoxbgType="0"
                   strokeColorgray="#ccc"
                   strokeColorgray="#ccc"
                   strokeColor="#000000"
                   strokeColor="#000000"
-                  v-if="JFIndex == 0 ? item.con+'-'+indexs : item.fanti+'-'+indexs"
                 />
                 />
                 <div class="number">{{ indexs + 1 }}</div>
                 <div class="number">{{ indexs + 1 }}</div>
               </div>
               </div>
@@ -356,7 +356,7 @@ export default {
   components: {
   components: {
     Header,
     Header,
     Strockplayredline,
     Strockplayredline,
-    StrockplayredlineCorpus
+    StrockplayredlineCorpus,
   },
   },
   props: {},
   props: {},
   data() {
   data() {
@@ -828,6 +828,7 @@ export default {
     },
     },
     // 获取汉字josn
     // 获取汉字josn
     gethzJSON() {
     gethzJSON() {
+      this.ShowHzData = null;
       this.loading = true;
       this.loading = true;
       let MethodName = "hz_resource_manager-GetHZStrokesContent";
       let MethodName = "hz_resource_manager-GetHZStrokesContent";
       this.hzData.forEach((item, i) => {
       this.hzData.forEach((item, i) => {
@@ -926,7 +927,7 @@ export default {
     },
     },
     changehzdata() {
     changehzdata() {
       this.hzData = [];
       this.hzData = [];
-      this.jfEvent(0)
+      this.jfEvent(0);
       let arr = this.$route.query.keyword.split("");
       let arr = this.$route.query.keyword.split("");
       arr.forEach((item) => {
       arr.forEach((item) => {
         if (!/^[\u4e00-\u9fa5]/.test(item)) {
         if (!/^[\u4e00-\u9fa5]/.test(item)) {
@@ -951,7 +952,7 @@ export default {
       this.sizeIndex = 1;
       this.sizeIndex = 1;
       this.sort = "down";
       this.sort = "down";
       this.KWIC_sortIndex = 0;
       this.KWIC_sortIndex = 0;
-      this.cutSize(1)
+      this.cutSize(1);
     },
     },
   },
   },
   //生命周期 - 创建完成(可以访问当前this实例)
   //生命周期 - 创建完成(可以访问当前this实例)
@@ -1519,7 +1520,7 @@ export default {
     }
     }
   }
   }
 }
 }
-.el-loading-mask{
-    z-index: 200000 !important;
+.el-loading-mask {
+  z-index: 200000 !important;
 }
 }
 </style>
 </style>