first commit
This commit is contained in:
36
衣莎项目/源码/YiShaXiYi/user/payment/payment.wxml
Normal file
36
衣莎项目/源码/YiShaXiYi/user/payment/payment.wxml
Normal file
@@ -0,0 +1,36 @@
|
||||
<!-- 头部 -->
|
||||
<nav-bar isBack="{{isBack}}" pageTitle="{{pageTitle}}" system="{{system}}"></nav-bar>
|
||||
<!-- user/payment/payment.wxml -->
|
||||
<view class="payment">
|
||||
<view class="mt20" wx:if="{{oreder.type !== 1}}">
|
||||
<wux-cell-group>
|
||||
<wux-cell url="/user/couponCard/couponCard?price={{oreder.realPrice-oreder.fjPrice}}" thumb="/static/img/icon/yhj.png" title="优惠券" is-link>
|
||||
<span wx:if="{{ !!coupon && !!coupon.price }}" class="you">-¥{{coupon.price}}</span>
|
||||
</wux-cell>
|
||||
</wux-cell-group>
|
||||
</view>
|
||||
<view class="mt20">
|
||||
<wux-cell-group>
|
||||
<wux-cell hover-class="none" title="订单编号" extra="{{oreder.order_num}}" right="text_right_cell"></wux-cell>
|
||||
<wux-cell hover-class="none" title="待付款" extra="¥{{oreder.realPrice}}" right="text_right_cell1"></wux-cell>
|
||||
</wux-cell-group>
|
||||
</view>
|
||||
<view>
|
||||
<wux-cell-group title="请选择支付方式">
|
||||
<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={{!!oreder.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="pay">
|
||||
<form report-submit bindsubmit="pay">
|
||||
<button class="pay_button ml20" form-type="submit">确认支付</button>
|
||||
</form>
|
||||
<view class="pay_moy ml10">¥{{all.allPrice > 0 ? all.allPrice : 0}}</view>
|
||||
<view class="pay_span ml20">合计:</view>
|
||||
<view class="pay_p">已优惠¥{{all.difPrice}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 加载动画 -->
|
||||
<loading-prog isLoading="{{isLoading}}"></loading-prog>
|
||||
<!-- toasta提示 -->
|
||||
<i-toast id="toast" />
|
||||
Reference in New Issue
Block a user