From 96b0b8bb1597d825004f5a8da0728c48b6ce7dba Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 27 三月 2025 15:22:22 +0800
Subject: [PATCH] 首页登录去除侧式

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

diff --git a/pages/cart/index.wxml b/pages/cart/index.wxml
index ff41996..e4a685f 100644
--- a/pages/cart/index.wxml
+++ b/pages/cart/index.wxml
@@ -12,7 +12,8 @@
     <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
@@ -25,27 +26,24 @@
         <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 class="textBox" wx:if="{{item.type == 'product'}}">鍥句功鏈嶅姟-鐢靛瓙涔�</view>
+                <view class="textBox" wx:if="{{item.type == 'item'}}">鍥句功鏈嶅姟-浜戝涔�</view> -->
+                <view class="textBox"> {{item.productType}} </view>
               </view>
               <view wx:if="{{item.saleMethod.price != 0}}" class="price-box">
                 锟{item.saleMethod.price }}

--
Gitblit v1.9.1