uniapp bug修改
parent
a8fdac59f5
commit
855988d631
|
@ -98,15 +98,27 @@
|
||||||
if(res.data.some((item) => !!parseInt(item.isExist))){
|
if(res.data.some((item) => !!parseInt(item.isExist))){
|
||||||
uni.setTabBarItem({
|
uni.setTabBarItem({
|
||||||
index: 2,
|
index: 2,
|
||||||
pagePath: '/pages/member_equity/index'
|
pagePath: '/pages/member_equity/index',
|
||||||
|
visible:true
|
||||||
|
})
|
||||||
|
uni.setTabBarItem({
|
||||||
|
index: 1,
|
||||||
|
pagePath: '/pages/member_application/index',
|
||||||
|
visible:false
|
||||||
})
|
})
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url:'/pages/member_equity/index'
|
url:'/pages/member_equity/index'
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
|
uni.setTabBarItem({
|
||||||
|
index: 1,
|
||||||
|
pagePath: '/pages/member_application/index',
|
||||||
|
visible:true
|
||||||
|
})
|
||||||
uni.setTabBarItem({
|
uni.setTabBarItem({
|
||||||
index: 2,
|
index: 2,
|
||||||
pagePath: '/pages/member_application/index'
|
pagePath: '/pages/member_equity/index',
|
||||||
|
visible:false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.memberData = res.data
|
this.memberData = res.data
|
||||||
|
|
|
@ -81,15 +81,15 @@
|
||||||
list: [
|
list: [
|
||||||
{
|
{
|
||||||
img:'../../static/images/member240.png',
|
img:'../../static/images/member240.png',
|
||||||
name:360
|
name:"360"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
img:'../../static/images/member400.png',
|
img:'../../static/images/member400.png',
|
||||||
name:600
|
name:"600"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
img:'../../static/images/member960.png',
|
img:'../../static/images/member640.png',
|
||||||
name:900
|
name:"960"
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
vipData:['普通会员','中级会员','高级会员'],
|
vipData:['普通会员','中级会员','高级会员'],
|
||||||
|
@ -104,15 +104,27 @@
|
||||||
if(resful.data.some((item) => !!parseInt(item.isExist))){
|
if(resful.data.some((item) => !!parseInt(item.isExist))){
|
||||||
uni.setTabBarItem({
|
uni.setTabBarItem({
|
||||||
index: 2,
|
index: 2,
|
||||||
pagePath: '/pages/member_equity/index'
|
pagePath: '/pages/member_equity/index',
|
||||||
|
visible:true,
|
||||||
|
})
|
||||||
|
uni.setTabBarItem({
|
||||||
|
index: 1,
|
||||||
|
pagePath: '/pages/member_application/index',
|
||||||
|
visible:false,
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
|
uni.setTabBarItem({
|
||||||
|
index: 1,
|
||||||
|
pagePath: '/pages/member_application/index',
|
||||||
|
visible:true,
|
||||||
|
})
|
||||||
uni.setTabBarItem({
|
uni.setTabBarItem({
|
||||||
index: 2,
|
index: 2,
|
||||||
pagePath: '/pages/member_application/index'
|
pagePath: '/pages/member_equity/index',
|
||||||
|
visible:false,
|
||||||
})
|
})
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url:'/pages/member_application/index'
|
url:'/pages/member_application/index',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const res = await memberHeadInfo()
|
const res = await memberHeadInfo()
|
||||||
|
@ -258,7 +270,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-button {
|
.right-button {
|
||||||
border: 1px solid;
|
|
||||||
border-radius: 18rpx;
|
border-radius: 18rpx;
|
||||||
margin-top: 10rpx;
|
margin-top: 10rpx;
|
||||||
padding: 7rpx 16rpx;
|
padding: 7rpx 16rpx;
|
||||||
|
|
Loading…
Reference in New Issue