This commit is contained in:
renjianbo0118
2023-05-14 17:28:38 +08:00
parent 548fe4a47b
commit 4679845dcb
15 changed files with 120 additions and 38 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

View File

@@ -108,6 +108,12 @@ Page({
})
},
go_peihu(){
wx.navigateTo({
url: '/pages/peihu/peihu',
})
},
/**
* 医院列表
*/

View File

@@ -36,7 +36,7 @@
<text class="sub-title">全程无忧</text>
</view>
</view>
<view class="main-item">
<view class="main-item" bindtap="go_peihu">
<view>
<image src="../image/home/院内陪护-back.png" mode="aspectFit"></image>
</view>

View File

@@ -49,3 +49,11 @@
</view>
</view>

View File

@@ -6,20 +6,27 @@ Page({
* 页面的初始数据
*/
data: {
//普通选择器:(普通数组)
// array: ['请选择医院', '西京医院', '省人民医院', '红会医院'],
objectArray: [{
text: '请选择医院',
value: 10
},
{
text: '西京医院',
value: 11
},
{
text: '陕西省人民医院',
value: 12
},
{
text: '红会医院',
value: 13
},
],
objectIndex: 0, //默认显示位置
show: true,
actions: [
{
name: '选项',
},
{
name: '选项',
},
{
name: '选项',
subname: '描述信息',
openType: 'share',
},
],
height: '',
seckill_start: '请输入开始日期',
time: 30 * 60 * 60 * 1000,
@@ -44,7 +51,7 @@ Page({
is_ok_click: false,
clock: '',
address: '',
danjia: 0.01,//单位为元
danjia: 0.01, //单位为元
beizhu: ''
},
@@ -108,7 +115,9 @@ Page({
});
},
onClose() {
this.setData({ show: false });
this.setData({
show: false
});
},
onSelect(event) {
@@ -122,22 +131,22 @@ Page({
});
return
}
var that = this;
wx.request({
url: app.globalData.url + '/system/order/insertOrderPz',
data: {
bId: "",//陪护人员id
cId: wx.getStorageSync('uid'),//患者id
yuguMoney: "1",//金额
yuliu9: "2",//订单大类1-陪护 2-陪诊
yuliu10: "1",//订单类型1-全程陪诊2-诊前约号3-送取报告4-待办问诊
bId: "", //陪护人员id
cId: wx.getStorageSync('uid'), //患者id
yuguMoney: "1", //金额
yuliu9: "2", //订单大类1-陪护 2-陪诊
yuliu10: "1", //订单类型1-全程陪诊2-诊前约号3-送取报告4-待办问诊
hospitalId: this.data.item.hospitalId,
startTime: this.data.seckill_start,
yuliu11:"18691577328",//患者电话
yuliu12:"无",//特殊要求
yuliu13:"东泰城市之光",//送达地址
yuliu14:"610526198701180018"//患者身份证号
yuliu11: "18691577328", //患者电话
yuliu12: "无", //特殊要求
yuliu13: "东泰城市之光", //送达地址
yuliu14: "610526198701180018" //患者身份证号
},
method: 'POST',
header: {
@@ -237,7 +246,7 @@ Page({
item: item
});
console.log("进入订单详情的title==" + that.data.item.title)
},
/**
@@ -303,5 +312,34 @@ Page({
login: function (e) {
},
//普通选择器2
bindPickerChange2: function (e) {
console.log('picker发送选择改变携带值为', e.detail.value)
this.setData({
objectIndex: e.detail.value
})
console.log('picker发送选择改变医院的id值为', this.data.objectArray[this.data.objectIndex].value)
},
})
})

View File

@@ -32,17 +32,22 @@
{{"陪护时间选择"}}
</view>
<!--选择器-->
<view class="row-wrap">
<view class="xing" style="color: #FF6E6E;">*</view>
<view class="label">就诊医院</view>
<view class="label" style="margin-left: 33rpx;">就诊医院</view>
<view class="label-right">
<input model:value="{{goods_name}}" name="nickname" class="input" type="text" placeholder="请选择就诊医院" />
<picker bindchange="bindPickerChange2" value="{{objectIndex}}" range="{{objectArray}}" range-key="text">
<view class="picker">
{{objectArray[objectIndex].text}} >
</view>
</picker>
</view>
</view>
<!--end-->
<view class="row-wrap">
<view class="xing" style="color: #FF6E6E;">*</view>
<view class="label">就诊人姓名</view>
@@ -51,7 +56,8 @@
</view>
</view>
<view class="row-wrap">
<view class="label" style="margin-left: 33rpx;">就诊人电话</view>
<view class="xing" style="color: #FF6E6E;">*</view>
<view class="label">就诊人电话</view>
<view class="label-right">
<input model:value="{{original_price}}" name="nickname" class="input" type="text" placeholder="请输入就诊人电话" />
</view>
@@ -100,7 +106,7 @@
<view class="payment">
<view style="line-height: 56rpx;color:#333;">
<text>总计金额:</text>
<text style="font-size:40rpx;color:#FF8F1F;margin-left:20rpx;">{{paymoney}}</text>
<text style="font-size:40rpx;color:#FF8F1F;margin-left:20rpx;">{{item.price}}</text>
<text>元</text>
</view>
<view class="immediately" bindtap="confirm_payy">购买服务</view>
@@ -109,3 +115,16 @@

View File

@@ -401,4 +401,15 @@ image {
height: 100%;
font-size: 28rpx;
padding-right: 30rpx;
}
}
/*选择器 */
.section__title{
margin-bottom: 20rpx;
}
.section{
margin: 50rpx 0;
font-size: 30rpx;
}