粒子研究院前台前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 lines
550 B

import Setting from '@/setting'
import Util from '@/libs/util'
export default {
data() {
return {
id: this.$route.query.id,
preview: this.$route.query.preview,
modules: [],
articles: []
}
},
mounted() {
this.getInfo()
},
methods: {
// banner打开链接
openLink(item) {
const { link } = item
let href = link.linkAddress
if (link.connectionType !== 2) {
}
if (link.isOpen) {
window.open(href)
} else {
location.href = href
}
}
}
};