会员恢复

main
shuxiaoquan 7 months ago
parent afa60c0077
commit bda97bd40a
  1. 6
      pages.json
  2. 12
      pages/goods/detail.vue
  3. 14
      pages/user/index.vue

@ -84,6 +84,12 @@
// "navigationBarTitleText": "会员中心", // "navigationBarTitleText": "会员中心",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
},{
"path": "pages/member/index1",
"style": {
// "navigationBarTitleText": "会员中心",
"navigationStyle": "custom"
}
}, },
{ {
"path": "pages/memberInfo/index", "path": "pages/memberInfo/index",

@ -1011,9 +1011,15 @@
}) })
return; return;
} }
uni.navigateTo({ if(this.userInfo.user_type == 30){
url: '/pages/member/index?type=' + (this.userInfo.user_type != 30 ? 'hy' : 'fx') uni.navigateTo({
}) url: '/pages/member/index?type=fx'
})
}else{
uni.navigateTo({
url: '/pages/member/index1?type=hy'
})
}
}, },
toFuwu() { toFuwu() {
uni.navigateTo({ uni.navigateTo({

@ -765,7 +765,7 @@
// icon: 'none', // icon: 'none',
// duration: 2000 // duration: 2000
// }) // })
this.goJump('/pages/member/index'); this.goJump('/pages/member/index1');
} }
}, },
openScrollTo() { openScrollTo() {
@ -976,9 +976,15 @@
this.goLogin() this.goLogin()
return; return;
} }
uni.navigateTo({ if(type == 'hy'){
url: '/pages/member/index?type=' + type uni.navigateTo({
}) url: '/pages/member/index1?type=' + type
})
}else{
uni.navigateTo({
url: '/pages/member/index?type=' + type
})
}
}, },
goOrder() { goOrder() {
if (this.isLogin == false) { if (this.isLogin == false) {

Loading…
Cancel
Save