处理首页文化动态大图不能点击的问题
This commit is contained in:
parent
62689ce74f
commit
26d254537b
@ -23,7 +23,7 @@ const shopUrl = `${publishUrl}xzshop/`
|
|||||||
* 15.吉隆县: 642389, 540234000000
|
* 15.吉隆县: 642389, 540234000000
|
||||||
* 16.聂拉木县: 642437, 540235000000
|
* 16.聂拉木县: 642437, 540235000000
|
||||||
* 17.萨嘎县: 642489, 540236000000
|
* 17.萨嘎县: 642489, 540236000000
|
||||||
* 18.岗巴县: 642536, 540232000000
|
* 18.岗巴县: 642536, 540237000000
|
||||||
*/
|
*/
|
||||||
const area = {
|
const area = {
|
||||||
areaName: '日喀则市',
|
areaName: '日喀则市',
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="dynamic-content">
|
<div class="dynamic-content">
|
||||||
<div class="dynamic-content-left">
|
<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">
|
<img :src="url + 'route/file/download/false/' + picNews.newsContentCoverList" alt="" class="dynamic-img">
|
||||||
</div>
|
</div>
|
||||||
<p class="dynamic-desc">{{ picNews.newsContentTitle }} </p>
|
<p class="dynamic-desc">{{ picNews.newsContentTitle }} </p>
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
export const goDetail = (news, navTitle, navPath, router) => {
|
export const goDetail = (news, navTitle, navPath, router) => {
|
||||||
console.log(news)
|
|
||||||
// 只要有链接就跳转
|
// 只要有链接就跳转
|
||||||
if(news.newsContentLink) {
|
if(news.newsContentLink) {
|
||||||
window.open(news.newsContentLink);
|
window.open(news.newsContentLink);
|
||||||
|
Loading…
Reference in New Issue
Block a user