panhui 4 tahun lalu
induk
melakukan
184652696b

+ 5 - 0
src/main/nine-space/src/router/index.js

@@ -432,6 +432,11 @@ router.beforeEach((to, from, next) => {
         return;
     }
     console.log(to);
+
+    if(to.query.invitor){
+        sessionStorage.setItem('invitor',to.query.invitor)
+    }
+
     if (!store.state.userInfo && to.meta.pageType !== Page.Login) {
         store
             .dispatch('getUserInfo')

+ 3 - 2
src/main/nine-space/src/views/Submit.vue

@@ -165,8 +165,9 @@ export default {
             if (this.couponInfo) {
                 url += '&couponId=' + this.couponInfo.id;
             }
-            if (this.$route.query.invitor) {
-                url += '&invitor=' + this.$route.query.invitor;
+            let invitor = sessionStorage.getItem('invitor');
+            if (invitor) {
+                url += '&invitor=' + invitor;
             }
             this.$http
                 .post(url)

+ 2 - 2
src/main/nine-space/src/views/product/Detail.vue

@@ -159,7 +159,7 @@
                 <van-collapse-item name="0" class="goods-info">
                     <template #title>
                         <div class="titleIcon page-title">
-                            <img src="../../assets/icon-lianshangxinxi.png" alt="" />
+                            <img src="../../assets/icon-lianshangxinxi(1).png" alt="" />
                             持有特权
                             <span>(灰色表示已使用)</span>
                         </div>
@@ -209,7 +209,7 @@
                 <van-collapse-item name="2" class="goods-info">
                     <template #title>
                         <div class="page-title">
-                            <img src="../../assets/icon-lianshangxinxi(2).png" alt="" />链上信息
+                            <img src="../../assets/icon-lianshangxinxi(3).png" alt="" />链上信息
                         </div>
                     </template>
                     <div class="page-text" v-if="info.txHash || info.blockNumber || info.tokenId">