Compare commits
2 Commits
f507887d1f
...
3ac953d185
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ac953d185 | ||
|
|
dfd4308b9f |
@ -327,7 +327,6 @@
|
|||||||
title: e
|
title: e
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 初始化数据
|
* 初始化数据
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="ifHasWaiting" class="daiban-box">
|
<view v-if="ifHasWaiting" class="daiban-box">
|
||||||
<view class="daiban-dom">
|
<view class="daiban-dom" @click="repay()">
|
||||||
<uni-icons type="chat-filled" size="18" style="padding-right: 10rpx;"></uni-icons>
|
<uni-icons type="chat-filled" size="18" style="padding-right: 10rpx;"></uni-icons>
|
||||||
您有一笔<text>{{ wayOrder.points }}</text>积分的提现订单,请及时处理
|
您有一笔<text>{{ wayOrder.points }}</text>积分的提现订单,请及时处理
|
||||||
<uni-icons type="right" size="18" style="padding-left: 10rpx;"></uni-icons>
|
<uni-icons type="right" size="18" style="padding-left: 10rpx;"></uni-icons>
|
||||||
@ -157,7 +157,7 @@
|
|||||||
this.ifHasWaiting = true
|
this.ifHasWaiting = true
|
||||||
} else {
|
} else {
|
||||||
this.wayOrder = null
|
this.wayOrder = null
|
||||||
// this.ifHasWaiting = false
|
this.ifHasWaiting = false
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.ifHasWaiting = false
|
this.ifHasWaiting = false
|
||||||
@ -205,6 +205,34 @@
|
|||||||
this.$refs.inputDialog.open()
|
this.$refs.inputDialog.open()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
repay(){
|
||||||
|
// 关闭窗口后,恢复默认内容
|
||||||
|
entPay(this.wayOrder.orderNo).then(payS => {
|
||||||
|
uni.hideLoading()
|
||||||
|
if (wx.canIUse('requestMerchantTransfer')) {
|
||||||
|
wx.requestMerchantTransfer({
|
||||||
|
mchId: payS.config.mchId,
|
||||||
|
appId: payS.config.appId,
|
||||||
|
package: payS.runData.packageInfo,
|
||||||
|
success: (res) => {
|
||||||
|
// res.err_msg将在页面展示成功后返回应用时返回ok,并不代表付款成功
|
||||||
|
console.log('success:', res);
|
||||||
|
this.initWayOrder()
|
||||||
|
this.initData()
|
||||||
|
},
|
||||||
|
fail: (res) => {
|
||||||
|
console.log('fail:', res);
|
||||||
|
},
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
wx.showModal({
|
||||||
|
content: '你的微信版本过低,请更新至最新版本。',
|
||||||
|
showCancel: false,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
dialogInputConfirm(val) {
|
dialogInputConfirm(val) {
|
||||||
if (val) {
|
if (val) {
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user