Compare commits

..

2 Commits

Author SHA1 Message Date
wk 6a8b1e4f10 Merge branch 'main' of http://dns.chenzhao.date:3000/wangke/consumer-app 2026-03-09 16:53:31 +08:00
wk d6a892fe6e fix:注释恢复 2026-03-09 16:53:29 +08:00
2 changed files with 44 additions and 44 deletions

86
App.vue
View File

@ -35,52 +35,52 @@
console.log(options) console.log(options)
// 2. scene '1038' // 2. scene '1038'
// if (options.scene === 1038 && if (options.scene === 1038 &&
// options.referrerInfo?.appId === 'wxef277996acc166c3') { options.referrerInfo?.appId === 'wxef277996acc166c3') {
// // //
// const extraData = options.referrerInfo.extraData; const extraData = options.referrerInfo.extraData;
// console.log("extraData",extraData) console.log("extraData",extraData)
// if (!extraData) { if (!extraData) {
// uni.showToast({ uni.showToast({
// title: '', title: '当前通过物理按键返回,未接收到返参,建议自行查询交易结果',
// icon: 'none', icon: 'none',
// duration: 3000 duration: 3000
// }); });
// } else { } else {
// if (extraData.code === 'success') { if (extraData.code === 'success') {
// // //
// // 1. 使 // 1. 使
// const orderNumberFromExtra = const orderNumberFromExtra =
// extraData.orderNumber || extraData.reqsn || extraData.orderNo; extraData.orderNumber || extraData.reqsn || extraData.orderNo;
// // 2. 使 // 2. 使
// const storedOrderNumber = uni.getStorageSync("lastOrderNumber"); const storedOrderNumber = uni.getStorageSync("lastOrderNumber");
// const orderNumber = orderNumberFromExtra || storedOrderNumber; const orderNumber = orderNumberFromExtra || storedOrderNumber;
// if (orderNumber) { if (orderNumber) {
// this.startOrderStatusPolling(orderNumber); this.startOrderStatusPolling(orderNumber);
// } else { } else {
// uni.showToast({ uni.showToast({
// title: '', title: '支付返回缺少订单号,请稍后在服务记录中查看',
// icon: 'none', icon: 'none',
// duration: 3000 duration: 3000
// }); });
// } }
// } else if (extraData.code === 'cancel') { } else if (extraData.code === 'cancel') {
// uni.showToast({ uni.showToast({
// title: '', title: '支付已取消',
// icon: 'none' icon: 'none'
// }); });
// } else { } else {
// uni.showToast({ uni.showToast({
// title: `${extraData.errmsg || ''}`, title: `支付失败:${extraData.errmsg || '未知错误'}`,
// icon: 'none', icon: 'none',
// duration: 3000 duration: 3000
// }); });
// } }
// } }
// } }
}, },
onHide: function() { onHide: function() {
console.log('App Hide') console.log('App Hide')

View File

@ -1002,7 +1002,7 @@ export default {
.poster-tag { .poster-tag {
position: absolute; position: absolute;
top: 28rpx; top: 28rpx;
right: 96rpx; left: 28rpx;
padding: 8rpx 20rpx; padding: 8rpx 20rpx;
background: #f5f5f5; background: #f5f5f5;
border-radius: 8rpx; border-radius: 8rpx;