党建大屏

This commit is contained in:
yanran200730
2022-05-06 16:25:55 +08:00
parent 55e3ab0612
commit 39f6cb1ff2
5 changed files with 101 additions and 4 deletions

View File

@@ -61,9 +61,10 @@
:params="query" :params="query"
@change="onChange" @change="onChange"
:urlPrefix="urlPrefix" :urlPrefix="urlPrefix"
:theme="config.theme"
@close="isShowLayout = false"> @close="isShowLayout = false">
</Layout> </Layout>
<ai-dv-wrapper :views="[{label: '返回'}]" @change="screenId = false" v-if="screenId" :title="form.name"> <ai-dv-wrapper :views="[{label: '返回'}]" :theme="config.theme" @change="screenId = false" v-if="screenId" :title="form.name">
<AiDvBackground <AiDvBackground
:theme="config.theme" :theme="config.theme"
v-if="config.length || config.theme === '1'" v-if="config.length || config.theme === '1'"

View File

@@ -60,7 +60,7 @@
width: bigscreenWidth + 'px', width: bigscreenWidth + 'px',
height: bigscreenHeight + 'px' height: bigscreenHeight + 'px'
}"> }">
<ai-dv-wrapper style="height: 100%" :title="params.name"> <ai-dv-wrapper style="height: 100%" :title="params.name" :theme="dashboard.theme">
<div style="width: 100%; height: 100%"> <div style="width: 100%; height: 100%">
<AiDvBackground <AiDvBackground
:theme="dashboard.theme" :theme="dashboard.theme"

View File

@@ -13,7 +13,6 @@ const promisify = fn => {
return new Promise(function (resolve, reject) { return new Promise(function (resolve, reject) {
[].push.call(args, function (err, result) { [].push.call(args, function (err, result) {
if (err) { if (err) {
console.log(err)
reject(err); reject(err);
} else { } else {
resolve(result); resolve(result);

View File

@@ -30,6 +30,7 @@ export default {
.slot { .slot {
width: 100%; width: 100%;
height: calc(100% - 0px); height: calc(100% - 0px);
padding: 20px 10px 20px;
background: rgba(120, 0, 0, 0.2); background: rgba(120, 0, 0, 0.2);
border: 1px solid rgba(203, 45, 0, 0.5); border: 1px solid rgba(203, 45, 0, 0.5);
} }

View File

@@ -1,5 +1,5 @@
<template> <template>
<section class="AiDvWrapper"> <section class="AiDvWrapper" :class="'AiDvWrapper' + theme">
<dv-full-screen-container> <dv-full-screen-container>
<div class="viewPanel column" flex> <div class="viewPanel column" flex>
<el-row type="flex" class="headerPane"> <el-row type="flex" class="headerPane">
@@ -74,6 +74,10 @@ export default {
views: { views: {
default: () => [] default: () => []
}, },
theme: {
default: '0',
type: String
},
value: {default: ''} value: {default: ''}
}, },
computed: { computed: {
@@ -519,6 +523,98 @@ export default {
} }
} }
} }
&.AiDvWrapper1 {
.headerBottomBorder {
display: none;
background-image: none;
&::before {
display: none;
}
}
.headerPane {
align-items: initial;
z-index: 11;
padding-bottom: 32px;
background-image: url("https://cdn.cunwuyun.cn/dvcp/dv/img/dj-title.svg");
background-repeat: no-repeat;
// background-size: 100% 88px;
background-position-x: -8px;
}
.breatheLights {
display: none!important;
}
.headerPane .headerCenter {
height: 100%;
line-height: 1;
background-image: none;
&::before {
display: none;
}
.headerZone {
height: 88px;
background-image: none;
span {
top: 45%;
line-height: 1;
font-size: 32px;
font-family: FZZZHONGJW--GB1-0, FZZZHONGJW--GB1;
font-weight: normal;
color: #CEE1FF;
font-weight: 600;
line-height: 38px;
letter-spacing: 2px;
text-shadow: 0px 2px 4px rgba(117, 9, 9, 0.1);
background: linear-gradient(180deg, #FFF6C7 0%, #FF9A02 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
.fly {
display: none;
}
}
.rightTopBorder {
background: none;
box-shadow: none;
::v-deep .corner {
display: none!important;
}
}
.time {
font-size: 20px;
font-weight: 400;
color: #FF9A02;
line-height: 22px;
text-shadow: 0px 2px 4px rgba(117, 9, 9, 0.1);
background: linear-gradient(180deg, #FFF6C7 0%, #FF9A02 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.setting {
cursor: pointer;
background-image: url("https://cdn.cunwuyun.cn/dvcp/dv/img/setting.svg")!important;
background-repeat: no-repeat;
background-position: center center;
}
.fullscreen {
cursor: pointer;
background-image: url("https://cdn.cunwuyun.cn/dvcp/dv/img/fullscreen.svg")!important;
background-repeat: no-repeat;
background-position: center center;
}
}
} }
@keyframes breatheList { @keyframes breatheList {