cshenfu
2023-05-26 5d3b2ffa8e1dc1e1cce3e05b2131516bcde0f6bd
change vip page
2个文件已修改
11 ■■■■■ 已修改文件
pages/mine/mine.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/vip/vip.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/mine/mine.vue
@@ -161,7 +161,8 @@
                if (/MicroMessenger/i.test(navigator.userAgent)) {
                    platform = 'gzh';
                }else{
                    if (!this.userInfo.token) {
                    // 如果不是微信浏览器环境,则显示退出登陆的按钮
                    if (!this.userInfo.token) { //判断是否有用户登陆来进行退出登陆的显示与隐藏
                        this.isPC = false
                    }else{
                        this.isPC = true
@@ -169,7 +170,8 @@
                    
                }
                // #endif
                return (platform == 'gzh' && this.$store.state.config.wxGzhPay == 1) || (platform == 'wxmp' && this.$store.state.config.mpPay == 1)
                return (!!this.userInfo.token)
                // return (platform == 'gzh' && this.$store.state.config.wxGzhPay == 1) || (platform == 'wxmp' && this.$store.state.config.mpPay == 1)
            },
            ...mapState(['userInfo', 'num', 'config','tabbar'])
        },
pages/vip/vip.vue
@@ -173,6 +173,11 @@
                            })
                            console.log('pay rr')
                        })
                    }else{
                        uni.showToast({
                            title: 'PC端用户支付!',
                            icon: "error"
                        })
                    }
                    // #endif
                    // #ifdef MP-WEIXIN