From 3bc087412709ac9a54dbe426b71f511ae2fd4d65 Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Wed, 20 Dec 2023 10:14:14 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E7=A7=81=E6=8E=88=E6=9D=83=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E4=BB=A5=E5=8F=8A=E8=B5=84=E6=A0=BC=E8=AF=81=E8=87=B3?= =?UTF-8?q?=E5=B0=91=E4=B8=A4=E5=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Pages/index/index.js | 3 ++ Pages/index/index.json | 1 + Pages/index/index.wxml | 44 +++++++++++++++++++++++++--- Pages/index/index.wxss | 53 +++++++++++++++++++++++++++++++++- Pages/login/index.js | 5 +++- Pages/login/index.json | 1 + Pages/login/index.wxml | 44 +++++++++++++++++++++++++--- Pages/login/index.wxss | 50 ++++++++++++++++++++++++++++++++ commpents/myprofile/index.js | 1 + commpents/myprofile/index.wxml | 2 +- 10 files changed, 193 insertions(+), 11 deletions(-) diff --git a/Pages/index/index.js b/Pages/index/index.js index f6259dd..241d5e6 100644 --- a/Pages/index/index.js +++ b/Pages/index/index.js @@ -20,6 +20,9 @@ Page({ static_host: api.getStaticHost() }, onConfirmEntry(){ + this.setData({ + showEntryTip:false + }) //wx.setStorageSync('hasEntry', true); }, onCloseEntry(){ diff --git a/Pages/index/index.json b/Pages/index/index.json index 40f6b9e..6d4b887 100644 --- a/Pages/index/index.json +++ b/Pages/index/index.json @@ -2,6 +2,7 @@ "component": true, "usingComponents": { "t-image": "tdesign-miniprogram/image/image", + "van-overlay": "@vant/weapp/overlay/index", "van-dialog": "@vant/weapp/dialog/index" } } \ No newline at end of file diff --git a/Pages/index/index.wxml b/Pages/index/index.wxml index 5954550..a17efb6 100644 --- a/Pages/index/index.wxml +++ b/Pages/index/index.wxml @@ -28,7 +28,26 @@ - + + + 温馨提示 + + 亲爱的用户,感谢您信任并使用肝胆相照互联网医院医师端!我们依据最新法律法规的要求,制定了《隐私协议》。请您仔细阅《隐私协议》,并确认了解我们对您的个人信息处理原则。 +如您同意《隐私协议》,请点击“同意”开始使用我们的产品和服务。 + + + 不同意 + + + + + + + + + + + 温馨提示 + + 很抱歉,如您不同意《隐私协议》,可能无法继续正常使用我们的服务,请您先同意哦~ + + + 不同意 + + + + + + diff --git a/Pages/index/index.wxss b/Pages/index/index.wxss index 44d680b..8243d7c 100644 --- a/Pages/index/index.wxss +++ b/Pages/index/index.wxss @@ -30,4 +30,55 @@ } .navigator{ color:#3CC7C0 -} \ No newline at end of file +} + + +.wrapper { + display: flex; + align-items: center; + justify-content: center; + height: 100%; + +} +.privacyBox { + width:90%; + background-color: #fff; + border-radius: 30rpx; +} +.privacyBox .title{ + margin: 0; + text-align: center; + font-weight: 500; + line-height:24px; + padding-top:24px; + text-align: center; + font-size:16px; +} +.btnbox{ + display: flex; + align-items: center; + border-top:1rpx solid #efefef; + width:100%; + font-size: 17px; +} +.btnbox .cancel{ + flex:1; + height: 50px; + display: flex; + justify-content: center; + align-items: center; +} +.btnbox .confirm{ + margin: 0; + height: 50px; + padding: 0; + color: #3CC7C0; + flex:1; + font-size: 17px; + border: none!important; + border-left:1rpx solid #efefef!important; + display: flex; + background-color: none!important; + justify-content: center; + align-items: center; +} diff --git a/Pages/login/index.js b/Pages/login/index.js index 76e3fcb..f1346cc 100644 --- a/Pages/login/index.js +++ b/Pages/login/index.js @@ -88,6 +88,9 @@ Page({ wx.navigateBack() }, onConfirmEntry(){ + this.setData({ + showEntryTip:false + }) // wx.setStorageSync('hasEntry', true); }, onCloseEntry(){ @@ -99,7 +102,7 @@ Page({ onConfirmEntry_second(){ this.setData({ showEntryTip_second:false, - // showEntryTip:false, + //showEntryTip:false, }); //wx.setStorageSync('hasEntry', true); diff --git a/Pages/login/index.json b/Pages/login/index.json index 41e6df9..769981a 100644 --- a/Pages/login/index.json +++ b/Pages/login/index.json @@ -3,6 +3,7 @@ "van-button": "@vant/weapp/button/index", "van-image": "@vant/weapp/image/index", "van-checkbox": "@vant/weapp/checkbox/index", + "van-overlay": "@vant/weapp/overlay/index", "van-dialog": "@vant/weapp/dialog/index", "van-checkbox-group": "@vant/weapp/checkbox-group/index" } diff --git a/Pages/login/index.wxml b/Pages/login/index.wxml index d9e0cc7..6b0c493 100644 --- a/Pages/login/index.wxml +++ b/Pages/login/index.wxml @@ -40,7 +40,25 @@ - + + + 温馨提示 + + 亲爱的用户,感谢您信任并使用肝胆相照互联网医院医师端!我们依据最新法律法规的要求,制定了《隐私协议》。请您仔细阅《隐私协议》,并确认了解我们对您的个人信息处理原则。 +如您同意《隐私协议》,请点击“同意”开始使用我们的产品和服务。 + + + 不同意 + + + + + + + + + + + 温馨提示 + + 很抱歉,如您不同意《隐私协议》,可能无法继续正常使用我们的服务,请您先同意哦~ + + + 不同意 + + + + + + \ No newline at end of file diff --git a/Pages/login/index.wxss b/Pages/login/index.wxss index 326efc0..24e7881 100644 --- a/Pages/login/index.wxss +++ b/Pages/login/index.wxss @@ -90,3 +90,53 @@ .navigator{ color:#3CC7C0 } +.wrapper { + display: flex; + align-items: center; + justify-content: center; + height: 100%; + +} +.privacyBox { + width:90%; + background-color: #fff; + border-radius: 30rpx; +} +.privacyBox .title{ + margin: 0; + text-align: center; + font-weight: 500; + line-height:24px; + padding-top:24px; + text-align: center; + font-size:16px; +} +.btnbox{ + display: flex; + align-items: center; + border-top:1rpx solid #efefef; + width:100%; + font-size: 17px; +} +.btnbox .cancel{ + flex:1; + height: 50px; + display: flex; + justify-content: center; + align-items: center; +} +.btnbox .confirm{ + margin: 0; + height: 50px; + padding: 0; + color: #3CC7C0; + flex:1; + font-size: 17px; + border: none!important; + border-left:1rpx solid #efefef!important; + display: flex; + background-color: none!important; + justify-content: center; + align-items: center; +} + diff --git a/commpents/myprofile/index.js b/commpents/myprofile/index.js index 9c7bd62..edafc53 100644 --- a/commpents/myprofile/index.js +++ b/commpents/myprofile/index.js @@ -803,6 +803,7 @@ Component({ if(this.data.zhiye_file_list.length < 2){wx.showToast({title: '医师执业证至少2张',icon: "error"});return} params.license_cert = this.data.zhiye_file_list.map(e => e.url);//医师执业证 if(this.data.zige_file_list.length == 0){wx.showToast({title: '请上传医师资格证',icon: "error"});return} + if(this.data.zige_file_list.length<2){wx.showToast({title: '医师资格证至少2张',icon: "error"});return} params.qualification_cert = this.data.zige_file_list.map(e => e.url);//医生资格证 if(this.data.zhicheng_file_list.length == 0){wx.showToast({title: '请上传职称证',icon: "error"});return} params.work_cert = this.data.zhicheng_file_list.map(e => e.url);//工作证,职称证 diff --git a/commpents/myprofile/index.wxml b/commpents/myprofile/index.wxml index caf5e1c..874f6fe 100644 --- a/commpents/myprofile/index.wxml +++ b/commpents/myprofile/index.wxml @@ -324,7 +324,7 @@ bindUploadFile="doUploadFile" bindDeleteFile="doDeleteFile" bind:showNote="onshowZiGeNote" - upload_cell_desc="请提供清晰的资格证书原件照片,照片需包含证书编号、加盖钢印的证书照片、姓名等信息,最少上传1张。" + upload_cell_desc="请提供清晰的资格证书原件照片,照片需包含证书编号、加盖钢印的证书照片、姓名等信息,最少上传2张。" upload_cell_note="查看示例" upload_cell_note_show="{{!(indentity && iden_auth_disabled)}}" deletable="{{!(indentity && iden_auth_disabled)}}"