2023/5/23调试医院列表

This commit is contained in:
2023-05-27 22:34:57 +08:00
parent 7883c121bc
commit 4e567309fd
4 changed files with 33 additions and 5 deletions

View File

@@ -30,7 +30,7 @@
<view style="display: flex; flex-direction:row;align-items : flex-end;">
<view class="title1">{{item.nickName}}</view>
<view class="title2">{{"陪护"}}</view>
<view class="title2">{{"陪护"}}</view>
<view wx:if="{{item.sex==1}}" class="title3">{{"男"}}</view>
<view wx:if="{{item.sex==0}}" class="title3">{{"女"}}</view>
<view class="title4">{{item.experience}}经验</view>

View File

@@ -164,6 +164,14 @@ Page({
onSelect(event) {
console.log(event.detail);
},
isPhone(value) {
if (!/^1(3|4|5|7|8)\d{9}$/.test(value)) {
return false
} else {
return true
}
},
payment() {
if (this.data.objectIndex == 0) {
@@ -173,6 +181,24 @@ Page({
});
return
}
if (this.data.jzphone == '') {
wx.showToast({
title: '请输入就诊人电话',
icon: 'none'
});
return
}
var regtel = new RegExp('(^1[3|4|5|7|8][0-9]{9}$)', 'g');
if (!regtel.exec(this.data.jzphone )) {
wx.showToast({
title: '手机号码格式不正确!',
icon: 'none'
});
return
}
if (this.data.seckill_start == "请输入开始日期") {
wx.showToast({
title: '请输入开始日期',

View File

@@ -102,7 +102,9 @@
</view>
</view>
<view style="font-size: 28rpx;color: #999999;margin-top:40rpx;margin-left: 40rpx;margin-right: 20rpx;">
计费说明:陪同客户完成当天全部的诊疗流程,服务按次收费。
</view>
<view class="payment">

View File

@@ -11,7 +11,7 @@
<view class="content">
<view style="display: flex; flex-direction:row;align-items : flex-end;">
<view class="title1">{{item.nickName}}</view>
<view class="title2">{{"陪员"}}</view>
<view class="title2">{{"陪员"}}</view>
<view wx:if="{{item.sex==1}}" class="title3">{{"男"}}</view>
<view wx:if="{{item.sex==0}}" class="title3">{{"女"}}</view>
<view class="title4">{{item.experience}}经验</view>
@@ -74,8 +74,8 @@
</view>
</view>
<view style="font-size: 32rpx;color: #999999;margin-top:40rpx;margin-left: 40rpx;margin-right: 20rpx;">
计费说明:计费说明计费说明计费说明计费说明计费说明计费说明计费说明
<view style="font-size: 26rpx;color: #999999;margin-top:40rpx;margin-left: 40rpx;margin-right: 20rpx;">
计费说明:一小时50元,服务时间上午8:30-12:30下午14:00-18:00
</view>