| | |
| | | </view> |
| | | </view> |
| | | <view class="total"> |
| | | <view class=""> |
| | | <!-- <view class=""> |
| | | <text>加工费:</text> |
| | | <text class="red total-price">{{rateTotal}}</text> |
| | | <text class="cny">元</text> |
| | | </view> |
| | | </view> --> |
| | | <view class=""> |
| | | <text>合计:</text> |
| | | <text class="red total-price">{{payTotal}}</text> |
| | |
| | | <view class="payment"> |
| | | <view class="p-title"> |
| | | <text>付款方式</text> |
| | | <view class="" v-if="payment == 1 && userInfo.edu_auth == 1" @tap="getPayTask">查看还款计划</view> |
| | | <!-- <view class="" v-if="payment == 1 && userInfo.edu_auth == 1" @tap="getPayTask">查看还款计划</view> --> |
| | | </view> |
| | | <view class="pay-li"> |
| | | <view class="pay-item" @tap="choosePayment(1)" v-if="Config && Config.edu_open == 1 && isFenqi == 1"> |
| | | <!-- <view class="pay-item" @tap="choosePayment(1)" v-if="Config && Config.edu_open == 1 && isFenqi == 1"> |
| | | <image class="pay-icon" src="/static/imgs/edupay.png" mode=""></image> |
| | | <text v-if="userInfo">余额支付(可用余额:{{userInfo.const}})</text> |
| | | <image class="rgt" :src="payment == 1 ? '/static/imgs/checked.png' : '/static/imgs/check.png'" mode=""></image> |
| | | </view> |
| | | </view> --> |
| | | <view class="pay-item" @tap="choosePayment(2)"> |
| | | <image class="pay-icon" src="/static/imgs/wxpay.png" mode=""></image> |
| | | <text>微信支付</text> |
| | | <image class="pay-icon" src="/static/imgs/alipay.png" mode=""></image> |
| | | <text>支付宝支付</text> |
| | | <image class="rgt" :src="payment == 2 ? '/static/imgs/checked.png' : '/static/imgs/check.png'" mode=""></image> |
| | | </view> |
| | | <view class="pay-item"> |
| | | <!-- <view class="pay-item"> |
| | | <image class="pay-icon" src="/static/imgs/bankpay.png" mode=""></image> |
| | | <view @tap="chooseBank"> |
| | | <text>银行卡支付</text> |
| | |
| | | <text v-else>(请选择银行卡 》》)</text> |
| | | </view> |
| | | <image class="rgt" :src="payment == 3 ? '/static/imgs/checked.png' : '/static/imgs/check.png'" mode="" @tap="choosePayment(3)"></image> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | </view> |
| | | <view class="authBtn-desc" v-if="userInfo && payment == 1 && userInfo.edu_auth == 1"> |
| | |
| | | }) |
| | | } |
| | | this.getEsignStatus() |
| | | /* |
| | | if(this.esignFlag == 0 && this.Config.esign_open == 1) { |
| | | return uni.showToast({ |
| | | title: '请签署购货协议', |
| | | icon: 'error' |
| | | }) |
| | | } |
| | | */ |
| | | } |
| | | |
| | | let param = {} |
| | |
| | | t.$util.goPages('/pages/order/order') |
| | | }, 1500) |
| | | } else if(t.payment == 2) { |
| | | /* |
| | | uni.requestPayment({ |
| | | "provider": "wxpay", |
| | | "orderInfo": res.data, |
| | |
| | | }, 1000) |
| | | } |
| | | }) |
| | | */ |
| | | this.$util.goPages('/pages/web/index?title=支付宝在线交易&webUel=' + encodeURI(res.data.url)) |
| | | } else if(t.payment == 3) { |
| | | uni.showToast({ |
| | | title: res.msg || '操作成功', |