diff --git a/public/img/logoIcon.jpg b/public/img/logoIcon.jpg new file mode 100644 index 0000000..40fd6dd Binary files /dev/null and b/public/img/logoIcon.jpg differ diff --git a/public/img/logoText.jpg b/public/img/logoText.jpg new file mode 100644 index 0000000..f07abd1 Binary files /dev/null and b/public/img/logoText.jpg differ diff --git a/public/index.html b/public/index.html index 1ba3c23..ac4e335 100644 --- a/public/index.html +++ b/public/index.html @@ -70,8 +70,10 @@ s.parentNode.insertBefore(hm, s) console.log('我进来执行了~~~~~~~~~~~~~~~~~~~~') let url = document.domain - if (url == 'focus.hfju.com' || url == 'focus.aihxz.com'|| url == 'localhost') { + if (url == 'focus.hfju.com' || url == 'focus.aihxz.com') { document.querySelector('link[rel="icon"]').setAttribute('href', '<%= BASE_URL %>sh.png') + } else if (url == 'zh.aihxz.com' || url == 'localhost') { + document.querySelector('link[rel="icon"]').setAttribute('href', '<%= BASE_URL %>img/logoIcon.jpg') } else { document.querySelector('link[rel="icon"]').setAttribute('href', '<%= BASE_URL %>icon1.png') } diff --git a/src/main.js b/src/main.js index f1ad59a..f1b1736 100644 --- a/src/main.js +++ b/src/main.js @@ -38,7 +38,7 @@ Vue.component('v-chart', ECharts) import AudioPlayer from '@liripeng/vue-audio-player' // import '@liripeng/vue-audio-player/lib/vue-audio-player.css' - +Vue.prototype.$domain = document.domain // 插件 json 展示 Vue.use(router) diff --git a/src/mixins/color.js b/src/mixins/color.js index 57cf52f..dd58013 100644 --- a/src/mixins/color.js +++ b/src/mixins/color.js @@ -8,13 +8,6 @@ export default function() { themeVal: ORIGINAL_THEME } }, - // created() { - // if (document.domain == 'focus.hfju.com' || document.domain == 'focus.aihxz.com' || document.domain == 'localhost') { - // this.themeVal = '#ff4500' - // } else { - // this.themeVal = this.theme - // } - // }, watch: { themeVal(val, oldVal) { console.log(val, oldVal) diff --git a/src/page/bi/bi.vue b/src/page/bi/bi.vue index 096c95b..24b93d5 100644 --- a/src/page/bi/bi.vue +++ b/src/page/bi/bi.vue @@ -843,8 +843,8 @@ item.showStatus == 0 ? 'line-through' : 'none', color: item.showStatus == 0 ? '#c2c2c2' : '#fff', }" + v-html="item.message" > - {{ item.message }}
{{ item.createTime }} @@ -1139,6 +1140,7 @@