From a38827061b6679a39d719dee72904ffbe49bd8e8 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期一, 04 八月 2025 11:14:17 +0800
Subject: [PATCH] 登录用户名,以及隐藏专题,新闻页面调整样式

---
 pages/product/goods.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/pages/product/goods.vue b/pages/product/goods.vue
index c133d01..a7bbf36 100644
--- a/pages/product/goods.vue
+++ b/pages/product/goods.vue
@@ -499,8 +499,11 @@
   async onLoad (options) {
 	 
 	  if(options.q){
-		  let queryParam = null;
-		  const decodedUrl = decodeURIComponent(decodeURIComponent(option.q));
+		  const queryParam = {
+			  id:'',
+			  goodsId:''
+		  };
+		  const decodedUrl = decodeURIComponent(decodeURIComponent(options.q));
 		  console.log('鍘熷URL:', decodedUrl);
 		  const params = this.parseUrlParams(decodedUrl);
 		  const id = params.id;
@@ -645,7 +648,7 @@
       this.goodsSpec = response.data.result.specs;
       this.PromotionList = response.data.result.promotionMap;
       this.goodsParams = response.data.result.goodsParamsDTOList || [];
-
+	console.log('浼樻儬鍗锋椿鍔�--------------------銆�',response.data.result.promotionMap)
       // 鍒ゆ柇鏄惁鎷煎洟娲诲姩鎴栬�呯Н鍒嗗晢鍝� 濡傛灉鏈夊垯鏄剧ず鎷煎洟娲诲姩淇℃伅
       this.PromotionList &&
         Object.keys(this.PromotionList).forEach((item) => {

--
Gitblit v1.8.0