支付页面

This commit is contained in:
魏啾
2024-07-19 09:36:27 +08:00
parent a011e72584
commit c79a74d43f
10 changed files with 1054 additions and 18 deletions

View File

@@ -30,10 +30,11 @@
</view>
</view>
</view>
<image style="margin:32rpx auto;" src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/nomore.png"
v-if="is_end" mode="aspectFill"></image>
<u-loadmore :status="form.status" loadmore-text="下拉加载更多" @loadmore="loadmorelang" fontSize="28"
color="#999" iconSize="28" />
</view>
<image style="margin:32rpx auto;" src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/nomore.png"
v-if="is_end" mode="aspectFill"></image>
<u-loadmore :status="form.status" fontSize="28" color="#999" iconSize="28" />
</scroll-view>
<!-- <image style="margin:32rpx auto;" src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/nomore.png"
v-if="is_end" mode="aspectFill"></image>
@@ -206,6 +207,7 @@
}, 200)
},
methods: {
handleScroll(e) {
console.log(e.detail.scrollTop)
},
@@ -279,7 +281,7 @@
if (res.data.pageNum >= res.data.pages) {
this.form.status = 'nomore';
} else {
this.form.status = 'loading';
this.form.status = 'loadmore';
}
}, 500)
}
@@ -315,17 +317,19 @@
signType: res.data.signType, //固定值
paySign: res.data.paySign, //签名
success: (res) => {
this.showpopup = false
uni.showToast({
title: "支付成功"
})
setTimeout(res => {
this.showpopup = false
uni.hideLoading()
this.init_fn()
uni.navigateTo({
url: '/pages/chooseasong/record?shopId=' + this.shopId
})
// uni.switchTab({
// url: '/pages/order/order'
// });
}, 500)
}, 1000)
},
fail: (err) => {
uni.showToast({
@@ -424,7 +428,7 @@
}
.contentclass {
padding: 0rpx 28rpx 166rpx 28rpx;
padding: 0rpx 28rpx 215rpx 28rpx;
overflow: auto;
.contentclassbox {