From ecabd20b3dfbd956dad14ffb6ba3dc2efcfdd7c1 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期一, 25 三月 2024 16:23:32 +0800 Subject: [PATCH] 微信支付 --- pages/cart/paymentPage/index.wxml | 21 ++++----------------- 1 files changed, 4 insertions(+), 17 deletions(-) diff --git a/pages/cart/paymentPage/index.wxml b/pages/cart/paymentPage/index.wxml index fbaed31..0c1a497 100644 --- a/pages/cart/paymentPage/index.wxml +++ b/pages/cart/paymentPage/index.wxml @@ -11,34 +11,21 @@ <view class="paymentPageBox"> <view class="content"> - <t-dialog visible="{{showCloseBtn}}" close-btn bind:confirm="closeDialog" bind:cancel="closeDialog"> - <view slot="content" class="slotContent"> - <view class="myQrcodeBox"> - <canvas style="width: 200px; height: 200px;margin:0 auto" canvas-id="myQrcode"></canvas> - <view class="myQrcodeTextBox">寰俊鎵爜鏀粯</view> - </view> - </view> - </t-dialog> <view class="shoppingCartList"> <view class="cartList" wx:for="{{productList}}" wx:key="index" wx:for-item="item" wx:for-index="index"> <view class="imageBox"> <image src="{{item.paymentIcon }}" mode="aspectFill" /> </view> - <view class="cartListContent"> - - <view class="cartListDetails"> <view class="labelBox"> <view class="eBook" wx:if="{{type == 'product'}}">鐢靛瓙涔�</view> <view wx:if="{{type == 'item'}}" class="cloudLearning">浜戝涔�</view> </view> - <view class="boosName"> {{item.orderSaleMethod.product.name}} </view> - </view> <view class="textBox" wx:if="{{type == 'product'}}">鍥句功鏈嶅姟-鐢靛瓙涔�</view> <view class="textBox" wx:if="{{type == 'item'}}">鍥句功鏈嶅姟-浜戝涔�</view> @@ -49,11 +36,11 @@ <view class="priceBreakdown"> <view class="priceBreakdownContent">浠锋牸鏄庣粏</view> <view class="amountMoney"> - <view>鍟嗗搧閲戦</view> - <view>锟{payPrice}}</view> + <view class="commodityBox">鍟嗗搧閲戦</view> + <view class="payPriceBox">锟{payPrice}}</view> </view> <view class="amount"> - <view>鍚堣锛氾骏{{payPrice}}</view> + <view> <text>鍚堣锛� </text> 锟{payPrice}}</view> </view> </view> @@ -62,7 +49,7 @@ <view class="paymentBox"> <view class="residue">寰呮敮浠橈細<text class="residueTextBox">锟{payPrice}}</text></view> <view> - <t-button class="buttonBox" shape="round" bind:tap="confirmOrderGet">寰俊鏀粯</t-button> + <t-button class="buttonBox" shape="round" catch:tap="confirmOrderGet">寰俊鏀粯</t-button> </view> </view> </view> \ No newline at end of file -- Gitblit v1.9.1