yuanyuan 3 роки тому
батько
коміт
b38df24518
1 змінених файлів з 12 додано та 5 видалено
  1. 12 5
      src/views/Store.vue

+ 12 - 5
src/views/Store.vue

@@ -567,7 +567,9 @@ export default {
             this.type = this.$route.query.type;
             this.type = this.$route.query.type;
         }
         }
         if (this.$route.query.goBack) {
         if (this.$route.query.goBack) {
-            // this.type = 'metadomainName';
+            this.type = 'metadomainName';
+            this.metadomainType = 'receiveQuotation';
+            this.getReview();
         }
         }
         if (window.cordova && StatusBar && StatusBar.isVisible) {
         if (window.cordova && StatusBar && StatusBar.isVisible) {
             StatusBar.styleLightContent();
             StatusBar.styleLightContent();
@@ -707,10 +709,10 @@ export default {
             //
             //
         },
         },
         init() {
         init() {
-            this.$toast.loading({
-                message: '加载中...',
-                forbidClick: true
-            });
+            // this.$toast.loading({
+            //     message: '加载中...',
+            //     forbidClick: true
+            // });
             this.empty = false;
             this.empty = false;
             this.$http.get('/collection/myLikes').then(res => {
             this.$http.get('/collection/myLikes').then(res => {
                 this.likeList = res;
                 this.likeList = res;
@@ -777,6 +779,10 @@ export default {
             return n.length >= width ? n : new Array(width - n.length + 1).join(z) + n;
             return n.length >= width ? n : new Array(width - n.length + 1).join(z) + n;
         },
         },
         getList() {
         getList() {
+            if (this.metadomainType == 'receiveQuotation') {
+                this.getReview();
+                return;
+            }
             if (!this.isLogin) {
             if (!this.isLogin) {
                 this.empty = true;
                 this.empty = true;
                 this.loading = false;
                 this.loading = false;
@@ -938,6 +944,7 @@ export default {
                         '分';
                         '分';
                 });
                 });
                 this.isLoading = false;
                 this.isLoading = false;
+                this.assetLoading = false;
                 this.list = res;
                 this.list = res;
             });
             });
         },
         },