1 |
- <view class="order"><view class="address"><van-cell vue-id="3c50aaa2-1" icon="user-circle-o" border="{{false}}" is-link="{{true}}" data-event-opts="{{[['^click',[['goAddress']]]]}}" data-com-type="wx" bind:click="__e" bind:__l="__l" vue-slots="{{['title']}}"><view slot="title"><view class="top">姓名:<text>{{defaultArr===''?'':addressList[0].receiver+" "+addressList[0].mobile}}</text></view><view class="bottom _div">地址:<text>{{defaultArr===''?"默认收货地址":defaultArr}}</text></view></view></van-cell></view><van-divider vue-id="3c50aaa2-2" hairline="{{true}}" customStyle="border:3px solid #eee;" data-com-type="wx" bind:__l="__l"></van-divider><block wx:for="{{shopCartInfo.shopCartOrders}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view><block wx:for="{{item.shopCartItemDiscounts[0].shopCartItems}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><view><view class="main"><text class="shop-name">{{item.shopName}}</text><van-card vue-id="{{'3c50aaa2-3-'+index+'-'+index1}}" num="{{item1.prodCount}}" price="{{item1.price}}" desc="{{item1.skuName}}" title="{{item1.prodName}}" thumb="{{item1.pic}}" data-com-type="wx" bind:__l="__l" vue-slots="{{['footer']}}"><view slot="footer"><van-stepper vue-id="{{('3c50aaa2-4-'+index+'-'+index1)+','+('3c50aaa2-3-'+index+'-'+index1)}}" value="{{item1.prodCount}}" disabled="{{true}}" integer="{{true}}" data-com-type="wx" bind:__l="__l"></van-stepper><view class="goods">{{"邮费:"+item.transfee+"元"}}</view></view></van-card></view></view></block><van-cell-group vue-id="{{'3c50aaa2-5-'+index}}" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><van-field vue-id="{{('3c50aaa2-6-'+index)+','+('3c50aaa2-5-'+index)}}" value="{{item.remarks}}" placeholder="请输入备注信息" border="{{false}}" label="订单备注" data-event-opts="{{[['^change',[['onChange']]]]}}" data-com-type="wx" bind:change="__e" bind:__l="__l"></van-field></van-cell-group><van-cell vue-id="{{'3c50aaa2-7-'+index}}" title="优惠劵" border="{{false}}" is-link="{{true}}" data-com-type="wx" bind:__l="__l"></van-cell></view></block><van-divider vue-id="3c50aaa2-8" hairline="{{true}}" customStyle="border:9px solid #eee;" data-com-type="wx" bind:__l="__l"></van-divider><view class="prod"><van-cell-group vue-id="3c50aaa2-9" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><van-cell vue-id="{{('3c50aaa2-10')+','+('3c50aaa2-9')}}" title="总金额" value="{{shopCartInfo.total}}" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><view class="_div">{{'¥'+shopCartInfo.total}}</view></van-cell><van-cell vue-id="{{('3c50aaa2-11')+','+('3c50aaa2-9')}}" title="优惠金额" value="{{shopCartInfo.orderReduce}}" data-com-type="wx" bind:__l="__l"></van-cell><van-cell vue-id="{{('3c50aaa2-12')+','+('3c50aaa2-9')}}" title="优惠金额" value="{{shopCartInfo.orderReduce}}" data-com-type="wx" bind:__l="__l"></van-cell><van-cell vue-id="{{('3c50aaa2-13')+','+('3c50aaa2-9')}}" title="商品总数" value="{{shopCartInfo.totalCount}}" data-com-type="wx" bind:__l="__l"></van-cell><van-cell vue-id="{{('3c50aaa2-14')+','+('3c50aaa2-9')}}" title="支付金额" data-com-type="wx" bind:__l="__l" vue-slots="{{['default']}}"><view class="money-total-count _div">{{"合计: ¥"+shopCartInfo.actualTotal}}</view></van-cell></van-cell-group></view><van-submit-bar vue-id="3c50aaa2-15" price="{{shopCartInfo.actualTotal*100}}" button-text="提交订单" data-event-opts="{{[['^submit',[['onSubmit']]]]}}" data-com-type="wx" bind:submit="__e" bind:__l="__l"></van-submit-bar><van-dialog vue-id="3c50aaa2-16" id="van-dialog" data-com-type="wx" bind:__l="__l"></van-dialog></view>
|