yypz.wxml 6.7 KB

1
  1. <view class="content"><block wx:if="{{!show}}"><view class="top"><image class="top-bg" src="../../static/img/dbbg.png" mode></image></view></block><scroll-view class="scrollList" style="{{'height:'+(height)+';'}}" scroll-y="true"><view class="main"><view class="info-item flex"><view class="info-left">陪诊类型</view><view class="info-right"><picker value="{{index}}" range="{{pzTypelist}}" range-key="name" data-event-opts="{{[['change',[['bindPickerType',['$event']]]]]}}" bindchange="__e"><view>{{pzType.name}}</view></picker></view></view><view class="info-item flex"><view class="info-left">基础费用</view><view class="info-right">{{"¥"+pzType.price}}</view></view><block wx:if="{{cardprice>0}}"><view class="info-item flex"><view class="info-left">优惠卡优惠</view><view class="info-right">{{"-¥"+cardprice}}</view></view></block><view class="info-item flex"><view class="info-left">预约日期</view><view class="info-right"><picker class="box-right" mode="date" start="{{startDate}}" end="{{endDate}}" value="{{date}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e"><view>{{date}}</view></picker></view></view><view class="info-item flex"><view class="info-left">预约时间</view><view class="info-right"><picker class="box-right" mode="time" value="{{time}}" data-event-opts="{{[['change',[['bindTimeChange',['$event']]]]]}}" bindchange="__e"><view>{{time}}</view></picker></view></view><view class="info-item flex"><view class="info-left">姓名</view><view class="info-right"><input class="list-input" type="text" placeholder="请填写姓名" data-event-opts="{{[['input',[['__set_model',['','name','$event',[]]]]]]}}" value="{{name}}" bindinput="__e"/></view></view><view class="info-item flex"><view class="info-left">年龄</view><view class="info-right"><input class="list-input" type="number" placeholder="请填写年龄" data-event-opts="{{[['input',[['__set_model',['','age','$event',[]]]]]]}}" value="{{age}}" bindinput="__e"/></view></view><view class="info-item flex"><view class="info-left">性别</view><view class="info-right"><picker value="{{index}}" range="{{array}}" data-event-opts="{{[['change',[['bindPickerSex',['$event']]]]]}}" bindchange="__e"><view>{{sex}}</view></picker></view></view><view class="info-item flex"><view class="info-left">联系电话</view><view class="info-right"><input class="list-input" type="number" placeholder="请填写联系电话" data-event-opts="{{[['input',[['__set_model',['','phone','$event',[]]]]]]}}" value="{{phone}}" bindinput="__e"/></view></view><view data-event-opts="{{[['tap',[['showPicker',['region']]]]]}}" class="info-item flex" bindtap="__e"><text class="info-left">陪诊地区</text><view class="info-right">{{addr?addr:'请选择省市区'}}</view></view><w-picker class="vue-ref" vue-id="2a0ed306-1" mode="region" value="{{defaultRegion}}" default-type="value" data-ref="region" data-event-opts="{{[['^confirm',[['onConfirm',['$event','region']]]],['^cancel',[['handleCancel']]]]}}" bind:confirm="__e" bind:cancel="__e" bind:__l="__l"></w-picker><view data-event-opts="{{[['tap',[['Toshow',['$event']]]]]}}" class="info-item flex" bindtap="__e"><view class="info-left">陪诊医院</view><view class="info-right">{{hospital||'请选择医院名称'}}</view></view><zhilin-picker vue-id="2a0ed306-2" title="{{title}}" data="{{list}}" initSelected="{{initSelected}}" showSearch="{{true}}" value="{{show}}" data-event-opts="{{[['^change',[['onChange']]],['^searchInput',[['onSearchInput']]],['^confirm',[['onConfirm1']]],['^shua',[['shua']]],['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:change="__e" bind:searchInput="__e" bind:confirm="__e" bind:shua="__e" bind:input="__e" bind:__l="__l"></zhilin-picker><view class="info-item flex"><view class="info-left">紧急联系人姓名</view><view class="info-right"><input class="list-input" type="text" placeholder="请填写紧急联系人姓名" data-event-opts="{{[['input',[['__set_model',['','jjname','$event',[]]]]]]}}" value="{{jjname}}" bindinput="__e"/></view></view><view class="info-item flex"><view class="info-left">紧急联系人电话</view><view class="info-right"><input class="list-input" type="number" placeholder="请填写紧急联系人电话" data-event-opts="{{[['input',[['__set_model',['','jjphone','$event',[]]]]]]}}" value="{{jjphone}}" bindinput="__e"/></view></view><view class="info-type"><view class="info-type-title flex"><view>服务项目<text class="info-type-tip">(可多选)</text></view><view data-event-opts="{{[['tap',[['navto',['/pages/index/info?id=5']]]]]}}" class="info-type-title-right" bindtap="__e"><view class="info-type-title-right-font">查看详情</view><image class="info-type-title-right-icon" src="../../static/icon/jt.png" mode></image></view></view><view class="info-type-main"><block wx:for="{{typelist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['choose',['$0'],[[['typelist','',index]]]]]]]}}" class="{{['info-type-main-item',(item.chose==2)?'current':'']}}" bindtap="__e">{{''+item.name+''}}<text>{{"¥"+item.price}}</text></view></block></view></view><block wx:if="{{type==2}}"><view class="info-item flex"><text class="info-left">上门接送地址</text><view class="info-right"><picker-address class="input" bind:change="__e" vue-id="2a0ed306-3" data-event-opts="{{[['^change',[['onCityClick']]]]}}" bind:__l="__l" vue-slots="{{['default']}}">{{(addressDetail||'请选择地址')+''}}</picker-address></view></view></block><block wx:if="{{type==2}}"><view class="info-item flex"><view class="info-left">详细地址</view><view class="info-right"><input class="list-input" type="text" placeholder="请填写详细地址" data-event-opts="{{[['input',[['__set_model',['','addressD','$event',[]]]]]]}}" value="{{addressD}}" bindinput="__e"/></view></view></block></view><view class="info-bz"><view class="info-type-title">备注说明<text class="info-type-tip">(选填)</text></view><textarea class="text-box" name id cols="30" rows="10" data-event-opts="{{[['input',[['__set_model',['','remarks','$event',[]]]]]]}}" value="{{remarks}}" bindinput="__e"></textarea></view></scroll-view><view data-event-opts="{{[['tap',[['buy']]]]}}" class="btn" bindtap="__e">{{"立即下单(¥"+$root.g0*1+")"}}</view><uni-popup class="vue-ref" vue-id="2a0ed306-4" type="center" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-box"><view class="img"><image src="../../static/img/popup.png" mode></image></view><view class="mian"><view class="title">暂不提供跨区域接送服务</view><view class="nocancel">您所在的地区与医院所在地区不符合请重新填写</view><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="comfirm-box" bindtap="__e">知道了</view></view></view></uni-popup></view>