支付宝兼容,排队预约修改,订单逻辑修改
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="list.length <= 0" class="flex-colum">
|
||||
<view v-if="list.length <= 0 && is_end" class="flex-colum">
|
||||
<image style="width: 402rpx;height: 442rpx;margin:240rpx auto 32rpx;" src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/nomore.png" mode="aspectFill"></image>
|
||||
</view>
|
||||
<u-loadmore :status="form.status" iconSize='24' fontSize='24' height='40' />
|
||||
@@ -91,20 +91,28 @@
|
||||
}, 500)
|
||||
}
|
||||
},
|
||||
eeInfo(item) {
|
||||
if ( this.type && this.type == 'user_payCode') {
|
||||
uni.navigateTo({
|
||||
url: '/pages/pay_code/pay_code?shopInfo=' + JSON.stringify(item)
|
||||
})
|
||||
} else if ( this.type && this.type == 'user_recharge') {
|
||||
uni.pro.navigateTo('member/index', {
|
||||
shopId: item.shopId,
|
||||
type: 'index',
|
||||
})
|
||||
} else {
|
||||
uni.pro.navigateTo('member/memberdetails', {
|
||||
shopId_id: item.shopId
|
||||
})
|
||||
async eeInfo(item) {
|
||||
let res = await this.api.shopUserInfo({
|
||||
"shopId": item.shopId,
|
||||
"userId": uni.cache.get('userInfo').id,
|
||||
})
|
||||
if ( res.code == 0 ) {
|
||||
uni.cache.set('shopUserInfo',res.data)
|
||||
uni.cache.set('shopId', item.shopId)
|
||||
if ( this.type && this.type == 'user_payCode') {
|
||||
uni.navigateTo({
|
||||
url: '/pages/pay_code/pay_code?shopInfo=' + JSON.stringify(item)
|
||||
})
|
||||
} else if ( this.type && this.type == 'user_recharge') {
|
||||
uni.pro.navigateTo('member/index', {
|
||||
shopId: item.shopId,
|
||||
type: 'index',
|
||||
})
|
||||
} else {
|
||||
uni.pro.navigateTo('member/memberdetails', {
|
||||
shopId_id: item.shopId
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user