|
|
@@ -38,13 +38,13 @@
|
|
|
<image @click="disabled ? '' : addImages(3)" v-else :src="form.selfIdentityCard" style="width: 100%; height: 320rpx"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="padding bg-white radius margin-top">
|
|
|
+ <!-- <view class="padding bg-white radius margin-top">
|
|
|
<view class="text-bold">缴纳保证金</view>
|
|
|
<view class="flex justify-between margin-top-sm">
|
|
|
<view class="text-gray">满足订单量及好评率即可申请退还保证金</view>
|
|
|
<view class="text-bold" style="color: #ff6a04">¥{{ money }}</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view class="padding margin-top footer text-xxl">
|
|
|
<text @tap="isShowAgree" class="cuIcon" :class="showAgree ? 'cuIcon-radiobox' : 'cuIcon-round'">同意并接受</text>
|
|
|
<!-- 协议地址 -->
|
|
|
@@ -53,10 +53,10 @@
|
|
|
<view style="height: 120rpx"></view>
|
|
|
</view>
|
|
|
<view class="bg-white flex justify-between align-center padding-lr" style="position: fixed; bottom: 0; width: 100%; height: 120rpx">
|
|
|
- <view class="">
|
|
|
+ <!-- <view class="">
|
|
|
<text class="text-lg text-bold text-black">支付:</text>
|
|
|
<text class="text-red">¥{{ money }}</text>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view>
|
|
|
<u-button v-if="!disabled" @click="submit" class="" :custom-style="customStyle" shape="circle" :hair-line="false">提交认证</u-button>
|
|
|
</view>
|
|
|
@@ -298,30 +298,39 @@ export default {
|
|
|
// #ifdef MP-WEIXIN
|
|
|
that.$Request.postJson('/app/wxPayErrRider/wxPayJsApiRiderCertification/3', that.form).then((res) => {
|
|
|
if (res.code == 0) {
|
|
|
- uni.requestPayment({
|
|
|
- provider: 'wxpay',
|
|
|
- timeStamp: res.data.timestamp,
|
|
|
- nonceStr: res.data.noncestr,
|
|
|
- package: res.data.package,
|
|
|
- signType: res.data.signType,
|
|
|
- paySign: res.data.sign,
|
|
|
- success: function (res) {
|
|
|
- console.log('实名' + res)
|
|
|
- uni.hideLoading()
|
|
|
- uni.showToast({
|
|
|
- title: '实名认证提交成功',
|
|
|
- icon: 'none'
|
|
|
- })
|
|
|
- setTimeout(function () {
|
|
|
- uni.navigateBack(1)
|
|
|
- }, 1000)
|
|
|
- },
|
|
|
- fail: function (err) {
|
|
|
- console.log('fail:' + JSON.stringify(err))
|
|
|
- uni.hideLoading()
|
|
|
- that.$queue.showToast('支付失败')
|
|
|
- }
|
|
|
+ console.log(that.form,'实名' + res)
|
|
|
+ uni.hideLoading()
|
|
|
+ uni.showToast({
|
|
|
+ title: '实名认证提交成功',
|
|
|
+ icon: 'none'
|
|
|
})
|
|
|
+ setTimeout(function () {
|
|
|
+ uni.navigateBack(1)
|
|
|
+ }, 1000)
|
|
|
+ // uni.requestPayment({
|
|
|
+ // provider: 'wxpay',
|
|
|
+ // timeStamp: res.data.timestamp,
|
|
|
+ // nonceStr: res.data.noncestr,
|
|
|
+ // package: res.data.package,
|
|
|
+ // signType: res.data.signType,
|
|
|
+ // paySign: res.data.sign,
|
|
|
+ // success: function (res) {
|
|
|
+ // console.log('实名' + res)
|
|
|
+ // uni.hideLoading()
|
|
|
+ // uni.showToast({
|
|
|
+ // title: '实名认证提交成功',
|
|
|
+ // icon: 'none'
|
|
|
+ // })
|
|
|
+ // setTimeout(function () {
|
|
|
+ // uni.navigateBack(1)
|
|
|
+ // }, 1000)
|
|
|
+ // },
|
|
|
+ // fail: function (err) {
|
|
|
+ // console.log('fail:' + JSON.stringify(err))
|
|
|
+ // uni.hideLoading()
|
|
|
+ // that.$queue.showToast('支付失败')
|
|
|
+ // }
|
|
|
+ // })
|
|
|
} else {
|
|
|
uni.showToast({
|
|
|
title: res.msg,
|