Browse Source

身份认证页面2

master
chenkun 11 months ago
parent
commit
e440b76e85
6 changed files with 150 additions and 10 deletions
  1. +19
    -0
      pages.json
  2. +0
    -1
      pages/mine/addBankCard.vue
  3. +22
    -0
      pages/mine/authFirm.vue
  4. +3
    -3
      pages/mine/authOption.vue
  5. +88
    -0
      pages/mine/authPerson.vue
  6. +18
    -6
      pages/mine/certifiedIndividual.vue

+ 19
- 0
pages.json View File

@ -155,6 +155,25 @@
}
}
,{
"path" : "pages/mine/authPerson",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,
{
"path" : "pages/mine/authFirm",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",


+ 0
- 1
pages/mine/addBankCard.vue View File

@ -4,7 +4,6 @@
<navbar leftClick @leftClick="$utils.navigateBack" title="添加银行卡"/>
<!--添加银行卡页面-->
<view class="container">
<view class="header">
<text>为保证您的资金安全请绑定账户本人的银行卡</text>


+ 22
- 0
pages/mine/authFirm.vue View File

@ -0,0 +1,22 @@
<template>
<view>
企业认证
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>

+ 3
- 3
pages/mine/authOption.vue View File

@ -30,13 +30,13 @@ export default {
},
methods: {
personAuth() {
this.$utils.navigateTo('/mine/certifiedIndividual')
this.$utils.navigateTo('/mine/certifiedIndividual?type=person')
},
firmAuth() {
this.$utils.navigateTo('/mine/enterpriseCertification')
this.$utils.navigateTo('/mine/certifiedIndividual?type=firm')
},
},
}
}
</script>


+ 88
- 0
pages/mine/authPerson.vue View File

@ -0,0 +1,88 @@
<template>
<view class="auth-person">
<!--顶部导航栏-->
<navbar leftClick @leftClick="$utils.navigateBack" title="身份认证"/>
<!--身份信息页面-->
<view class="container">
<view class="form-item">
<view class="label">姓名</view>
<view class="input">{{ name }}</view>
</view>
<uv-divider :hairline="false" lineColor="#c0c0c0" dot></uv-divider>
<view class="form-item">
<view class="label">身份证号</view>
<view class="input">{{ idCard }}</view>
</view>
<uv-divider :hairline="false" lineColor="#c0c0c0" dot></uv-divider>
</view>
<!--下一步按钮-->
<button @click="onNextClick" class="bottomBtn">
立即认证
</button>
</view>
</template>
<script>
import '../../common.css'; // CSS
export default {
data() {
return {
name: 'xiaohua',
idCard: '2101472154874512'
}
},
methods: {
onCameraClick() {
//
},
onNextClick() {
this.$utils.navigateTo("/mine/purse");
}
}
}
</script>
<style scoped lang="scss">
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
.auth-person {
.container {
padding: 100rpx 50rpx 50rpx 50rpx;
//border: 1px solid red;
.header {
margin-bottom: 40rpx;
font-size: 28rpx;
color: #666;
}
.form-item {
margin-bottom: 40rpx;
.label {
font-size: 36rpx;
margin-bottom: 10px;
display: block;
}
.input {
width: 100vw;
font-size: 38rpx;
margin-top: 40rpx;
}
}
}
}
</style>

+ 18
- 6
pages/mine/certifiedIndividual.vue View File

@ -22,12 +22,12 @@
</view>
</view>
<!--立即上传按钮-->
<!--立即认证按钮-->
<view @click="nowAuth" class="bottomBtn">
立即认证
</view>
<!--立即上传按钮-->
<!--人脸识别服务协议-->
<view class="agree">
<uv-checkbox-group v-model="checkboxValue" placement="column" size="35"
activeColor="#008000" inactiveColor="#999999">
@ -42,15 +42,27 @@
<script>
export default {
onLoad: function (options) {
console.log(options,"options")
// id
this.type = options.type;
console.log('this.type :', this.type);
// ...
},
data() {
return {
checkboxValue: '香蕉',
labelValue: '' // labelValue
labelValue: '', // labelValue
type: '',
};
},
methods: {
nowAuth() {
if (this.type=="person"){
this.$utils.navigateTo('/mine/authPerson')
}else if (this.type=="firm"){
this.$utils.navigateTo('/mine/authFirm')
}
}
}
}
@ -104,7 +116,7 @@ export default {
color: #FFFFFF;
text-align: center;
border: 1px solid red;
//border: 1px solid red;
background: $uni-linear-gradient-color;
-webkit-background-clip: text; /*将设置的背景颜色限制在文字中*/
-webkit-text-fill-color: transparent; /*给文字设置成透明*/
@ -115,7 +127,7 @@ export default {
bottom: 7%;
display: flex;
padding-left: 20rpx;
border: 1px solid red;
//border: 1px solid red;
}
}
</style>

Loading…
Cancel
Save