uniapp 支付回调处理
parent
d75d571637
commit
c4a02b30ba
|
@ -31,15 +31,14 @@
|
|||
id: 0
|
||||
},
|
||||
onLaunch: function(option) {
|
||||
const res = memberGradeInfo().then((res) =>{
|
||||
if(res.data.some((item) => !!parseInt(item.isExist))){
|
||||
uni.setTabBarItem({
|
||||
index: 2,
|
||||
text: 'text',
|
||||
pagePath: '/pages/member_equity/index'
|
||||
})
|
||||
}
|
||||
})
|
||||
// const res = memberGradeInfo().then((res) =>{
|
||||
// if(res.data.some((item) => !!parseInt(item.isExist))){
|
||||
// uni.setTabBarItem({
|
||||
// index: 2,
|
||||
// pagePath: '/pages/member_equity/index'
|
||||
// })
|
||||
// }
|
||||
// })
|
||||
|
||||
let that = this;
|
||||
// #ifdef H5
|
||||
|
|
|
@ -88,9 +88,10 @@
|
|||
},
|
||||
function(res) {
|
||||
if (res.err_msg == "get_brand_wcpay_request:ok") {
|
||||
uni.switchTab({
|
||||
url: '/pages/member_application/index'
|
||||
})
|
||||
window.location.reload()
|
||||
// uni.switchTab({
|
||||
// url: '/pages/member_application/index'
|
||||
// })
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
@ -101,6 +101,15 @@
|
|||
},
|
||||
async onLoad() {
|
||||
const res = await memberGradeInfo()
|
||||
if(res.data.some((item) => !!parseInt(item.isExist))){
|
||||
uni.setTabBarItem({
|
||||
index: 2,
|
||||
pagePath: '/pages/member_equity/index'
|
||||
})
|
||||
uni.switchTab({
|
||||
url:'/pages/member_equity/index'
|
||||
})
|
||||
}
|
||||
this.memberData = res.data
|
||||
},
|
||||
methods: {
|
||||
|
@ -235,13 +244,12 @@
|
|||
|
||||
.box-title {
|
||||
position: absolute;
|
||||
top: -5.5%;
|
||||
top: -37rpx;
|
||||
left: -203rpx;
|
||||
margin-left: 50%;
|
||||
|
||||
image {
|
||||
width: 406rpx;
|
||||
height: 87rpx;
|
||||
height: 88rpx;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -399,13 +407,13 @@
|
|||
|
||||
.box-title {
|
||||
position: absolute;
|
||||
top: -9%;
|
||||
top: -37rpx;
|
||||
left: -203rpx;
|
||||
margin-left: 50%;
|
||||
|
||||
image {
|
||||
width: 406rpx;
|
||||
height: 87rpx;
|
||||
height: 88rpx;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
@ -247,13 +247,13 @@
|
|||
|
||||
.box-title {
|
||||
position: absolute;
|
||||
top: -5.5%;
|
||||
top: -37rpx;
|
||||
left: -203rpx;
|
||||
margin-left: 50%;
|
||||
|
||||
image {
|
||||
width: 406rpx;
|
||||
height: 87rpx;
|
||||
height: 88rpx;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
}
|
||||
})
|
||||
this.memberData = arr
|
||||
console.log(this.memberData)
|
||||
},
|
||||
watch:{
|
||||
keyword :Debounce (function (){
|
||||
|
|
|
@ -223,13 +223,13 @@ import store from '@/store/index';
|
|||
|
||||
.box-title {
|
||||
position: absolute;
|
||||
top: -5.5%;
|
||||
top: -37rpx;
|
||||
left: -203rpx;
|
||||
margin-left: 50%;
|
||||
|
||||
image {
|
||||
width: 406rpx;
|
||||
height: 87rpx;
|
||||
height: 88rpx;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
Loading…
Reference in New Issue