From bbba5d26e9e26c910ed337dcb65f462752ee6dce Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期四, 12 九月 2024 09:11:47 +0800
Subject: [PATCH] fenxiang

---
 pages/cart/index.wxml |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/pages/cart/index.wxml b/pages/cart/index.wxml
index ff79a21..978a60f 100644
--- a/pages/cart/index.wxml
+++ b/pages/cart/index.wxml
@@ -5,38 +5,37 @@
 hidden -->
 <view hidden="{{hidden}}">
   <scroll-view scroll-y="{{true}}" class="outsideContentBox" bindscrolltolower="onScrollToLower">
-
     <view>
-
       <!-- <checkbox-group bindchange="HandelItemChange"> -->
       <view wx:if="{{shoppingCartData.length <= 0}}" class="noDataBox">
-        <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" font-size="80" />
+        <!-- <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" font-size="80" /> -->
+        <empty />
       </view>
       <!-- <button bind:tap="onLogin"> 鍘荤櫥褰�</button> -->
       <t-swipe-cell wx:for="{{shoppingCartData}}" wx:key="index" wx:for-item="item" wx:for-index="index" opened="{{swipeOpened}}">
         <view class="itemWarp">
           <t-cell bordered="{{false}}">
             <view slot="title" class="titleBox">
-              <view wx:if="{{item.type == 'product'}}" style="width: 386rpx;">
+              <view style="width: 386rpx">
                 <view class="boosName">
-                  <text class="eBook">鐢靛瓙涔�</text>
+                  <text class="eBook">{{item.typeTxt}}</text>
                   <text> {{item.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.name}}</text>
                 </view>
-              </view>
+              </view> -->
             </view>
             <view slot="description" class="descriptionBox">
               <view>
                 <view class="textBox" wx:if="{{item.type == 'product'}}">鍥句功鏈嶅姟-鐢靛瓙涔�</view>
                 <view class="textBox" wx:if="{{item.type == 'item'}}">鍥句功鏈嶅姟-浜戝涔�</view>
               </view>
-              <view wx:if="{{item.saleMethod.price != 0}}">
-                锟{price}}
+              <view wx:if="{{item.saleMethod.price != 0}}" class="price-box">
+                锟{item.saleMethod.price }}
               </view>
               <view wx:else class="descriptionBox"> 绔嬪嵆棰嗗彇</view>
             </view>
@@ -58,8 +57,6 @@
         <text wx:if="{{isMore == false}}">娌℃湁鏇村浜�</text>
       </view>
     </view>
-
-
 
     <t-toast id="t-toast" />
   </scroll-view>

--
Gitblit v1.9.1