|
@@ -118,11 +118,12 @@ const gridList = [
|
|
|
{ label: '精选企业', icon: '/static/img/enterprise.png', path: '/pagesB/recommendEnterprise/index' },
|
|
|
{ label: '酒店英语', icon: '/static/img/group.png', path: '' },
|
|
|
{ label: '早报资讯', icon: '/static/img/information.png', id: 'morningNews' },
|
|
|
- { label: '风尚榜投票', icon: '/static/img/contact.png', weiXinPublicUrl: 'https%3A%2F%2F6b29.yuandianpx.cn%2F18%2F%23%2Fvote%3Fact%3D31', title:'中国酒店YOUNG风尚榜投票' }
|
|
|
+ { label: '风尚榜投票', icon: '/static/img/contact.png', weiXinPublicUrl: 'https%3A%2F%2F6b29.yuandianpx.cn%2F18%2F%23%2Fvote%3Fact%3D31', title:'『2024中国酒店YOUNG风尚榜』投票通道' }
|
|
|
]
|
|
|
|
|
|
// 跳转企业详情
|
|
|
const handleToDetails = ({ id, weiXinPublicUrl, title }) => {
|
|
|
+ debugger
|
|
|
if (id) {
|
|
|
uni.navigateTo({ url: `/pagesB/companyDetail/index?id=${id}` })
|
|
|
}
|
|
@@ -159,7 +160,7 @@ const handleGrid = async (e) => {
|
|
|
})
|
|
|
}
|
|
|
if (obj?.weiXinPublicUrl) {
|
|
|
- uni.navigateTo({ url: `/pages/addWebView/index?url=${obj?.weiXinPublicUrl}&title=风尚榜奖投票` })
|
|
|
+ uni.navigateTo({ url: `/pages/addWebView/index?url=${obj?.weiXinPublicUrl}&title=${obj?.title || '风尚榜奖投票'}` })
|
|
|
}
|
|
|
}
|
|
|
|