diff --git a/pages.json b/pages.json index 0944e26..0b09ba3 100644 --- a/pages.json +++ b/pages.json @@ -84,6 +84,12 @@ // "navigationBarTitleText": "会员中心", "navigationStyle": "custom" } + },{ + "path": "pages/member/index1", + "style": { + // "navigationBarTitleText": "会员中心", + "navigationStyle": "custom" + } }, { "path": "pages/memberInfo/index", diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue index 95e89d0..bd49ab6 100644 --- a/pages/goods/detail.vue +++ b/pages/goods/detail.vue @@ -1011,9 +1011,15 @@ }) return; } - uni.navigateTo({ - url: '/pages/member/index?type=' + (this.userInfo.user_type != 30 ? 'hy' : 'fx') - }) + if(this.userInfo.user_type == 30){ + uni.navigateTo({ + url: '/pages/member/index?type=fx' + }) + }else{ + uni.navigateTo({ + url: '/pages/member/index1?type=hy' + }) + } }, toFuwu() { uni.navigateTo({ diff --git a/pages/user/index.vue b/pages/user/index.vue index 925571d..42b5b30 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -765,7 +765,7 @@ // icon: 'none', // duration: 2000 // }) - this.goJump('/pages/member/index'); + this.goJump('/pages/member/index1'); } }, openScrollTo() { @@ -976,9 +976,15 @@ this.goLogin() return; } - uni.navigateTo({ - url: '/pages/member/index?type=' + type - }) + if(type == 'hy'){ + uni.navigateTo({ + url: '/pages/member/index1?type=' + type + }) + }else{ + uni.navigateTo({ + url: '/pages/member/index?type=' + type + }) + } }, goOrder() { if (this.isLogin == false) {