From 17138ae89dc5a445cb5a910afa234f06c35cf07a Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期四, 19 六月 2025 09:16:48 +0800
Subject: [PATCH] insert 完成商品广场

---
 pages/goods-manager/goodsList/goodsList.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/pages/goods-manager/goodsList/goodsList.vue b/pages/goods-manager/goodsList/goodsList.vue
index 69a0d94..3e21182 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>
@@ -57,12 +57,11 @@
 
 <script>
 
-import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue';
+import '@/components/uview-components/uview-ui';
 
 import * as API_GOODS from "@/api/goods.js";
 
 export default {
-	components: { UIcon },
 	data() {
 		return {
 			formData: {
@@ -256,6 +255,7 @@
 		// 灏忕▼搴� 缂栬瘧鍚庝細澶氫竴灞傛爣绛撅紝鑰屽叾浠栧钩鍙版病鏈夛紝鎵�浠ラ渶瑕佺壒娈婂鐞嗕竴涓�
 		/deep/ .uni-list {
 			/* #endif */
+			height: calc(100vh - 100px - 80px - 60px);
 			display: flex;
 			flex-direction: row;
 			flex-wrap: wrap;
@@ -267,7 +267,7 @@
 			/deep/
 			/* #endif */
 			.uni-list-item--waterfall {
-				// width: 50%;
+				width: 98%;
 				display: flex;
 				box-sizing: border-box;
 				margin-bottom: 10px;

--
Gitblit v1.8.0