From f9d5e512222bca17ef231a0e74c19b38d60727b3 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Wed, 11 May 2022 16:47:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=20=E7=8E=AF=E5=BD=A2?= =?UTF-8?q?=E5=9B=BE=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bigscreen/designer/components/Layout.vue | 2 +- .../designer/components/RenderElement.vue | 19 +-- .../dvui/layout/AiDvSummary/AiDvSummary.vue | 2 + .../AiDvSummary/components/DonutChart.vue | 137 ++++++++++++++++++ .../AiDvSummary/components/Summary8.vue | 127 ++++++++++++++++ 5 files changed, 277 insertions(+), 10 deletions(-) create mode 100644 project/dvui/layout/AiDvSummary/components/DonutChart.vue create mode 100644 project/dvui/layout/AiDvSummary/components/Summary8.vue diff --git a/packages/bigscreen/designer/components/Layout.vue b/packages/bigscreen/designer/components/Layout.vue index b3a5e5b7..a0968a0d 100644 --- a/packages/bigscreen/designer/components/Layout.vue +++ b/packages/bigscreen/designer/components/Layout.vue @@ -403,7 +403,7 @@ value: '0' }], images: [], - summaryList: ['summary0', 'summary1', 'summary2', 'summary3', 'summary4', 'summary5', 'summary7', 'summary9', 'summary10'], + summaryList: ['summary0', 'summary1', 'summary2', 'summary3', 'summary4', 'summary6', 'summary5', 'summary7', 'summary8', 'summary9', 'summary10'], borderList: ['border0', 'border1', 'border2', 'border3', 'border4', 'border5'] } }, diff --git a/packages/bigscreen/designer/components/RenderElement.vue b/packages/bigscreen/designer/components/RenderElement.vue index f67025b9..e0f99bd4 100644 --- a/packages/bigscreen/designer/components/RenderElement.vue +++ b/packages/bigscreen/designer/components/RenderElement.vue @@ -222,15 +222,6 @@ .render-element { ::v-deep .dvScrollBoard1 { - .index { - color: #fff; - text-shadow: none; - background: transparent; - background-color: #BD4921!important; - -webkit-background-clip: inherit; - -webkit-text-fill-color: #fff; - } - .header { background: rgba(0, 0, 0, 0.1)!important; @@ -251,9 +242,19 @@ background: linear-gradient(180deg, #FFF6C7 0%, #FF9A02 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; + & > div:nth-of-type(2n) { background: rgba(0, 0, 0, 0.1)!important; } + + .index { + color: #fff; + text-shadow: none; + background: transparent; + background-color: #BD4921!important; + -webkit-background-clip: inherit; + -webkit-text-fill-color: #fff; + } } } } diff --git a/project/dvui/layout/AiDvSummary/AiDvSummary.vue b/project/dvui/layout/AiDvSummary/AiDvSummary.vue index 14942010..4c77ccb8 100644 --- a/project/dvui/layout/AiDvSummary/AiDvSummary.vue +++ b/project/dvui/layout/AiDvSummary/AiDvSummary.vue @@ -13,6 +13,7 @@ import Summary5 from './components/Summary5' import Summary6 from './components/Summary6' import Summary7 from './components/Summary7' + import Summary8 from './components/Summary8' import Summary9 from './components/Summary9' import Summary10 from './components/Summary10' @@ -28,6 +29,7 @@ Summary5, Summary6, Summary7, + Summary8, Summary9, Summary10 }, diff --git a/project/dvui/layout/AiDvSummary/components/DonutChart.vue b/project/dvui/layout/AiDvSummary/components/DonutChart.vue new file mode 100644 index 00000000..85f1d5e9 --- /dev/null +++ b/project/dvui/layout/AiDvSummary/components/DonutChart.vue @@ -0,0 +1,137 @@ + + + + + diff --git a/project/dvui/layout/AiDvSummary/components/Summary8.vue b/project/dvui/layout/AiDvSummary/components/Summary8.vue new file mode 100644 index 00000000..cdf23083 --- /dev/null +++ b/project/dvui/layout/AiDvSummary/components/Summary8.vue @@ -0,0 +1,127 @@ + + + + +