Files
CompanyProject/衣莎项目/源码/YiShaXiYi/mall/placeOrder/placeOrder.wxml
2024-09-27 01:32:49 +08:00

101 lines
4.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- 头部 -->
<nav-bar isBack="{{isBack}}" pageTitle="{{pageTitle}}" system="{{system}}" />
<!-- mall/placeOrder/placeOrder.wxml -->
<view class="placeOrder">
<view class="expMode flex-con3">
<view class="mode_cen">
<view data-mode="1" bind:tap="wayDelivery" class="mode {{ mode == 1 ? 'mode_active' :'' }}">
门店自取
</view>
<!-- <view data-mode="2" bind:tap="wayDelivery" class="mode {{ mode == 2 ? 'mode_active' :'' }}">
快递寄送
</view> -->
</view>
</view>
<view class="pd20">
<view class="receiving mt30 flex-con3" bind:tap="receivingAdd">
<view class="dis-flex flex1">
<view class="flex1">
<view class="flex-con1 receiving_img clamp1">
<image class="{{ mode == 1 ? 'receiving_img2' : '' }}" src="{{ mode == 1 ? '/static/img/icon/add2.png' : '/static/img/icon/add1.png' }}" />
<span wx:if="{{ mode == 1 }}" class="flex1 ml20">
{{ store.name }} {{store.telnum ? "("+store.telnum +")" :""}}
</span>
<span wx:if="{{ mode == 2 }}" class="flex1 ml20">{{ address.all }}</span>
</view>
<view wx:if="{{ mode == 1 }}" class="mt30 receiving_p">
{{ store.address }}
</view>
<view wx:if="{{ mode == 2 }}" class="mt30 receiving_p">
{{ address.userName }} {{ address.telNumber }}
</view>
</view>
<view class="flex-con3 receiving-r">
<image src="/static/img/icon/right-r.png" />
</view>
</view>
</view>
<view class="shop_list mt20">
<view class="shop_list_row dis-flex" wx:for="{{ temCart.allCart }}" wx:key="{{ index }}">
<view class="shop_list_img">
<image src="{{item.image}}" />
</view>
<view class="flex1 ml20 dis-flex1">
<view class="flex1 flex-con2">
<view class="flex1 text1">{{item.name}}</view>
<view class="flex1 text-right text1">¥{{item.price}}</view>
</view>
<view class="flex1 flex-con2">
<view class="flex1 text2">
<span>
{{item.attr}}
</span>
</view>
<view class="flex1 text-right text1">×{{item.num}}</view>
</view>
</view>
</view>
</view>
<view class="mt20">
<wux-cell-group>
<wux-cell data-type="2" bind:tap="selectPay" thumb="/static/img/icon/wxlogo2.png" title="微信支付" rightUrl="{{isPay == 2 ? '/static/img/icon/wxPay2.png' : '/static/img/icon/wxPay1.png'}}"></wux-cell>
<wux-cell data-type="1" bind:tap="selectPay" data-url="/user/payment/card/card?type=1" right="text_right_cell2" thumb="{{!!giftCard.logo?giftCard.logo:'/static/img/icon/yhk.png'}}" title="{{isgiftCard != ''?isgiftCard:'会员卡支付'}}" rightUrl="{{isPay == 1 ? '/static/img/icon/wxPay2.png' : '/static/img/icon/wxPay1.png'}}"></wux-cell>
</wux-cell-group>
</view>
<view class="mon mt20">
<!-- <navigator url="/mall/couponCard/couponCard?total={{temCart.total}}" class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">优惠</view>
<view class="flex1 flex-con5 mon_span">
<image src="/static/img/icon/right-r.png" />
<span wx:if="{{ !!coupon && !!coupon.price }}" class="mr20">-¥{{coupon.price}}</span>
<span wx:else class="mr20">选择优惠券</span>
</view>
</navigator> -->
<view class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">商品总金额</view>
<view class="flex1 text-right mon_p">¥{{temCart.total}}</view>
</view>
<!-- <view class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">运费</view>
<view class="flex1 text-right mon_p">¥{{temCart.total>postage.satisfy_money?0:(mode==1?0:postage.postage_money)}}</view>
</view> -->
<view class="mt20 pt40 pb20 rem flex-con2">
<view class="dis-flex mon_p">备注</view>
<input class="flex1" type="text" bindinput="remarkInput" placeholder="如有问题请备注" />
</view>
</view>
</view>
</view>
<!-- 支付 -->
<view class="shop_pay">
<view class="flex-con5 flex1 pay_num">
合计:¥{{all<=0?0:all}}
</view>
<form report-submit bindsubmit="storeOrder">
<button class="pay_sub" form-type="submit">支付</button>
</form>
</view>
<!-- toasta提示 -->
<i-toast id="toast" />