|
@@ -5,6 +5,7 @@ import {ref,onMounted,nextTick} from 'vue'
|
|
|
import { useRoute ,useRouter} from 'vue-router'
|
|
|
import { useStore } from 'vuex';
|
|
|
import {useWaterMark} from '@/hooks/waterMark.js'
|
|
|
+import { apiBaseConfig } from '@/api/common'
|
|
|
|
|
|
const route=useRoute()
|
|
|
const router=useRouter()
|
|
@@ -31,6 +32,16 @@ const getInfo=async ()=>{
|
|
|
}
|
|
|
getInfo()
|
|
|
|
|
|
+const disclaimer = ref('')
|
|
|
+function getConfig() {
|
|
|
+ apiBaseConfig().then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ disclaimer.value = res.data.disclaimer
|
|
|
+ }
|
|
|
+ })
|
|
|
+}
|
|
|
+getConfig()
|
|
|
+
|
|
|
// 设置tag颜色
|
|
|
const getTagColor=(str)=>{
|
|
|
if( str.includes('多')||str.includes('强')||str.includes('反弹') ){
|
|
@@ -136,7 +147,7 @@ let showDisclaimers=ref(false)
|
|
|
<span>{{info.report_info.author}}</span>
|
|
|
<span class="time">{{moment(info.research_report_info.researchReportDate).format('YYYY-MM-DD HH:mm:ss')}}</span>
|
|
|
</div>
|
|
|
- <div class="tips">
|
|
|
+ <div class="tips" v-if="disclaimer">
|
|
|
<span>注:请务必阅读</span>
|
|
|
<span style="color:#F3A52F;margin-left:20px;cursor: pointer;" @click="showDisclaimers=true">免责声明</span>
|
|
|
</div>
|