This commit is contained in:
yanran200730
2023-06-09 17:44:37 +08:00

View File

@@ -127,7 +127,7 @@
<div class="bottom">小程序</div>
</div>
<div class="card-info" v-if="item.msgType == 'link'">
<div class="card-info pointer" v-if="item.msgType == 'link'" @click="openLink(item)">
<div class="top">
<div class="card-left">
<p>{{item.title}}</p>
@@ -198,8 +198,6 @@
],
searchMsg: '',
id: 'LiuYe',
map: null,
AMap: null
}
},
computed: {
@@ -336,6 +334,11 @@
this.msgType = index
this.getMsgListInit()
},
openLink(row) {
console.log(row.linkUrl)
document.write('<a href="" target="new"></a>');
window.open(row.linkUrl, "new");
},
cancel () {
this.$emit('change', {
type: 'List',
@@ -611,6 +614,9 @@
border-top: 1px solid #eee;
}
}
.pointer {
cursor: pointer;
}
.map-info {
width: 600px;
height: 400px;