<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>
|