|
|
|
<!--pages/reserve/submit.wxml-->
|
|
|
|
<layout>
|
|
|
|
<nav hasBack>预订详情</nav>
|
|
|
|
<view class="pages bg_white" style="padding-bottom: {{paddingBottom}}px;">
|
|
|
|
<card hasShowStatus hasAddress="{{false}}" bindevent="cardEvent"
|
|
|
|
hasOnlineReserve
|
|
|
|
<page loading="1">
|
|
|
|
<nav hasBack>预订详情</nav>
|
|
|
|
<card bindclick="editorReserve"
|
|
|
|
seller="{{seller}}" detail="{{detail}}">
|
|
|
|
<view slot="opt" class="back flex-rr">
|
|
|
|
<formids
|
|
|
|
id="userinfo-share-{{detail.id}}"
|
|
|
|
bindclick="editorReserve">
|
|
|
|
<view class="opt-button" wx:if="{{seller}}">修改</view>
|
|
|
|
</formids>
|
|
|
|
</view>
|
|
|
|
</card>
|
|
|
|
<view class="userinfo">
|
|
|
|
<view class="userinfo-title flex-lr" catchtap="selectconcat">
|
|
|
|
<view class="flex-ll">
|
|
|
|
<image src="../image/concat.jpg" class="concat-icon"></image>
|
|
|
|
<view class="black-font font36r" style="font-size:36rpx;">选择联系人</view>
|
|
|
|
</view>
|
|
|
|
<view class="click-cover">
|
|
|
|
<image src="../image/click-icon.png"></image>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="item flex-lr">
|
|
|
|
<view class="item-label">姓名</view>
|
|
|
|
<view class="Medium flex-rr">
|
|
|
|
<input class="name input" placeholder="请填写用餐人姓名"
|
|
|
|
<view class="view margin bg-white padding-lr text-df text-666666 userinfo">
|
|
|
|
<view class="view flex align-center justify-between solid-bottom" style="height: 100rpx;">
|
|
|
|
<view>填写信息</view>
|
|
|
|
<view class="text-blue" catchtap="selectconcat">选择预订人</view>
|
|
|
|
</view>
|
|
|
|
<view class="view flex align-center justify-between " style="height: 100rpx;">
|
|
|
|
<image src="http://nosqn.colorcun.com/detail/x%20%2816%29.png" style="width: 40rpx;height: 40rpx;"></image>
|
|
|
|
<view class="view flex-treble flex align-center margin-left-sm solid-bottom" style="height: 100rpx;">
|
|
|
|
<input class="name flex-treble" placeholder="请填写预订人姓名"
|
|
|
|
bindinput="changeInput"
|
|
|
|
data-key="name"
|
|
|
|
value="{{user.name}}"
|
|
|
|
bindkeyboardheightchange="keyboardheightchange"
|
|
|
|
adjust-position="{{false}}"
|
|
|
|
bindkeyboardheightchange="keyboardheightchange"
|
|
|
|
adjust-position="{{false}}"
|
|
|
|
placeholder-class="input-pl" maxlength="10"/>
|
|
|
|
<view class="flex-rr switch">
|
|
|
|
<view
|
|
|
|
bindtap="changeInput"
|
|
|
|
data-key="sex"
|
|
|
|
data-val="1"
|
|
|
|
class="switch-item {{user.sex==1?'checked':''}}">先生</view>
|
|
|
|
<view
|
|
|
|
bindtap="changeInput"
|
|
|
|
data-key="sex"
|
|
|
|
data-val="2"
|
|
|
|
class="switch-item {{user.sex==2?'checked':''}}">女士</view>
|
|
|
|
<view
|
|
|
|
bindtap="changeInput"
|
|
|
|
data-key="sex"
|
|
|
|
data-val="3"
|
|
|
|
class="switch-item {{user.sex==3?'checked':''}}">公司</view>
|
|
|
|
<view class="flex text-30 sex">
|
|
|
|
<view bindtap="changeInput"
|
|
|
|
data-key="sex"
|
|
|
|
data-val="1"
|
|
|
|
class="switch-item text-bold {{user.sex==1?'checked':''}}">先生</view>
|
|
|
|
<view bindtap="changeInput"
|
|
|
|
data-key="sex"
|
|
|
|
data-val="2"
|
|
|
|
class="text-bold margin-left-sm {{user.sex==2?'checked':''}}">女士</view>
|
|
|
|
<view bindtap="changeInput"
|
|
|
|
data-key="sex"
|
|
|
|
data-val="3"
|
|
|
|
class="text-bold margin-left-sm {{user.sex==3?'checked':''}}">公司</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="item flex-lr">
|
|
|
|
<view class="item-label">手机</view>
|
|
|
|
<view class="Medium flex-lr">
|
|
|
|
<input class="phone input" placeholder="请填写联系方式"
|
|
|
|
<view class="view flex align-center justify-between " style="height: 100rpx;">
|
|
|
|
<image src="http://nosqn.colorcun.com/detail/x%20%2817%29.png" style="width: 40rpx;height: 40rpx;"></image>
|
|
|
|
<view class="view flex-treble flex align-center margin-left-sm solid-bottom" style="height: 100rpx;">
|
|
|
|
<input class="phone flex-treble" placeholder="请填写联系方式"
|
|
|
|
bindinput="changeInput"
|
|
|
|
data-key="phone"
|
|
|
|
type="number"
|
|
|
|
value="{{user.phone}}"
|
|
|
|
adjust-position="{{false}}"
|
|
|
|
adjust-position="{{false}}"
|
|
|
|
placeholder-class="input-pl" maxlength="11"/>
|
|
|
|
<view class="flex-rr">
|
|
|
|
<!-- 一键获取 -->
|
|
|
|
<phone bindgetphone="getphone">
|
|
|
|
<view class="smooth white-font get-phone flex-vc" style="font-size:28rpx;">一键录入</view>
|
|
|
|
</phone>
|
|
|
|
<view class="flex text-30">
|
|
|
|
<!--
|
|
|
|
<phone bindgetphone="getphone">
|
|
|
|
<view class="smooth white-font get-phone flex-vc" style="font-size:28rpx;">一键录入</view>
|
|
|
|
</phone>
|
|
|
|
-->
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="view flex align-center justify-between" style="height: 100rpx;">
|
|
|
|
<image src="http://nosqn.colorcun.com/detail/x%20%2818%29.png" style="width: 40rpx;height: 40rpx;"></image>
|
|
|
|
<view bindtap="toremark" class="view flex-treble flex align-center margin-left-sm {{user.remark?'text-black':''}}">
|
|
|
|
{{user.remark && user.remark!='' ? user.remark : '您的备注,我们会尽量安排'}}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="item flex-lr">
|
|
|
|
<view class="item-label" style="margin-left:30rpx;">备注</view>
|
|
|
|
<view class="Medium flex-rr" bindtap="toremark">
|
|
|
|
<!-- <input class="cusdem input" placeholder="您的特殊要求,我们会尽量安排(20字)"
|
|
|
|
bindinput="changeInput"
|
|
|
|
bindblur="keyboardheightchange"
|
|
|
|
bindconfirm="keyboardheightchange"
|
|
|
|
adjust-position="{{false}}"
|
|
|
|
data-key="remark"
|
|
|
|
value="{{user.remark}}"
|
|
|
|
placeholder-class="input-pl" maxlength="25"/> -->
|
|
|
|
<view class="cusdem input {{user.remark && user.remark!='' ? 'black-font' : 'gray-font'}} font-more" data-key="remark" style="width: 496rpx;">{{user.remark && user.remark!='' ? user.remark : '您的特殊要求,我们会尽量安排'}}</view>
|
|
|
|
<view class="click-cover" style="padding-right:30rpx;">
|
|
|
|
<image src="../image/click-icon.png"></image>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<subscribe ids="{{[0,1]}}" bindevent="saved">
|
|
|
|
<view class="share-but">提交预订</view>
|
|
|
|
<view class="view share-but bg-blue-blue round margin-lr-lg flex align-center justify-center">
|
|
|
|
<view class="txt-36-h text-bold">提交预订</view>
|
|
|
|
</view>
|
|
|
|
</subscribe>
|
|
|
|
</view>
|
|
|
|
</layout> |
|
|
\ No newline at end of file |
|
|
|
</page> |
|
|
\ No newline at end of file |
...
|
...
|
|