小程序注册添加字段
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@
|
|||||||
<view class="badge">{{dataCount.caseApplyEvidence}}</view>
|
<view class="badge">{{dataCount.caseApplyEvidence}}</view>
|
||||||
<view class="cardMain">
|
<view class="cardMain">
|
||||||
</view>
|
</view>
|
||||||
<view class="cardMain">
|
<view class="cardMain" style="margin-top: 75rpx;">
|
||||||
<view class="imgTitle">待案件质证</view>
|
<view class="imgTitle">待案件质证</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
+12
-2
@@ -1,7 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="page-body">
|
<view class="page-body">
|
||||||
<view class="action-btn">
|
<view class="action-btn">
|
||||||
<button @click="handleRegister()" class="register-btn cu-btn block bg-blue lg round">点击进行实名认证</button>
|
<button @click="handleRegister()" class="register-btn cu-btn block bg-blue lg round">点击身份证实名认证</button>
|
||||||
|
</view>
|
||||||
|
<view class="action-btn">
|
||||||
|
<button @click="handlePassport()" class="register-btn cu-btn block bg-blue lg round">点击护照实名注册</button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -17,7 +20,8 @@
|
|||||||
export default{
|
export default{
|
||||||
data(){
|
data(){
|
||||||
return{
|
return{
|
||||||
eidToken: ""
|
eidToken: "",
|
||||||
|
vals:1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
@@ -58,6 +62,12 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
// 点击护照注册
|
||||||
|
handlePassport(){
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/pages/register?valus=${this.vals}`
|
||||||
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
|||||||
+18
-5
@@ -22,7 +22,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="input-item flex align-center">
|
<view class="input-item flex align-center">
|
||||||
<uni-data-select
|
<uni-data-select
|
||||||
style="text-align: left;"
|
style="text-align: left;width: 200px;"
|
||||||
v-model="registerForm.idType"
|
v-model="registerForm.idType"
|
||||||
:localdata="certificate"
|
:localdata="certificate"
|
||||||
@change="certificateValue"
|
@change="certificateValue"
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="input-item flex align-center">
|
<view class="input-item flex align-center">
|
||||||
<uni-data-select
|
<uni-data-select
|
||||||
style="text-align: left;"
|
style="text-align: left;width: 200px;"
|
||||||
v-model="registerForm.nationality"
|
v-model="registerForm.nationality"
|
||||||
:localdata="nationality"
|
:localdata="nationality"
|
||||||
></uni-data-select>
|
></uni-data-select>
|
||||||
@@ -117,12 +117,19 @@ import constant from '../utils/constant'
|
|||||||
{ value: 0, text: "国内" },
|
{ value: 0, text: "国内" },
|
||||||
{ value: 1, text: "国外" },
|
{ value: 1, text: "国外" },
|
||||||
],
|
],
|
||||||
|
passportVal:{}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getCode()
|
this.getCode()
|
||||||
},
|
},
|
||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
|
this.sysType = uni.getStorageSync('sysType');
|
||||||
|
// this.passportVal = option;
|
||||||
|
if(option.valus==1){
|
||||||
|
this.registerForm.idType =1
|
||||||
|
this.registerForm.nationality =1
|
||||||
|
}else{
|
||||||
let {
|
let {
|
||||||
params
|
params
|
||||||
} = option
|
} = option
|
||||||
@@ -131,6 +138,8 @@ import constant from '../utils/constant'
|
|||||||
this.registerForm.name = paramsObj.nickName;
|
this.registerForm.name = paramsObj.nickName;
|
||||||
this.registerForm.identityNo = paramsObj.idCard
|
this.registerForm.identityNo = paramsObj.idCard
|
||||||
this.registerForm.id = paramsObj.id
|
this.registerForm.id = paramsObj.id
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 获取手机验证码
|
// 获取手机验证码
|
||||||
@@ -229,9 +238,6 @@ import constant from '../utils/constant'
|
|||||||
this.registerForm.idType = e
|
this.registerForm.idType = e
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(){
|
|
||||||
this.sysType = uni.getStorageSync('sysType');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -245,6 +251,13 @@ import constant from '../utils/constant'
|
|||||||
::v-deep .uni-icons[data-v-a2e81f6e]{
|
::v-deep .uni-icons[data-v-a2e81f6e]{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
.uni-icons{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
// ::v-deep .uni-select{
|
||||||
|
// border: none;
|
||||||
|
// width: 200%;
|
||||||
|
// }
|
||||||
.normal-login-container {
|
.normal-login-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
|
|||||||
@@ -348,7 +348,7 @@
|
|||||||
|
|
||||||
.uni-select {
|
.uni-select {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
border: 1px solid $uni-border-3;
|
// border: 1px solid $uni-border-3;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
@@ -360,7 +360,7 @@
|
|||||||
/* #endif */
|
/* #endif */
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-bottom: solid 1px $uni-border-3;
|
// border-bottom: solid 1px $uni-border-3;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
height: 35px;
|
height: 35px;
|
||||||
|
|||||||
Reference in New Issue
Block a user