UI
叶富雄
2026-03-14 7b6cd92eba556e29d8d3f949335c1d9593484158
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<template>
    <view>
        <view class="">
            <image class="edu-icon" src="/static/imgs/edu.png" mode=""></image>
            <view class="edu-desc">额度授信中</view>
            <view class="edu-desc">我们正在加急为您审核,请耐心等待</view>
            <image class="edu-loading" src="/static/imgs/loading.gif" mode=""></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" mode="" @tap="popClose"></image>
                <image class="edu-icon-1" src="/static/imgs/edu_1.png" mode=""></image>
                <view class="edu-view">
                    <view class="edu-view-desc">未匹配到合适的资金方</view>
                    <image class="edu-icon-2" src="/static/imgs/edu_2.png" mode=""></image>
                    <image class="edu-icon-3" src="/static/imgs/edu_3.png" mode=""></image>
                    <view class="edu-check">
                        <image src="/static/imgs/checked.png" mode=""></image>
                        <view class="">
                            我已阅读并同意
                            <text @tap="agreeDialog1">《会服务协议》</text>
                            <text @tap="agreeDialog2">《委托扣款确认书》</text>,
                            理解并接受相关条款并同意自动续费。
                        </view>
                        
                    </view>
                    <view style="text-align: center;padding-bottom: 20upx;color: cornflowerblue;" @tap="$util.goPages('/pages/equity/equity')">查看详情>>></view>
                </view>
                <view class="edu-btn" @tap="buyEquity">
                    <image src="/static/imgs/edu_4.png" mode=""></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>