ann0707
2018-08-16 c9bc8ec61cff4076132f6396d99d383a2cdf5a03
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<template>
    <div class="registrationProblem-page">
        <x-header :left-options="{backText: ''}">{{headText}}</x-header>
        <!--显示注册问题-->
        <ul>
            <router-link tag="li" :to="'/f-question/'+i.questionId" v-for="(i,index) in  resultArrs" :key="index">
                <span></span>
                <span>{{i.title}}</span>
            </router-link>
        </ul>
        <!--<group class="registration-group">-->
        <!--<cell title="联系客服"  is-link></cell>-->
        <!--</group>-->
    </div>
</template>
<script>
    /**
     * Created by z.x.q on 2018/3/22.
     * 我的--帮助中心--注册问题
     */
    import {Badge, Group, Calendar, Cell, XHeader} from 'vux'
    export default {
        name: 'f-registration-problem',
        components: {
            Badge,
            Group,
            Cell,
            Calendar,
            XHeader
        },
        data(){
            return {
                headText: null,
                showQuestion: false,
                showSQuestion: false,
                showHQuestion: false,
                showFQuestion: false,
                resultArrs: [],
//           实名认证问题title
                regItems: [
                    {
                        title: "1.什么是实名认证?", questionId: 10005
                    },
                    {
                        title: "2.为什么要实名认证?", questionId: 10006
                    },
                    {
                        title: "3.如何实名认证?", questionId: 10007
                    },
                    {
                        title: "4.忘记登录密码如何找回?", questionId: 10008
                    }
                ],
//           申请问题
                ApyItems: [
                    {
                        title: "1.我能贷多少?", questionId: 10010
                    },
                    {
                        title: "2.什么是个人征信?", questionId: 10011
                    },
                    {
                        title: "3.哪些行为会影响个人信用记录?", questionId: 10012
                    },
                    {
                        title: "4.征信差对贷款有什么影响?", questionId: 10013
                    },
                    {
                        title: "5.征信不好如何贷款呢?", questionId: 10014
                    },
                    {
                        title: "6.选填资料如果不填写,会不会对申请贷款有影响?", questionId: 10015
                    },
                    {
                        title: "7.如何提高贷款成功率/提高额度?", questionId: 10016
                    }
                ],
//           放款问题
                loanItems: [
                    {
                        title: "1.审核时,会给我填的联系人打电话吗?", questionId: 10017
                    },
                    {
                        title: "2.申请之后多久可以知道审核结果?", questionId: 10018
                    },
                    {
                        title: "3.为什么我的贷款申请被拒?", questionId: 10019
                    },
                    {
                        title: "4.申请通过后,钱多久可以到账?", questionId: 10020
                    },
                    {
                        title: "5.审批不通过下一次还能申请借款吗?", questionId: 10021
                    },
                    {
                        title: "6.申请金额及期限与审批不符?", questionId: 10022
                    }
                ],
//           放款问题
                repItems: [
                    {
                        title: "1.提前还款利息怎么计算?", questionId: 10023
                    },
                    {
                        title: "2.逾期还款会有什么影响?", questionId: 10024
                    },
                    {
                        title: "3.防骗指南", questionId: 10025
                    }
                ]
            }
        },
        activated () {
            this.$store.commit('UPDATE_DIRECTION', {direction: 'in'});
            this.resultArrs = [];
            let _type = this.$route.query.typeId;
            if (_type == 1) {
                this.headText = '注册问题';
                this.resultArrs = JSON.parse(JSON.stringify(this.regItems));
            } else if (_type == 2) {
                this.headText = '申请问题';
                this.resultArrs = JSON.parse(JSON.stringify(this.ApyItems));
            } else if (_type == 3) {
                this.headText = '放款问题';
                this.resultArrs = JSON.parse(JSON.stringify(this.loanItems));
            } else if (_type == 4) {
                this.headText = '还款问题';
                this.resultArrs = JSON.parse(JSON.stringify(this.repItems));
            }
        },
        deactivated () {
            this.$store.commit('UPDATE_DIRECTION', {direction: 'out'});
        }
    }
</script>
 
<style lang="less">
    @import "../../../style/mixin";
 
    .registrationProblem-page {
        background-color: @color-background-default;
        .vux-header {
            .color-linear-gradient(@color-primary-light, @color-primary, 90deg);
            .vux-header-title {
                font-size: 18px;
            }
            .vux-header-left {
                .left-arrow:before {
                    border: solid 1px @color-white;
                    border-width: 2px 0 0 2px;
                }
 
            }
        }
        ul {
            background-color: #ffffff;
            margin-top: 10PX;
            li {
                color: @color-text-primary;
                height: 42px;
                line-height: 42px;
                margin-left: 12px;
                list-style: disc;
                font-size: @font-size-medium;
                border-bottom: solid 1px @color-divider-regular;
                &:last-child {
                    border-bottom: none;
                }
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
 
                span {
                    &:first-child {
                        display: inline-block;
                        width: 6px;
                        height: 6px;
                        background-color: @color-primary;
                        border-radius: 50%;
                        margin: 0 10px;
                        vertical-align: middle;
                    }
                    &:last-child {
                        font-size: @font-size-medium;
                    }
 
                }
            }
 
        }
        .registration-group {
            .weui-cells {
                margin-top: 10px;
                font-size: @font-size-medium;
            }
        }
 
    }
</style>