From e2cf7bcb93c43eb45a41e5bed59c7e4a7a9e8eac Mon Sep 17 00:00:00 2001 From: Trae AI Date: Mon, 2 Mar 2026 14:07:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=AF=94=E4=BB=B7=E6=A0=BCui=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods-detail/goods-detail.js | 2 +- pages/goods-detail/goods-detail.wxml | 11 ++--- pages/goods-detail/goods-detail.wxss | 69 ++++++++++++++++------------ 3 files changed, 43 insertions(+), 39 deletions(-) diff --git a/pages/goods-detail/goods-detail.js b/pages/goods-detail/goods-detail.js index 75dc605..fad1ac8 100644 --- a/pages/goods-detail/goods-detail.js +++ b/pages/goods-detail/goods-detail.js @@ -1368,7 +1368,7 @@ Page({ compareStep: 1, // 当前步骤(1:选择品种,2:选择规格) categoryOptions: ['全部', '绿壳', '粉壳', '褐壳'], // 品种选项 categoryIcons: ['🥚', '🥚', '🥚', '🥚'], // 品种图标 - categoryDescriptions: ['所有品种', '绿壳鸡蛋', '粉壳鸡蛋', '褐壳鸡蛋'], // 品种描述 + categoryDescriptions: ['(所有品种)', '(绿壳鸡蛋)', '(粉壳鸡蛋)', '(褐壳鸡蛋)'], // 品种描述 selectedCategoryIndex: 0, // 选中的品种索引 selectedCategory: '', // 选中的品种 selectedSpecIndex: 0, // 选中的规格索引 diff --git a/pages/goods-detail/goods-detail.wxml b/pages/goods-detail/goods-detail.wxml index a1a54d6..cc60b51 100644 --- a/pages/goods-detail/goods-detail.wxml +++ b/pages/goods-detail/goods-detail.wxml @@ -86,7 +86,7 @@ - + {{goodsDetail.description || '暂无描述'}} @@ -316,17 +316,12 @@ {{compareStep === 2 ? '✓' : '2'}} - - - - 3 - {{compareStep === 1 ? '选择鸡蛋品种' : '选择鸡蛋规格'}} {{compareStep === 1 ? '请选择您想对比的鸡蛋品种' : '请选择您想对比的鸡蛋规格'}} @@ -357,7 +352,7 @@ {{item.display || item.weightSpec}} - {{item.price ? '价格:¥' + item.price : '价格:暂无'}} + @@ -376,7 +371,7 @@