Merge branch 'gyj' of SH-Arbitrate/miniapp into dev

This commit was merged in pull request #47.
This commit is contained in:
2024-03-13 17:22:26 +08:00
committed by Gitea
4 changed files with 45 additions and 22 deletions
+1 -1
View File
@@ -54,7 +54,7 @@
<view class="badge">{{dataCount.caseApplyEvidence}}</view>
<view class="cardMain">
</view>
<view class="cardMain">
<view class="cardMain" style="margin-top: 75rpx;">
<view class="imgTitle">待案件质证</view>
</view>
</view>
+12 -2
View File
@@ -1,7 +1,10 @@
<template>
<view class="page-body">
<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>
</template>
@@ -17,7 +20,8 @@
export default{
data(){
return{
eidToken: ""
eidToken: "",
vals:1
}
},
methods:{
@@ -58,6 +62,12 @@
})
},
});
},
// 点击护照注册
handlePassport(){
uni.navigateTo({
url: `/pages/register?valus=${this.vals}`
});
}
},
onLoad() {
+18 -5
View File
@@ -22,7 +22,7 @@
</view>
<view class="input-item flex align-center">
<uni-data-select
style="text-align: left;"
style="text-align: left;width: 200px;"
v-model="registerForm.idType"
:localdata="certificate"
@change="certificateValue"
@@ -30,7 +30,7 @@
</view>
<view class="input-item flex align-center">
<uni-data-select
style="text-align: left;"
style="text-align: left;width: 200px;"
v-model="registerForm.nationality"
:localdata="nationality"
></uni-data-select>
@@ -117,12 +117,19 @@ import constant from '../utils/constant'
{ value: 0, text: "国内" },
{ value: 1, text: "国外" },
],
passportVal:{}
}
},
created() {
this.getCode()
},
onLoad(option) {
this.sysType = uni.getStorageSync('sysType');
// this.passportVal = option;
if(option.valus==1){
this.registerForm.idType =1
this.registerForm.nationality =1
}else{
let {
params
} = option
@@ -131,6 +138,8 @@ import constant from '../utils/constant'
this.registerForm.name = paramsObj.nickName;
this.registerForm.identityNo = paramsObj.idCard
this.registerForm.id = paramsObj.id
}
},
methods: {
// 获取手机验证码
@@ -229,9 +238,6 @@ import constant from '../utils/constant'
this.registerForm.idType = e
}
},
onLoad(){
this.sysType = uni.getStorageSync('sysType');
}
}
</script>
@@ -245,6 +251,13 @@ import constant from '../utils/constant'
::v-deep .uni-icons[data-v-a2e81f6e]{
display: none;
}
.uni-icons{
display: none;
}
// ::v-deep .uni-select{
// border: none;
// width: 200%;
// }
.normal-login-container {
width: 100%;
background-color: #ffffff;
@@ -348,7 +348,7 @@
.uni-select {
font-size: 14px;
border: 1px solid $uni-border-3;
// border: 1px solid $uni-border-3;
box-sizing: border-box;
border-radius: 4px;
padding: 0 5px;
@@ -360,7 +360,7 @@
/* #endif */
flex-direction: row;
align-items: center;
border-bottom: solid 1px $uni-border-3;
// border-bottom: solid 1px $uni-border-3;
width: 100%;
flex: 1;
height: 35px;