Fix(千县名品/店铺):[#2227]底部的产业项目无法点击进入二级页面查看项目列表

This commit is contained in:
lifizer
2024-08-28 14:47:58 +08:00
parent dce2377383
commit 4a354a7dcf
3 changed files with 41 additions and 17 deletions
+4 -3
View File
@@ -360,6 +360,7 @@
<image
:src="item.image"
class="img"
@click="gotoInvestment(item.title, 'project', item.id)"
/>
</view>
</view>
@@ -412,7 +413,7 @@
</view>
</view>
<view v-if="investmentFileList.length > 0" class="more-btn-wrap">
<view class="more-btn" @click="gotoInvestment">
<view class="more-btn" @click="gotoInvestment('', 'investment')">
更多政策
</view>
</view>
@@ -949,8 +950,8 @@ export default {
}
})
},
gotoInvestment() {
uni.navigateTo({ url: `/pkg_product/views/famousQianxianInvestment?id=${this.id}` })
gotoInvestment(title = '', type = 'investment', id = '') {
uni.navigateTo({ url: `/pkg_product/views/famousQianxianInvestment?id=${id || this.id}&title=${title}&type=${type}` })
},
villageItemClick(item) {
uni.navigateTo({ url: `/pkg_product/views/famousQianxianVillageShop?id=${item.id}` })