<template>
|
<view>
|
<view class="">
|
<image class="edu-icon" src="/static/imgs/edu.png" ></image>
|
<view class="edu-desc">额度授信中</view>
|
<view class="edu-desc">我们正在加急为您审核,请耐心等待</view>
|
<image class="edu-loading" src="/static/imgs/loading.gif" ></image>
|
<view class="edu-over" @tap="$util.goSwitch('/pages/index/index')">认证完成</view>
|
</view>
|
<!--uni-popup ref="popup" type="center" :is-mask-click="false">
|
<view class="popup-content">
|
<image class="edu-close" v-if="delFlag" src="/static/imgs/delete.png" @tap="popClose"></image>
|
<image class="edu-icon-1" src="/static/imgs/edu_1.png" ></image>
|
<view class="edu-view">
|
<view class="edu-view-desc">未匹配到合适的资金方</view>
|
<image class="edu-icon-2" src="/static/imgs/edu_2.png" ></image>
|
<image class="edu-icon-3" src="/static/imgs/edu_3.png" ></image>
|
<view class="edu-check">
|
<image src="/static/imgs/checked.png" ></image>
|
<view class="">
|
我已阅读并同意
|
<text @tap="agreeDialog1">《会服务协议》</text>
|
<text @tap="agreeDialog2">《委托扣款确认书》</text>,
|
理解并接受相关条款并同意自动续费。
|
</view>
|
|
</view>
|
<view style="text-align: center;padding-bottom: 20rpx;color: cornflowerblue;" @tap="$util.goPages('/pages/equity/equity')">查看详情>>></view>
|
</view>
|
<view class="edu-btn" @tap="buyEquity">
|
<image src="/static/imgs/edu_4.png" ></image>
|
</view>
|
</view>
|
</uni-popup-->
|
|
<agreePup ref="agreePup1" :gp="4" title="会员服务协议"></agreePup>
|
<agreePup ref="agreePup2" :gp="5" title="委托扣款确认书"></agreePup>
|
</view>
|
</template>
|
|
<script>
|
import agreePup from "@/components/agreePup/agreePup";
|
export default {
|
data() {
|
return {
|
userInfo: null,
|
config: null,
|
delFlag: false,
|
}
|
},
|
onLoad() {
|
//this.getUserInfo()
|
},
|
methods: {
|
getUserInfo () {
|
let t = this
|
t.$util.post('User/getUser').then(res => {
|
t.userInfo = res.data
|
})
|
},
|
agreeDialog1 (e) {
|
this.$refs.agreePup1.dialog = !this.$refs.agreePup1.dialog
|
},
|
agreeDialog2 (e) {
|
this.$refs.agreePup2.dialog = !this.$refs.agreePup2.dialog
|
},
|
popClose () {
|
this.$refs.popup.close()
|
},
|
buyEquity () {
|
let t = this
|
t.$util.post('Equity/createOrder').then(res => {
|
if(res.code == 1) {
|
uni.showToast({
|
title: res.msg || '购买成功',
|
icon: 'success'
|
})
|
t.$refs.popup.close()
|
t.$refs.popup2.open()
|
} else {
|
uni.showToast({
|
title: res.msg || '操作失败',
|
icon: 'error'
|
})
|
}
|
})
|
}
|
}
|
}
|
</script>
|
|
<style>
|
@import url(/static/css/edu.css);
|
</style>
|