优化
This commit is contained in:
@@ -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){
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user