submit.wxml
2.83 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
57
58
59
60
61
62
63
64
65
66
67
68
69
<!--pages/reserve/submit.wxml-->
<nav hasBack>预订详情</nav>
<view class="pages">
<card hasShowStatus hasAddress="{{false}}" hasOnlineReserve
seller="{{seller}}" detail="{{detail}}">
<view slot="opt" class="back flex-rr">
<formids
id="userinfo-share-{{detail.id}}"
binduserinfo="userinfo"
bindshare="share"
share="{{detail}}">
<view class="opt-button">修改</view>
</formids>
</view>
</card>
<view class="userinfo">
<view class="item flex-lr">
<view class="item-label">姓名</view>
<view class="Medium flex-rr">
<input class="name input" placeholder="请填写用餐人姓名"
bindinput="changeInput"
data-key="name"
value="{{user.name}}"
placeholder-class="input-pl" maxlength="4"/>
<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>
</view>
</view>
<view class="item flex-lr">
<view class="item-label">手机</view>
<view class="Medium">
<input class="phone input" placeholder="请填写联系方式"
bindinput="changeInput"
data-key="phone"
type="number"
value="{{user.phone}}"
placeholder-class="input-pl"/>
</view>
</view>
<view class="item flex-lr">
<view class="item-label">备注</view>
<view class="Medium">
<input class="cusdem input" placeholder="您的特殊要求,我们会尽量安排(20字)"
bindinput="changeInput"
data-key="remark"
value="{{user.cusdem}}"
placeholder-class="input-pl" maxlength="20"/>
</view>
</view>
</view>
<formids bindclick="saved">
<view class="share-but">提交预订</view>
</formids>
</view>