sureorder.wxml
5.2 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<view class="ordertext">
<!-- 订单确认页面 -->
<view class="enterinfo">
<view class="commentlist-doctor user_place">
<view class="commentlist_name entername">姓名</view>
<view class="commentlist_right enter_right">
<input class="commentlsit_date" placeholder="请输入姓名" type="text" bindinput='orderName'/>
</view>
</view>
<view class="commentlist-doctor user_place">
<view class="commentlist_name entername">手机号</view>
<view class="commentlist_right enter_right">
<input class="commentlsit_date" placeholder="请输入手机号" type="number" bindinput='orderPhone'/>
</view>
</view>
<view class="commentlist-doctor user_place" wx:if="{{isService==1}}">
<view class="commentlist_name entername">服务地址</view>
<view class="commentlist_right enter_right">
<input class="commentlsit_date" placeholder="请输入服务地址" type="text" bindinput='orderAddress'/>
</view>
</view>
</view>
<!-- begin:门店选择 -->
<view class="shopitem">
<view class="commentlist-doctor shopselect">
<view class="commentlist_name">门店</view>
<picker bindchange="bindAddres" value="{{ressIndex}}" range="{{addressCon}}" range-key="name">
<view class="commentlist_right">
<view class="commentlsit_date selshop">{{shopname}}</view>
<view class="row">
<image src="http://bronet.ibaby88.cn/bicon08@2x.png"></image>
</view>
</view>
</picker>
</view>
<view class="commentlist-doctor shopselect">
<view class="commentlist_name">是否选择上门服务</view>
<view class='detail_check'>
<checkbox checked='{{checked}}' bindtap="checkboxChange"></checkbox>
</view>
</view>
</view>
<!-- begin:留言 -->
<view class="commentlist-doctor messageinfo">
<view class="commentlist_name entername">留言</view>
<view class="commentlist_right enter_right">
<input class="commentlsit_date" placeholder="您给服务商的留言" bindinput='orderLeave'/>
</view>
</view>
<!-- begin:订单信息 -->
<view class="ordertail">
<view class="order_infotail">订单信息</view>
<view class="nearsupport_item">
<view class="support_item_img">
<image src="{{orderInfo.list_pic}}"></image>
</view>
<view class="support_item_content">
<view class="support_item_name">{{orderInfo.title}}</view>
<view class="support_item_price">
<text class="shopprice"><text class="moneysign">¥</text>{{orderInfo.now_money}}</text>
</view>
</view>
</view>
</view>
<view class="totalprice">
<view class="commentlist-doctor totalitem" bindtap="chosecoupon">
<view class="commentlist_name">优惠券</view>
<view class="commentlist_right">
<text wx:if="{{couponmoney=='请选择'}}"></text>
<text wx:else>¥</text>
{{couponmoney}}
<view class="row" wx:if="{{couponmoney=='请选择'}}" style="width:37rpx;height:37rpx;">
<image src="http://bronet.ibaby88.cn/bicon08@2x.png"></image>
</view>
</view>
</view>
<view class="commentlist-doctor totalitem">
<view class="commentlist_name">总计</view>
<view class="commentlist_right">¥{{total}}</view>
</view>
</view>
<!-- begin:固定底部 -->
<view class="sureconsult">
<view class="consult_kefu" bindtap='secreTap'>
<view class="consultimg">
<image src="http://bronet.ibaby88.cn/dicon01@2x.png"></image>
</view>
<view class="consultke">咨询客服</view>
</view>
<view class="surepay" bindtap='paymentTap'>确定支付</view>
</view>
<!-- begin:小秘书弹层 -->
<view class='tenant_fn' wx:if="{{secretary}}" bindtap='hideTap'>
<view class='tenant_box'>
<view class='tenant_code'>微信号:{{wxtary}}</view>
<view class='tenant_txt'>一键复制 添加小秘书为好友咨询</view>
<view class='tenant_btn' catchtap='bindCopy'>一键复制</view>
</view>
</view>
<view wx:else></view>
<view class='tenant_fn' wx:if="{{couponlist}}" bindtap="hideTap">
<view class='tenant_box'>
<view class="nocoupon" wx:if="{{couponcontent.length==0}}">暂无优惠券</view>
<view class="couponlist" wx:else>
<block wx:for="{{couponcontent}}" wx:for-index="index" wx:key="">
<view class="couponimg" >
<image src="http://bronet.ibaby88.cn/eicon09@2x.png"></image>
<view class="couponlistcontent">
<view class="couponlisttext">
<view class="couponname">{{item.title}}</view>
<view class="coupondate" wx:if="{{item.over_time!=99999999999}}">有效期至:{{item.over_time}}</view>
</view>
<view class="selectcoupon">
<!-- <radio checked="{{item.selectcoupon}}" data-couponid="{{item.id}}" bindtap="selectcouponitem" /> -->
<view class="iconfont icon-xuanze1" wx:if="{{item.selectcoupon}}" catchtap='selectcouponitem' data-couponid="{{item.couponLogId}}" data-choseid="{{index}}"></view>
<view class="iconfont icon-xuanze" wx:else catchtap='selectcouponitem' data-couponid="{{item.couponLogId}}" data-choseid="{{index}}"></view>
</view>
</view>
</view>
</block>
</view>
<view class="iconfont icon-chahao" ></view>
</view>
</view>
</view>