Sfoglia il codice sorgente

feat(frontend): 六个维度页传入dimension-code按域筛选推荐商品

与同页DimensionArticles一致的传参模式;index-home/growth-main为通用页不传

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Sisyphus 4 giorni fa
parent
commit
3aece35a9f

+ 1 - 0
cfc-frontend/pages/action-detail/index.vue

@@ -213,6 +213,7 @@
     <DimensionProducts
       v-if="isLoggedIn"
       :isLoggedIn="true"
+      dimension-code="action"
       @productClick="goProductDetail"
       @moreProducts="goMoreProducts" />
 

+ 1 - 0
cfc-frontend/pages/action-detail/member-action-detail.vue

@@ -59,6 +59,7 @@
       <!-- 商品 -->
       <DimensionProducts
         :isLoggedIn="true"
+        dimension-code="action"
         @productClick="goProductDetail"
         @moreProducts="goMoreProducts" />
 

+ 1 - 0
cfc-frontend/pages/body-detail/member-body-detail.vue

@@ -47,6 +47,7 @@
     <!-- 商品 -->
     <DimensionProducts
       :isLoggedIn="true"
+      dimension-code="body"
       @productClick="goProductDetail"
       @moreProducts="goMoreProducts" />
 

+ 1 - 0
cfc-frontend/pages/mind-detail/member-mind-detail.vue

@@ -47,6 +47,7 @@
     <!-- 商品 -->
     <DimensionProducts
       :isLoggedIn="true"
+      dimension-code="mind"
       @productClick="goProductDetail"
       @moreProducts="goMoreProducts" />
 

+ 1 - 0
cfc-frontend/pages/wealth-detail/member-wealth-detail.vue

@@ -45,6 +45,7 @@
     <!-- 商品 -->
     <DimensionProducts
       :isLoggedIn="true"
+      dimension-code="wealth"
       @productClick="goProductDetail"
       @moreProducts="goMoreProducts" />
 

+ 1 - 0
cfc-frontend/pages/wisdom-detail/member-wisdom-detail.vue

@@ -47,6 +47,7 @@
     <!-- 商品 -->
     <DimensionProducts
       :isLoggedIn="true"
+      dimension-code="wisdom"
       @productClick="goProductDetail"
       @moreProducts="goMoreProducts" />