党建主题适配

This commit is contained in:
yanran200730
2023-03-10 16:22:01 +08:00
parent da6bbc2a40
commit e210352339
2 changed files with 6 additions and 2 deletions

View File

@@ -59,7 +59,11 @@
width: bigscreenWidth + 'px',
height: bigscreenHeight + 'px'
}">
<ai-dv-wrapper style="height: 100%" :title="$route.query.name" :theme="dashboard.theme">
<ai-dv-wrapper
style="height: 100%"
:title="$route.query.name"
:theme="dashboard.theme"
:background="dashboard.theme == 1 ? 'https://cdn.cunwuyun.cn/dvcp/dv/img/dj_bg.png' : (dashboard.backgroundImage[0].url || '')">
<div style="width: 100%; height: 100%">
<AiDvBackground
:theme="dashboard.theme"

View File

@@ -22,7 +22,7 @@ export default {
},
computed: {
screenId: v => v.$route.query.id,
bgImg: v => v.config.theme == 1 ? 'https://cdn.cunwuyun.cn/dvcp/dv/img/dj-bg.png' : (v.config.backgroundImage?.[0]?.url || "")
bgImg: v => v.config.theme == 1 ? 'https://cdn.cunwuyun.cn/dvcp/dv/img/dj_bg.png' : (v.config.backgroundImage?.[0]?.url || "")
},
data() {
return {