VtuanConfirm.wxml
8.4 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<view class="container">
<!-- <block wx:if="{{service == '快递配送'}}"> -->
<view class="list_count">
<!-- 商品详情过来 -->
<view class="list">
<view class="left_imgs">
<image src="{{ConfirmAnOrder.img}}" />
</view>
<view class="right_cont">
<view class="list_cont">{{ConfirmAnOrder.name}}</view>
<view class="money">
<view class="goods_price">
<text class="money_icon">¥</text>
<text class="price">{{ConfirmAnOrder.price}}</text>
</view>
<text class="count">x{{ConfirmAnOrder.num}}</text>
</view>
</view>
</view>
</view>
<!-- 配送 -->
<view class="distribution public" catchtap="nextDeliveryservice">
<text class="service public_1">配送服务</text>
<!-- <text class="service_right public_2">{{service}}</text> -->
<!-- 配送改 -->
<view class="dis-express" wx:for="{{pei}}" wx:key="index" bindtap="choosePeiType" data-type="{{item.id}}">
<text class="d_e_t">{{item.name}}</text>
<image class="d_e_img" src="/static/img/new_img.png" wx:if="{{pei_type == item.id}}"></image>
<image class="d_e_img" src="/static/img/img_t.png" wx:else></image>
</view>
</view>
<!-- <view class="zhuang">
<image src="{{imagesUrl}}assets/static/img/zhuangshi_img@2x.png" />
</view> -->
<!-- 配送改 -->
<block wx:if="{{pei_type == 1}}">
<view class="address" wx:if="{{address_id}}">
<view class="city">{{address.address}}</view>
<view class="addressDetails">{{address.address2}}</view>
<view class="person_">
<view class="person_ziliao">
<text class="person_name persongeren">{{address.name}}</text>
<text class="person_phone persongeren">{{address.phone}}</text>
</view>
<view class="arrow_r" bindtap="changeReceiverAddress">
<image src="{{imagesUrl}}assets/static/img/right_arrow.png" />
</view>
</view>
</view>
<view class="addressde" bindtap="changeReceiverAddress" wx:else>
<view class="cdddd">请添加收货地址</view>
<view class="arrow_r">
<image src="{{imagesUrl}}assets/static/img/right_arrow.png" />
</view>
</view>
</block>
<!-- 备注 -->
<view class="remarks public">
<text class="remarks_ public_1">备注</text>
<text class="service_right public_2" bindtap="clickme">{{bei}}</text>
</view>
<!-- <view class="popupL" bindtap="goRedPacketd" data-order_no="{{orderContent.order_no}}">
<view class="popupName">优惠劵</view>
<view class="arrow_pop">
<view class="popup_" wx:if="{{orderContent.red_num == 0}}">无可用优惠券</view>
<view class="popup_" wx:else>
{{shifu.red_name=='' ? '有'+orderContent.red_num +'张可用' : shifu.red_name}}
</view>
<image src="{{imagesUrl}}assets/static/img/right_arrow.png" />
</view>
</view> -->
<!-- 商品价格 -->
<view class="down">
<view class="store_num public">
<text class="store_name public_1">商品金额</text>
<view class="goods_price public_2">
<text class="money_icon">¥</text>
<text class="price">{{orderContent.order_pay}}</text>
</view>
</view>
<view class="integrate_num public" wx:if="{{type == 1 || type == 2}}">
<text class="integrate_name public_1">积分抵扣</text>
<view class="goods_price public_2">
<text class="money_icon" wx:if="{{shifu.fen_di > 0}}">¥</text>
<text class="price">{{shifu.fen_di}}</text>
</view>
</view>
<view class="integrate_num public" wx:if="{{shifu.red_name!=''}}">
<text class="integrate_name public_1">优惠券</text>
<view class="goods_price public_2">
<text class="money_icon" wx:if="{{shifu.red_di > 0}}">¥</text>
<text class="price">{{shifu.red_di}}</text>
</view>
</view>
<view class="freight public" wx:if="{{service == '快递配送'}}">
<text class="freight_name public_1">运费</text>
<view class="goods_price public_2">
<text class="money_icon" wx:if="{{orderContent.yun != 0}}">¥</text>
<text class="price">{{orderContent.yun == 0 ? '包邮':orderContent.yun}}</text>
</view>
</view>
<!-- 说明 explain
<view class="explain">
<text class="explain_ ">使用同放积分抵扣不享受积分赠送</text>
<view class="r_explain">
<text class="explain__right ">领取</text>
<text class="explain__red ">{{orderContent.fen}}</text>
<text class="explain__right ">同放积分</text>
</view>
</view> -->
</view>
<view class="__total">
<view class="imgItem">
<text class="payall">实付金额:</text>
<view class="goods_price monery_red">
<text class="money_icon">¥</text>
<text class="price">{{all_pay}}</text>
</view>
</view>
<view class="downbtn" bindtap="chooseClerk">
<button class="btn">确认支付</button>
</view>
</view>
<!-- 屏幕背景变暗的背景 -->
<view class="commodity_screen" bindtap="hideModal" wx:if="{{showModalStatus}}"></view>
<!-- 弹出框 -->
<view animation="{{animationData}}" class="commodity_attr_box" wx:if="{{showModalStatus}}">
<form action="" catchsubmit="formSubmit">
<view class="bei">
<input type="text" name="value" placeholder-class="input-placeholder" placeholder="请输入备注信息" />
</view>
<view class="bne">
<button style="margin: 30rpx 0 ; font-weight : 400; width:686rpx; background-color:#E8370F" type="primary"
formType="submit">
确认
</button>
</view>
</form>
</view>
<!-- 绑定4s&店员弹出 -->
<van-popup show="{{ bind4sClerk }}" bind:close="onClose" round
custom-style="{{activeSteps == 1?'height: 80%; width:80%':'height: 60%; width:80%'}}">
<view class="bind4sclerk">
<!-- 步骤条 -->
<van-steps steps="{{ steps }}" active="{{ activeSteps }}" active-color="#e8370f" />
<!-- 4s||店员 -->
<block wx:if="{{activeSteps == 0}}">
<text class="b4c">请选择您的专属顾问</text>
<view class="b4c-jxs" bindtap="show4s">
<text class="{{s4_name?'':'jxs_name'}}">{{s4_name?s4_name:'请选择经销商'}}</text>
<image class="row" src="/static/img/arrow.png"></image>
</view>
<view class="b4c-dy" bindtap="showClerk">
<text class="{{ClerkName?'':'dy_name'}}">{{ClerkName?ClerkName:'请选择店员'}}</text>
<image class="row" src="/static/img/arrow.png"></image>
</view>
<button class="btn" bindtap="send4sClerk">下一步</button>
</block>
<!-- 个人信息再确认 -->
<block wx:if="{{activeSteps == 1}}">
<text class="b4c">确认信息</text>
<view class="b4c-jxs">
<text class="jxs_name black">{{address.name}}</text>
</view>
<view class="b4c-dy">
<text class="dy_name black">{{address.phone}}</text>
</view>
<view class="personal">
<text class="p-text black">{{address.address}}{{address.address2}}</text>
</view>
<text class="remove" bindtap="changeReceiverAddress">切换收货地址</text>
<button class="btn" bindtap="send4sClerk">下一步</button>
</block>
<!-- 价格信息再确认 -->
<block wx:if="{{activeSteps == 2}}">
<text class="b4c">确认支付</text>
<view class="b4c-jxs">
<text class="jxs_name">运费</text>
<text class="colorRed">{{orderContent.yun == 0 ? '包邮':'¥' + orderContent.yun}}</text>
</view>
<view class="b4c-dy">
<text class="dy_name">实付金额</text>
<text class="colorRed">¥{{all_pay}}</text>
</view>
<button class="btn" bindtap="send4sClerk">下一步</button>
</block>
<text class="remarks">同放汽车互联网4s店将为您全程服务</text>
</view>
</van-popup>
<view class="login" wx:if="{{showModalStatus2}}">
<view class="commodity_screen"></view>
<view class="center__nox">
<image src="{{jump_img}}" class="jump_img" mode="widthFix" catchtap="jumpImgUrl" />
<image src="../../static/img/close.png" class="jump_close" catchtap="hideDrawModal" />
</view>
</view>
<view class="b-inner">
<van-action-sheet show="{{ showClerk }}" actions="{{ ClerkList }}" bind:close="onshowClose"
bind:select="onSelect" />
</view>
</view>