From a99319ab2d7627267c385cc9e5792dc68a42d1c1 Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期四, 11 四月 2024 17:55:37 +0800
Subject: [PATCH] 封面

---
 pages/cart/paymentPage/index.wxml |   21 +++++++++++++++++----
 1 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/pages/cart/paymentPage/index.wxml b/pages/cart/paymentPage/index.wxml
index 99f50af..42f130e 100644
--- a/pages/cart/paymentPage/index.wxml
+++ b/pages/cart/paymentPage/index.wxml
@@ -15,7 +15,8 @@
     <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" />
+          <image wx:if="{{item.paymentIcon}}" src="{{item.paymentIcon }}" mode="aspectFill" />
+          <image wx:else src="/static/images/default-book-img.png" class="imageStyle" mode="aspectFit" />
         </view>
         <view class="cartListContent">
           <view class="cartListDetails">
@@ -31,16 +32,26 @@
 
             <view wx:if="{{item.type == 'product'}}" style="width: 386rpx;">
 
-              <view>
+              <!-- <view>
                 <text class="eBook">鐢靛瓙涔�</text> <text class="boosName">{{item.orderSaleMethod.product.name}}</text>
+              </view> -->
+
+              <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>
                 <text class="cloudLearning">浜戝涔�</text> <text class="boosName">{{item.orderSaleMethod.product.name}}</text>
+              </view> -->
+              <view class="boosName">
+                <text class="cloudLearning">浜戝涔�</text>
+                <text> {{item.orderSaleMethod.product.name}}</text>
               </view>
             </view>
 
@@ -75,4 +86,6 @@
       <t-button class="buttonBox" shape="round" catch:tap="confirmOrderGet">寰俊鏀粯</t-button>
     </view>
   </view>
-</view>
\ No newline at end of file
+</view>
+
+<t-toast id="t-toast" />
\ No newline at end of file

--
Gitblit v1.9.1