处理首页文化动态大图不能点击的问题

This commit is contained in:
TS-QD1 2023-04-07 17:20:08 +08:00
parent 62689ce74f
commit 26d254537b
3 changed files with 2 additions and 3 deletions

View File

@ -23,7 +23,7 @@ const shopUrl = `${publishUrl}xzshop/`
* 15.吉隆县: 642389, 540234000000
* 16.聂拉木县: 642437, 540235000000
* 17.萨嘎县: 642489, 540236000000
* 18.岗巴县: 642536, 540232000000
* 18.岗巴县: 642536, 540237000000
*/
const area = {
areaName: '日喀则市',

View File

@ -6,7 +6,7 @@
</div>
<div class="dynamic-content">
<div class="dynamic-content-left">
<div class="dynamic-left-box" @click="goDetail(picNews.newsContentLink, picNews.templateRecordUrl)">
<div class="dynamic-left-box" @click="goDetail(picNews)">
<img :src="url + 'route/file/download/false/' + picNews.newsContentCoverList" alt="" class="dynamic-img">
</div>
<p class="dynamic-desc">{{ picNews.newsContentTitle }} </p>

View File

@ -1,5 +1,4 @@
export const goDetail = (news, navTitle, navPath, router) => {
console.log(news)
// 只要有链接就跳转
if(news.newsContentLink) {
window.open(news.newsContentLink);