Jelajahi Sumber

修改关闭弹窗

mork 1 Minggu lalu
induk
melakukan
e134082482
2 mengubah file dengan 9 tambahan dan 8 penghapusan
  1. 5 5
      src/views/HomeView.vue
  2. 4 3
      src/views/KDYJS.vue

+ 5 - 5
src/views/HomeView.vue

@@ -429,11 +429,11 @@ export default {
           // that.$store.state.login = true;
           // that.$store.state.user = data.content;
           // that.$router.push("/");
-          ElMessage({
-            message: "登录成功",
-            type: "success",
-            duration: 1500
-          });
+          // ElMessage({
+          //   message: "登录成功",
+          //   type: "success",
+          //   duration: 1500
+          // });
         }
       })
     },

+ 4 - 3
src/views/KDYJS.vue

@@ -27,9 +27,9 @@
             </template>
           </el-input>
           <div class="addressPanel" v-show="addressPanelShow">
-            <div style="position: absolute;left: 350px;z-index: 9999;cursor: pointer;top: 45px;color: #6b6b6b;" title="关闭"  @click="closeSeachWin">
+            <!-- <div style="position: absolute;left: 350px;z-index: 9999;cursor: pointer;top: 45px;color: #6b6b6b;" title="关闭"  @click="closeSeachWin">
               <Close style="width: 1em; height: 1em; margin-right: 8px;padding: 5px;" />
-            </div>
+            </div> -->
             <el-scrollbar>
               <ul>
                 <li v-for="(item, index) in searchResultList" :key="index" :class="searchSelect == index ? 'active' : ''" @click="judgeHandle(item,index)">
@@ -746,8 +746,9 @@ export default {
         }
 
         that.nearShopResult = nearShopResult
+        that.addressPanelShow = false
         if(that.isMobile){
-            that.addressPanelShow = false
+            
             if(that.resultPanelShow_mb != true){
                 that.resultPanelShow_mb = true;
             }