hare8999@163.com před 2 roky
rodič
revize
3608f0d473
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. 5 1
      src/components/Top/index.vue

+ 5 - 1
src/components/Top/index.vue

@@ -11,7 +11,7 @@
           <p style="width:110px;color:#000;font-size:12px;margin-top:5px;">扫描下载APP</p>
         </div>
       </div>
-      <el-link v-if="!isLogin" href="/pay" type="warning" class="ml20" underline style="font-size: 16px;">
+      <el-link v-if="showPay()" href="/pay" type="warning" class="ml20" underline style="font-size: 16px;">
         在线购卡
       </el-link>
     </div>
@@ -69,6 +69,10 @@ export default {
   },
   methods: {
     ...mapActions(['LogOut', 'AccessDeepMenu']),
+    showPay() {
+      return false // 22.11.21 暂不开放
+      // return !this.isLogin
+    },
     handleMenuClick(item) {
       this.AccessDeepMenu(item)
     },