seller-editor.wxml 2.5 KB
<!--pages/manager-invitation/editor.wxml-->
<nav>修改信息</nav>
<view class="pages">
    <view class="base block">
        <view class="item Medium">预订信息</view>
        <view class="item flex-ll">
            <input value="{{form.name}}" bindinput="input"
                   data-key="name"
                   placeholder="请输入店铺名称" placeholder-class="placeholder-class"/>
            <view class="quick">快速选择</view>
        </view>
        <view class="item flex-ll">
            <picker
                    mode="multiSelector"
                    bindchange="bindMultiPickerChange"
                    bindcolumnchange="bindMultiPickerColumnChange"
                    value="{{pickerValue}}"
                    range="{{pickerData}}"
                    style="width: 100%"
            >
                <view class="picker" style="width: 100%;">
                    <!--
                    <block wx:if="{{pickerValue[0]>-1}}">
                    {{pickerData[0][pickerValue[0]]}} {{pickerData[1][pickerValue[1]]}} {{pickerData[2][pickerValue[2]]}}
                    </block>
                    -->
                    <text wx:if="{{timeStr}}">{{timeStr}}</text>
                    <text class="placeholder-class" wx:else="">请输入预订时间</text>
                </view>
            </picker>
        </view>
        <view class="item flex-ll">
            <input value="{{form.room}}" bindinput="input"
                   data-key="room"
                   placeholder="请输入包间名称" placeholder-class="placeholder-class"/>
        </view>
        <view class="item flex-ll">
            <input value="{{form.addr}}"
                   bindinput="input" bindfocus="input"
                   data-key="addr"
                   placeholder="请输入店铺地址" placeholder-class="placeholder-class"/>
            <view class="caddr flex-rr" bindtap="onChangeAddress">
                <image src="http://qn.colorcun.com/manager-invitation/wx/caddr.png" style="width: 28rpx; height: 36rpx;"></image>
            </view>
        </view>
    </view>
    <view class="upload block flex-vc" wx:if="{{tpl.hasImage}}">
        <view class="image" bindtap="chooseImage">
            <image src="{{form.image||defImage}}" mode="aspectFill"></image>
        </view>
        <view class="text">(此处照片为邀请函展示照片)</view>
    </view>
    <formids bindclick="submit" style="width: 100%;">
        <view class="submit {{hasSubmit?'submit-active':''}}">确定</view>
    </formids>
</view>