|
@@ -4,7 +4,7 @@
|
|
|
<div v-if="device == 'chrome' || device == 'no-chrome'" class="content">
|
|
|
<v-logo></v-logo>
|
|
|
<div class="tool-cover">
|
|
|
- <img :src="detail.postBizData.linkImagePath" alt="">
|
|
|
+ <img :src="img_url" alt="">
|
|
|
</div>
|
|
|
<!-- 非chrome -->
|
|
|
<div v-if="device == 'no-chrome'">
|
|
@@ -56,7 +56,8 @@ export default {
|
|
|
title: 'Install DeNet Plugin to Participate',
|
|
|
metaTitle: 'Install DeNet Plugin to Participate',
|
|
|
device: '',
|
|
|
- detail: {}
|
|
|
+ detail: {},
|
|
|
+ img_url: ''
|
|
|
}
|
|
|
},
|
|
|
head() {
|
|
@@ -131,6 +132,13 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
+ if (this.detail.postBizData.linkImagePath.indexOf('default') > 0) {
|
|
|
+ this.img_url = '/img/img-default.png'
|
|
|
+ } else {
|
|
|
+ this.img_url = this.detail.postBizData.linkImagePath
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
this.copy_link = window.location.href
|
|
|
this.device = getBrowserType()
|
|
|
console.log('device', this.device)
|