submit.wxml 4.21 KB
<!--pages/reserve/submit.wxml-->
<page loading="{{loading}}">
    <nav hasBack>预订详情</nav>
    <view>
        <card seller="{{seller}}" detail="{{detail}}"></card>
    </view>

    <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 class="font28r">填写信息</view>
            <view class="textColor" catchtap="selectconcat">
                <image src="https://qn.colorcun.com/liaisonIcon.png" mode=""/>
            选择预订人</view>
        </view>
        <view class="view flex align-center justify-between solid-bottom" style="height: 100rpx;">
           <view class="title font28r">预订人</view>
            <view class="view flex-treble flex align-center margin-left-lg" style="height: 100rpx;">
                <input class="name flex-treble" placeholder="请填写预订人姓名"
                       bindinput="changeInput"
                       data-key="name"
                       value="{{user.name}}"
                       bindkeyboardheightchange="keyboardheightchange"
                       adjust-position="{{false}}"
                       placeholder-class="input-pl" maxlength="10"/>
                    <picker bindchange="changeInput" data-key="sex" value="{{activeSex}}" range="{{array}}">
                        <view class="pickerBox font28r">
                            {{array[activeSex]}}
                            <image src="https://qn.colorcun.com/arrowBottom.png" mode=""/>
                        </view>
                    </picker>      
                <!-- <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="view flex align-center justify-between solid-bottom" style="height: 100rpx;">
           <view class="title font28r">电话</view>
            <view class="view flex-treble flex align-center margin-left-lg" style="height: 100rpx;">
                <input class="phone flex-treble" placeholder="请填写联系方式"
                       bindinput="changeInput"
                       data-key="phone"
                       type="number"
                       value="{{user.phone}}"
                       adjust-position="{{false}}"
                       placeholder-class="input-pl" maxlength="11"/>
                <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-start justify-between" style="height: 100rpx;">
           <view class="title font28r">备注</view>
            <view bindtap="toremark" class="view flex-treble flex align-center margin-left-lg {{user.remark?'text-black':''}}" style="height: 100rpx;">
                {{user.remark && user.remark!='' ? user.remark : '您的备注,我们会尽量安排'}}
            </view>
        </view>
    </view>
    <view class="btns share-but">
        <view class="checkBtn text-bold font28r" bindtap="editorReserve">重新选择</view>
            <view class="view round margin-lr-lg flex align-center justify-center">
        <subscribe ids="{{[0,1]}}" bindevent="saved">
                <view class="txt-36-h text-bold font28r">提交预订</view>
        </subscribe>
            </view>
    </view>
</page>
<menu></menu>
<service></service>