소스 검색

BUG修复

songxy 2 달 전
부모
커밋
dad1439e10
2개의 변경된 파일15개의 추가작업 그리고 49개의 파일을 삭제
  1. 14 25
      web_ui/src/views/industrial-land/AiIndustriaLandDetail.vue
  2. 1 24
      web_ui/src/views/znzt-land/AiZtzsDetail.vue

+ 14 - 25
web_ui/src/views/industrial-land/AiIndustriaLandDetail.vue

@@ -567,7 +567,7 @@ export default {
 
   methods: {
     onBackHandle () {
-      this.showResult = this.showQuery = false;
+      this.showResult = this.showQuery = this.loading = false;
       this.hzData = []
       this.listType = ''
       this.inputText = ''
@@ -968,29 +968,6 @@ export default {
     hideDetail() {
       this.showDetail = false;
     },
-    //收藏
-    doCollect(collect) {
-      this.shwoCollect = collect;
-      this.shwoCompare = false;
-      if (collect) {
-        this.hideDetail();
-      }
-      try {
-        this.$refs.compre.remove();
-      } catch (e) {}
-    },
-    //对比
-    doCompare(compare) {
-      this.shwoCompare = compare;
-      this.shwoCollect = false;
-      if (compare) {
-        this.hideDetail();
-      } else {
-        try {
-          this.$refs.compre.remove();
-        } catch (e) {}
-      }
-    },
     toggle(index) {
       this.activeIndex = index;
       this.hideDetail();
@@ -2397,9 +2374,21 @@ export default {
         position: absolute;
         left: 0;
         top: 0;
-        // background: linear-gradient(-30deg, #d6e8fb, #ffffff);
         background-color: #fff;
 
+        &::before {
+          content: "";
+          display: block;
+          position: absolute;
+          left: 0px;
+          right: 0px;
+          top: 0px;
+          bottom: 0px;
+          background-image: url(~@/assets/image/box_bg2.png);
+          background-repeat: no-repeat;
+          background-size: 100% 100%;
+          opacity: 0.4;
+        }
         .left-panel-content {
           width: 100%;
           height: calc(100% - 150px);

+ 1 - 24
web_ui/src/views/znzt-land/AiZtzsDetail.vue

@@ -958,29 +958,6 @@ export default {
     hideDetail() {
       this.showDetail = false;
     },
-    //收藏
-    doCollect(collect) {
-      this.shwoCollect = collect;
-      this.shwoCompare = false;
-      if (collect) {
-        this.hideDetail();
-      }
-      try {
-        this.$refs.compre.remove();
-      } catch (e) {}
-    },
-    //对比
-    doCompare(compare) {
-      this.shwoCompare = compare;
-      this.shwoCollect = false;
-      if (compare) {
-        this.hideDetail();
-      } else {
-        try {
-          this.$refs.compre.remove();
-        } catch (e) {}
-      }
-    },
     toggle(index) {
       this.activeIndex = index;
       this.hideDetail();
@@ -1092,7 +1069,7 @@ export default {
       _timers1.push(timer1)
     },
     onBackHandle () {
-      this.showResult = this.showQuery = false;
+      this.showResult = this.showQuery = this.loading = false;
       this.hzData = []
       this.listType = ''
       this.inputText = ''