Compare commits

..

No commits in common. "3ac953d1859b6146f159dc068b81d6f5e71c7737" and "f507887d1f111aa94c691484d1c43174406c1f22" have entirely different histories.

2 changed files with 4 additions and 31 deletions

View File

@ -327,6 +327,7 @@
title: e title: e
}); });
}) })
}, },
/** /**
* 初始化数据 * 初始化数据

View File

@ -32,9 +32,9 @@
</view> </view>
</view> </view>
<view v-if="ifHasWaiting" class="daiban-box"> <view v-if="ifHasWaiting" class="daiban-box">
<view class="daiban-dom" @click="repay()"> <view class="daiban-dom">
<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>
</view> </view>
</view> </view>
@ -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,34 +205,6 @@
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_msgok
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({