xuqiang 4 лет назад
Родитель
Сommit
38af8d6def
3 измененных файлов с 7 добавлено и 6 удалено
  1. 2 4
      src/pages/minePublish.vue
  2. 4 1
      src/pages/store/homePage.vue
  3. 1 1
      src/pages/store/productEdit.vue

+ 2 - 4
src/pages/minePublish.vue

@@ -91,15 +91,13 @@ export default {
         detail(cardCaseId) {
             this.navigateTo('/pages/details?id=' + cardCaseId);
         },
-        live(cardCaseId, caseName) {
-            // this.navigateTo('/pages/store/productEdit?id=' + cardCaseId + '&name=' + caseName);
-            this.navigateTo('/pages/store/homePage');
+        live() {
+            this.navigateTo('/pages/store/homePage?name=' + 1);
         },
         loginMethods() {
             this.loading = true;
             this.getStore().then(res => {
                 this.storeInfo = res;
-                // console.log(this.storeInfo);
                 this.getData();
             });
         },

+ 4 - 1
src/pages/store/homePage.vue

@@ -170,9 +170,12 @@ export default {
         }
     },
     onShow() {
+        if (this.$mp.query.name == 1) {
+            this.caseStatus = '';
+        }
         const app = getApp();
         if (app.globalData.initialize) {
-            this.loginMethods();
+            // this.loginMethods();
         }
     },
     methods: {

+ 1 - 1
src/pages/store/productEdit.vue

@@ -901,7 +901,7 @@ export default {
             margin-bottom: 10px;
         }
         .index {
-            z-index: 199;
+            z-index: 1;
         }
         .box {
             padding-right: 20px;