From 2571b833ac19340084f07ac2ccd76b242ee3d4f0 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 11 六月 2025 22:34:41 +0800
Subject: [PATCH] 分类多级联动

---
 pages/goods-manager/goodsList/goodsList.vue |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/pages/goods-manager/goodsList/goodsList.vue b/pages/goods-manager/goodsList/goodsList.vue
index 69a0d94..e77a8be 100644
--- a/pages/goods-manager/goodsList/goodsList.vue
+++ b/pages/goods-manager/goodsList/goodsList.vue
@@ -9,12 +9,12 @@
 					<!-- 閫氳繃header鎻掓Ы瀹氫箟鍒楄〃宸︿晶鍥剧墖 -->
 
 					<view class="uni-thumb shop-picture" :class="{ 'shop-picture-column': formData.waterfall }">
-						<image :src="item.goods_thumb" mode="aspectFill"></image>
+						<image :src="item.thumbnail" mode="aspectFill"></image>
 					</view>
 					<view class="shop">
 						<view>
 							<view class="uni-title">
-								<text class="uni-ellipsis-2">{{ item.name }}</text>
+								<text class="uni-ellipsis-2">{{ item.goodsName }}</text>
 							</view>
 							<!-- <view>
 									<text class="uni-tag hot-tag">{{ item.goods_tip }}</text>
@@ -24,12 +24,12 @@
 						<view>
 							<view class="shop-price">
 								<text>楼</text>
-								<text class="shop-price-text">{{ item.goods_price }}</text>
+								<text class="shop-price-text">{{ item.price }}</text>
 								<text>.00</text>
 							</view>
 							<view class="uni-flex-row">
-								<view class="uni-note">{{ item.comment_count || 0 }}鏉¤瘎璁� 鏈堥攢閲� {{
-									item.month_sell_count || 0 }}
+								<view class="uni-note">{{ item.commentNum || 0 }}鏉¤瘎璁� 鏈堥攢閲� {{
+									item.buyCount || 0 }}
 								</view>
 								<view class="uni-note ellipsis">
 									<text class="uni-link">涓婃灦</text>
@@ -256,6 +256,7 @@
 		// 灏忕▼搴� 缂栬瘧鍚庝細澶氫竴灞傛爣绛撅紝鑰屽叾浠栧钩鍙版病鏈夛紝鎵�浠ラ渶瑕佺壒娈婂鐞嗕竴涓�
 		/deep/ .uni-list {
 			/* #endif */
+			height: calc(100vh - 100px - 80px - 60px);
 			display: flex;
 			flex-direction: row;
 			flex-wrap: wrap;
@@ -267,7 +268,7 @@
 			/deep/
 			/* #endif */
 			.uni-list-item--waterfall {
-				// width: 50%;
+				width: 98%;
 				display: flex;
 				box-sizing: border-box;
 				margin-bottom: 10px;

--
Gitblit v1.8.0