seller-editor.wxml
2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!--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>