From 81c23f9c2f5bdfbe962d0b19a5a80ea7c12f043d Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期三, 10 七月 2024 17:39:02 +0800
Subject: [PATCH] 二维码

---
 pages/cart/paymentPage/index.wxml |   61 ++++++++++++++++++++++--------
 1 files changed, 45 insertions(+), 16 deletions(-)

diff --git a/pages/cart/paymentPage/index.wxml b/pages/cart/paymentPage/index.wxml
index 94a3a18..09600ee 100644
--- a/pages/cart/paymentPage/index.wxml
+++ b/pages/cart/paymentPage/index.wxml
@@ -3,7 +3,6 @@
 <template is="skeleton" wx:if="{{loading}}" />
 
 <view hidden="{{hidden}}">
-
   <!-- <view class="titleBox">
     <view style="width: 100%; height: {{barHeight}}px; "></view>
     <view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;">
@@ -16,31 +15,49 @@
 
   <view class="paymentPageBox">
     <view class="content">
-
       <view class="shoppingCartList">
-        <view class="cartList" wx:for="{{productList}}" wx:key="index" wx:for-item="item" wx:for-index="index">
+        <view
+          class="cartList"
+          wx:for="{{productList}}"
+          wx:key="index"
+          wx:for-item="item"
+          wx:for-index="index"
+        >
           <view class="imageBox">
-            <image wx:if="{{item.paymentIcon}}" src="{{item.paymentIcon }}" mode="aspectFit" />
-            <image wx:else src="/static/images/default-book-img.png" class="imageStyle" mode="aspectFit" />
+            <image
+              wx:if="{{item.paymentIcon}}"
+              src="{{item.paymentIcon }}"
+              mode="aspectFit"
+            />
+            <image
+              wx:else
+              src="/static/images/default-book-img.png"
+              class="imageStyle"
+              mode="aspectFit"
+            />
           </view>
           <view class="cartListContent">
             <view class="cartListDetails">
-              <view wx:if="{{item.type == 'product'}}" style="width: 386rpx;">
+              <view wx:if="{{item.type == 'product'}}" style="width: 386rpx">
                 <view class="boosName">
                   <text class="eBook">鐢靛瓙涔�</text>
                   <text> {{item.orderSaleMethod.product.name}}</text>
                 </view>
               </view>
-              <view wx:if="{{item.type == 'item'}}" style="width: 386rpx;">
+              <view wx:if="{{item.type == 'item'}}" style="width: 386rpx">
                 <view class="boosName">
                   <text class="cloudLearning">浜戝涔�</text>
                   <text> {{item.orderSaleMethod.product.name}}</text>
                 </view>
               </view>
             </view>
-            <view class="textBox" wx:if="{{item.type == 'product'}}">鍥句功鏈嶅姟-鐢靛瓙涔�</view>
-            <view class="textBox" wx:if="{{item.type == 'item'}}">鍥句功鏈嶅姟-浜戝涔�</view>
-            <view class="priceBox">锟{payPrice}}</view>
+            <view class="textBox" wx:if="{{item.type == 'product'}}"
+              >鍥句功鏈嶅姟-鐢靛瓙涔�</view
+            >
+            <view class="textBox" wx:if="{{item.type == 'item'}}"
+              >鍥句功鏈嶅姟-浜戝涔�</view
+            >
+            <view class="priceBox">锟{item.payPrice}}</view>
           </view>
         </view>
       </view>
@@ -54,18 +71,30 @@
           <view> <text>鍚堣锛� </text> 锟{payPrice}}</view>
         </view>
       </view>
-
     </view>
     <!-- <view class="interval"></view> -->
     <view class="paymentBox">
-      <view class="residue">寰呮敮浠橈細<text class="residueTextBox">锟{payPrice}}</text></view>
+      <view class="residue"
+        >寰呮敮浠橈細<text class="residueTextBox">锟{payPrice}}</text></view
+      >
       <view>
-        <t-button wx:if="{{ImmediatelyReceive === 0}}" class="buttonBox" shape="round" catch:tap="onReceive">绔嬪嵆棰嗗彇</t-button>
-        <t-button wx:else class="buttonBox" shape="round" catch:tap="confirmOrderGet">寰俊鏀粯</t-button>
-
+        <t-button
+          wx:if="{{ImmediatelyReceive === 0}}"
+          class="buttonBox"
+          shape="round"
+          catch:tap="onReceive"
+          >绔嬪嵆棰嗗彇</t-button
+        >
+        <t-button
+          wx:else
+          class="buttonBox"
+          shape="round"
+          catch:tap="confirmOrderGet"
+          >寰俊鏀粯</t-button
+        >
       </view>
     </view>
   </view>
 
   <t-toast id="t-toast" />
-</view>
\ No newline at end of file
+</view>

--
Gitblit v1.9.1