From 4a2a9ed7b33314ed951585e326715ee8138f53ff Mon Sep 17 00:00:00 2001 From: gyj Date: Wed, 13 Mar 2024 17:19:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=B3=A8=E5=86=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index.vue | 2 +- pages/realName.vue | 14 +++++- pages/register.vue | 47 ++++++++++++------- .../uni-data-select/uni-data-select.vue | 4 +- 4 files changed, 45 insertions(+), 22 deletions(-) diff --git a/pages/index.vue b/pages/index.vue index ea72802..7b81b01 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -54,7 +54,7 @@ {{dataCount.caseApplyEvidence}} - + 待案件质证 diff --git a/pages/realName.vue b/pages/realName.vue index 701d75c..6b57b75 100644 --- a/pages/realName.vue +++ b/pages/realName.vue @@ -1,7 +1,10 @@ @@ -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() { diff --git a/pages/register.vue b/pages/register.vue index d6df5ee..1576382 100644 --- a/pages/register.vue +++ b/pages/register.vue @@ -22,7 +22,7 @@ @@ -116,21 +116,30 @@ import constant from '../utils/constant' nationality: [ { value: 0, text: "国内" }, { value: 1, text: "国外" }, - ], + ], + passportVal:{} } }, created() { this.getCode() }, - onLoad(option) { - let { - params - } = option - // this.improvedetail = JSON.parse(improvedetail) - let paramsObj = JSON.parse(params); - this.registerForm.name = paramsObj.nickName; - this.registerForm.identityNo = paramsObj.idCard - this.registerForm.id = paramsObj.id + 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 + // this.improvedetail = JSON.parse(improvedetail) + let paramsObj = JSON.parse(params); + this.registerForm.name = paramsObj.nickName; + this.registerForm.identityNo = paramsObj.idCard + this.registerForm.id = paramsObj.id + } + }, methods: { // 获取手机验证码 @@ -228,10 +237,7 @@ import constant from '../utils/constant' certificateValue(e){ this.registerForm.idType = e } - }, - onLoad(){ - this.sysType = uni.getStorageSync('sysType'); - } + }, } @@ -244,7 +250,14 @@ 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; diff --git a/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue b/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue index 9b32348..8513e0e 100644 --- a/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue +++ b/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue @@ -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;