|
|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
<template>
|
|
|
|
|
<view class="content">
|
|
|
|
|
<view :class="showPop?'noscroll content':'content'">
|
|
|
|
|
<view class="detailTop">
|
|
|
|
|
<image class="banner" mode="scaleToFill" :src="info.active_playbill || '/static/750x500.jpg'"></image>
|
|
|
|
|
</view>
|
|
|
|
|
@ -228,18 +228,48 @@
|
|
|
|
|
</radio-group>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="formCol">
|
|
|
|
|
<view>宝宝生日/预产期<text style="color:red">*</text></view>
|
|
|
|
|
<view class="formRight">
|
|
|
|
|
<picker mode="date" :value="form.budget_date" @change="bindDateChange">
|
|
|
|
|
<view class="uni-input">{{form.budget_date}}</view>
|
|
|
|
|
</picker>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="formCol">
|
|
|
|
|
<view>所属区域<text style="color:red">*</text></view>
|
|
|
|
|
<view class="formRight">
|
|
|
|
|
<picker :value="rindex" @change="bindRegionChange" :range="arrRegion">
|
|
|
|
|
<view class="uni-input">{{arrRegion[rindex]}}</view>
|
|
|
|
|
</picker>
|
|
|
|
|
<!-- <input type="text" v-if="rindex!=0" v-model="form.address" style="margin-top: 10rpx;"
|
|
|
|
|
placeholder="请输入具体街道/地址"> -->
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="formCol">
|
|
|
|
|
<view>地址<text style="color:red">*</text></view>
|
|
|
|
|
<view class="formRight"><input type="text" v-model="form.address" placeholder="地址"></view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="formCol">
|
|
|
|
|
<view>宝宝生日/预产期<text style="color:red">*</text></view>
|
|
|
|
|
<view>建卡医院<text style="color:red">*</text></view>
|
|
|
|
|
<view class="formRight">
|
|
|
|
|
<picker mode="date" :value="form.budget_date" @change="bindDateChange">
|
|
|
|
|
<view class="uni-input">{{form.budget_date}}</view>
|
|
|
|
|
<picker :value="hindex" @change="bindHospitalChange" :range="arrHospital">
|
|
|
|
|
<view class="uni-input">{{arrHospital[hindex]}}</view>
|
|
|
|
|
</picker>
|
|
|
|
|
|
|
|
|
|
<input type="text" v-if="arrHospital[hindex]=='其他'" v-model="info.hospital"
|
|
|
|
|
style="margin-top: 10rpx;" placeholder="请输入具体建卡医院">
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="formCol">
|
|
|
|
|
<view>备注信息</view>
|
|
|
|
|
<view class="formRight">
|
|
|
|
|
<u-input v-model="form.member_comment" border="true" type="textarea" placeholder="备注信息" />
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
</scroll-view>
|
|
|
|
|
<view class="payBtn" @click="toBuy">立即参加</view>
|
|
|
|
|
</view>
|
|
|
|
|
@ -326,10 +356,16 @@
|
|
|
|
|
budget_date: '',
|
|
|
|
|
address: ''
|
|
|
|
|
},
|
|
|
|
|
isOrder:false,
|
|
|
|
|
isOrderText:"",
|
|
|
|
|
|
|
|
|
|
arrHospital: ["请选择建卡医院", "市立医院", "苏大附一院", "苏大附二院", "中医院", "第五人民医院", "苏州市第七人民医院", "明基医院", "九龙医院", "娄葑医院",
|
|
|
|
|
"吴中人民医院", "甪直人民医院", "相城人民医院", "相城区第二人民医院", "吴江第一人民医院", "吴江第二人民医院", "盛泽医院", "其他"
|
|
|
|
|
],
|
|
|
|
|
arrRegion: ["请选择区域", "吴中区", "吴江区", "姑苏区", "工业园区", "高新区", "相城区", "昆山", "常熟", "张家港", "太仓"],
|
|
|
|
|
rindex: 0,
|
|
|
|
|
hindex: 0,
|
|
|
|
|
|
|
|
|
|
isOrder:false,
|
|
|
|
|
isOrderText:"",
|
|
|
|
|
openid: "",
|
|
|
|
|
showPop: false,
|
|
|
|
|
|
|
|
|
|
@ -503,7 +539,16 @@
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
bindRegionChange: function(e) {
|
|
|
|
|
this.rindex = e.target.value;
|
|
|
|
|
this.form.area = this.arrRegion[e.target.value];
|
|
|
|
|
},
|
|
|
|
|
bindHospitalChange: function(e) {
|
|
|
|
|
this.hindex = e.target.value;
|
|
|
|
|
if (this.arrHospital[e.target.value] != '其他') {
|
|
|
|
|
this.form.hospital = this.arrHospital[e.target.value];
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
getPoster: function() {
|
|
|
|
|
var that = this;
|
|
|
|
|
uni.getImageInfo({
|
|
|
|
|
@ -765,6 +810,14 @@
|
|
|
|
|
this.alert('请输入会员姓名')
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
if (weixin.isNull(this.form.area)) {
|
|
|
|
|
this.alert('请选择区域')
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
if (weixin.isNull(this.form.hospital)) {
|
|
|
|
|
this.alert('请选择建卡医院')
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
if (weixin.isNull(this.form.budget_date)) {
|
|
|
|
|
this.alert('请选择预产日期')
|
|
|
|
|
return
|
|
|
|
|
@ -887,7 +940,10 @@
|
|
|
|
|
button::after {
|
|
|
|
|
border: none
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.noscroll{
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
position: fixed;
|
|
|
|
|
}
|
|
|
|
|
.userBoxBottomPass {
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
|