Commit 3118d9f4 by 田爽

复制链接问题

parent 08e103f9
......@@ -47,6 +47,7 @@ export default {
{
id:'6790',
title: "移动商务领域新标准—电子优惠券管理",
directpath: '/News/msg?id=6790'
},
{
title: "越来越多的消费者通过移动终端浏览商品",
......@@ -83,6 +84,7 @@ export default {
{
id:'6247',
title: "GS1 2011移动商务/B2C日于6月29日举行",
directpath: '/News/msg?id=6247'
},
{
title: "移动电子商务一季度市场规模同比增358.7%",
......@@ -109,7 +111,8 @@ export default {
// if(item.directpath&&item.directpath!==''&& item.directpath.length>0){
// item.href=item.directpath
// }else{
item.href=`/News/msg?id=${item.id}`
// item.href=`/News/msg?id=${item.id}`
item.href=item.directpath
// }
});
......
......@@ -49,7 +49,7 @@
</p>
<ul>
<li v-for="(value, index) in item.list" :key="index" @click="lookDetail(value.id, item.title)">
<a @click="goInfo(value.id, value.href, item.title)" v-html="value.title" target="_blank"></a>
<a :href="value.href" @click.prevent="goInfo(value.id, value.href, item.title)" v-html="value.title" target="_blank"></a>
</li>
</ul>
</div>
......@@ -66,7 +66,7 @@
</p>
<ul>
<li v-for="(item, index) in qrCodeList" :key="'qrCodeList' + index" @click="lookDetail(item.id, '商品二维码在零售领域的应用')">
<a @click="goInfo(item.id, item.href, '商品二维码在零售领域的应用')" v-html="item.title" target="_blank"></a>
<a :href="item.href" @click.prevent="goInfo(item.id, item.href, '商品二维码在零售领域的应用')" v-html="item.title" target="_blank"></a>
</li>
</ul>
<img
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment