This commit is contained in:
haomingming
2023-03-31 17:24:25 +08:00
parent 52742fdbd9
commit df9a526b7b
12 changed files with 97 additions and 28 deletions
+14 -1
View File
@@ -14,7 +14,8 @@ Page({
sign_image: [],
btn_txt: "提交",
multi_point_status: "",
btn_disabled: true
btn_disabled: true,
sfz_show: false
},
onLoad(){
@@ -237,9 +238,21 @@ Page({
},
onshowIdCardFrontNote(){
console.log("onshowIdCardFrontNote");
this.setData({
sfz_show: true
})
},
onshowIdCardBackNote(){
console.log("onshowIdCardBackNote");
this.setData({
sfz_show: true
})
},
onsfzClose(){
console.log("onsfzClose");
this.setData({
sfz_show: false
})
},
go(e){
// if(this.data.btn_disabled){
+3 -1
View File
@@ -7,6 +7,8 @@
"van-cell": "@vant/weapp/cell/index",
"van-cell-group": "@vant/weapp/cell-group/index",
"van-divider": "@vant/weapp/divider/index",
"van-button": "@vant/weapp/button/index"
"van-button": "@vant/weapp/button/index",
"van-popup": "@vant/weapp/popup/index",
"van-image": "@vant/weapp/image/index"
}
}
+20
View File
@@ -74,4 +74,24 @@
</view>
<view style="height: 50rpx;"></view>
</van-cell-group>
<van-popup
show="{{ sfz_show }}"
closeable
round
lock-scroll
position="bottom"
bind:close="onsfzClose"
>
<view class="zhiye_popup">
<view class="zhiye_popup_title">身份证示例</view>
<view class="zhiye_popup_img">
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/cert/sfz1.png" />
</view>
<view class="zhiye_popup_img">
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/cert/sfz2.png" />
</view>
</view>
</van-popup>
</view>
+16
View File
@@ -38,4 +38,20 @@
display: flex;
justify-content: center;
align-items: center;
}
.zhiye_popup{
display: flex;
flex-direction: column;
align-items: center;
padding-bottom: 20rpx;
min-height: 550rpx;
}
.zhiye_popup_title{
margin-top: 16px;
font-size: 32rpx;
font-weight: 600;
letter-spacing: 5rpx;
}
.zhiye_popup_img{
margin-top: 30rpx;
}