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