xlcs/atguigu-tuan/unpackage/dist/dev/mp-weixin/pagesOrder/confirmOrder/confirmOrder.wxml

1 line
5.1 KiB
Plaintext
Raw Normal View History

2023-09-26 10:22:29 +08:00
<view class="gg"><u-navbar vue-id="ec828024-1" border-bottom="{{false}}" is-back="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="u-flex u-m-l-20 u-m-r-20"><view class="u-font-xl u-m-r-20">生成订单</view><view class="u-font-xs u-light-color u-p-t-10">{{"共"+getSelectedCount+"件商品"}}</view></view></u-navbar><view class="gg-content"><block wx:if="{{getCartInfoList}}"><scroll-view class="gg-cart-sv-container" scroll-y="true"><u-card vue-id="ec828024-2" padding="{{10}}" show-head="{{false}}" bind:__l="__l" vue-slots="{{['body']}}"><view class="u-m-10" slot="body">{{"提货点:"+getLeaderAddressVo.takeName}}</view></u-card><u-card vue-id="ec828024-3" padding="{{10}}" show-head="{{true}}" bind:__l="__l" vue-slots="{{['head','body']}}"><view class="u-m-10" slot="head">提货人联系方式</view><view class="u-m-10" slot="body"><u-input bind:input="__e" class="u-p-b-20" vue-id="{{('ec828024-4')+','+('ec828024-3')}}" placeholder="请输入提货人姓名" value="{{sumbitOrderForm.receiverName}}" data-event-opts="{{[['^input',[['__set_model',['$0','receiverName','$event',[]],['sumbitOrderForm']]]]]}}" bind:__l="__l"></u-input><u-input bind:input="__e" vue-id="{{('ec828024-5')+','+('ec828024-3')}}" placeholder="请输入提货人电话" type="number" value="{{sumbitOrderForm.receiverPhone}}" data-event-opts="{{[['^input',[['__set_model',['$0','receiverPhone','$event',[]],['sumbitOrderForm']]]]]}}" bind:__l="__l"></u-input></view></u-card><block wx:for="{{$root.l0}}" wx:for-item="cartInfoListItem" wx:for-index="index" wx:key="index"><view><u-card vue-id="{{'ec828024-6-'+index}}" border="{{false}}" padding="{{10}}" show-head="{{cartInfoListItem.m0}}" bind:__l="__l" vue-slots="{{['head','body']}}"><view class="u-m-10" slot="head"><text>{{cartInfoListItem.$orig.activityRule.ruleDesc}}</text></view><view slot="body"><block wx:for="{{cartInfoListItem.$orig.cartInfoList}}" wx:for-item="cartInfoItem" wx:for-index="idx" wx:key="idx"><view><view class="{{['u-body-item','u-flex','u-col-between','u-p-10',(idx!==cartInfoListItem.g0-1)?'u-border-bottom':'']}}"><list-img-item vue-id="{{('ec828024-7-'+index+'-'+idx)+','+('ec828024-6-'+index)}}" lazyLoad="{{false}}" showBottom="{{cartInfoItem.skuType===0&&cartInfoItem.isNewPerson===1}}" showLeft="{{cartInfoItem.skuType===1}}" showRight="{{false}}" src="{{cartInfoItem.imgUrl}}" height="200rpx" width="200rpx" bind:__l="__l"></list-img-item><view class="u-p-b-20 u-m-l-20" style="flex:1;"><view>{{cartInfoItem.skuName}}</view><view>{{"购买数量:"+cartInfoItem.skuNum}}</view><view class="u-flex u-row-between"><view class="u-type-error"><text>¥</text><text class="u-font-xl">{{cartInfoItem.cartPrice}}</text></view></view></view></view></view></block></view></u-card></view></block><block wx:if="{{$root.g1>0}}"><u-card vue-id="ec828024-8" padding="{{10}}" show-head="{{false}}" bind:__l="__l" vue-slots="{{['body']}}"><view slot="body"><view class="coupon"><block wx:for="{{$root.l1}}" wx:for-item="couponInfoItem" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['switchCouponInfoItem',['$0'],[[['getCartCouponInfoList','id',couponInfoItem.$orig.id]]]]]]]}}" class="{{['content','u-m-b-20',(couponInfoItem.$orig.selected)?'selected':'']}}" bindtap="__e"><view class="left"><view class="sum">¥<text class="num">{{couponInfoItem.$orig.amount}}</text></view><view class="type">{{couponInfoItem.$orig.couponType==='FULL_REDUCTION'?'满减券':'现金券'}}</view><view class="type">{{couponInfoItem.m1}}</view></view><view class="centre"><view class="title">{{couponInfoItem.$orig.couponName}}</view><view class="u-type-info">{{couponInfoItem.$orig.rangeDesc}}</view><view class="valid-date">{{"过期时间:"+couponInfoItem.g2}}</view></view><view class="right"><block wx:if="{{couponInfoItem.$orig.isSelect===1}}"><block><u-tag vue-id="{{('ec828024-9-'+__i0__)+','+('ec828024-8')}}" text="可以使用" type="error" bind:__l="__l"></u-tag></block></block><block wx:else><block><u-tag vue-id="{{('ec828024-10-'+__i0__)+','+('ec828024-8')}}" text="不能使用" type="info"