Browse Source

绑定医生二次确认弹窗

dev
kola-web 2 months ago
parent
commit
ee2c0fc59d
  1. 50
      src/module1/pages/setApplicationDoctor/index.scss
  2. 2
      src/module1/pages/setApplicationDoctor/index.ts
  3. 14
      src/module1/pages/setApplicationDoctor/index.wxml

50
src/module1/pages/setApplicationDoctor/index.scss

@ -206,3 +206,53 @@ page {
} }
} }
} }
.popup1 {
width: 580rpx;
.badge {
position: relative;
z-index: 1;
display: block;
margin: 0 auto;
width: 152rpx;
height: 152rpx;
}
.p-container {
margin-top: -72rpx;
padding: 88rpx 0 0;
background-color: #fff;
border-radius: 16rpx;
text-align: center;
.title {
font-size: 36rpx;
color: #1d2129;
font-weight: bold;
}
.content {
padding: 0 52rpx;
margin-top: 24rpx;
font-size: 32rpx;
color: #858585;
line-height: 44rpx;
}
.footer {
margin-top: 48rpx;
display: flex;
align-items: center;
justify-content: space-between;
border-top: 1px solid #e0e0e0;
.cancel,
.ok {
flex: 1;
padding: 18rpx;
font-size: 32rpx;
line-height: 52rpx;
color: #141515;
}
.ok {
border-left: 1px solid #e0e0e0;
color: #00b4c5;
}
}
}
}

2
src/module1/pages/setApplicationDoctor/index.ts

@ -42,6 +42,8 @@ Page({
params: {}, params: {},
caseId: "", caseId: "",
show: false,
}, },
onLoad(options) { onLoad(options) {
if (options.hid) { if (options.hid) {

14
src/module1/pages/setApplicationDoctor/index.wxml

@ -96,3 +96,17 @@
params="{{popupDoctorDetail}}" params="{{popupDoctorDetail}}"
bind:close="handlePopupClose" bind:close="handlePopupClose"
></popupDoctorDetail> ></popupDoctorDetail>
<van-popup show="{{ show }}" bind:close="onClose" custom-style="background:transparent">
<view class="popup1">
<image class="badge" src="{{imageUrl}}icon-reject.png?t={{Timestamp}}" mode="aspectFit"></image>
<view class="p-container">
<view class="title">该医生驳回过您的申请</view>
<view class="content">您选择的医生有驳回记录, 驳回3次后您将无法再次申请绑定此医生</view>
<view class="footer">
<view class="cancel" bind:tap="handleOk">取消申请</view>
<view class="ok" bind:tap="handleCancel">继续申请</view>
</view>
</view>
</view>
</van-popup>

Loading…
Cancel
Save