From 8d4470db21e4dbe6d47a24b38fb75db15aeb614c Mon Sep 17 00:00:00 2001 From: "DESKTOP-FUDKNA8\\znjsz" Date: Wed, 10 Apr 2024 14:07:42 +0800 Subject: [PATCH] add fullscreen --- src/views/dashboard/components/Header.vue | 41 +++++++++++++++++++++-- src/views/index.vue | 6 ++-- 2 files changed, 41 insertions(+), 6 deletions(-) diff --git a/src/views/dashboard/components/Header.vue b/src/views/dashboard/components/Header.vue index 66533e1..5d3ad8e 100644 --- a/src/views/dashboard/components/Header.vue +++ b/src/views/dashboard/components/Header.vue @@ -7,6 +7,7 @@ @@ -34,6 +58,17 @@ export default { position: relative; display: grid; place-content: center; + + .btn { + cursor: pointer; + position: absolute; + width: 2vw; + height: 2vw; + top: 50%; + right: 1.18vw; + background-size: 100% 100%; + background-position: 0 0; + } } h1 { diff --git a/src/views/index.vue b/src/views/index.vue index 8424954..67edf32 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -48,7 +48,7 @@ import CompanyInfo from "./dashboard/components/CompanyInfo.vue"; import Container from "./dashboard/components/Container.vue"; import ChartContainer from "./dashboard/components/ChartContainer.vue"; import FtoChart from "./dashboard/charts/Fto.vue"; -import ChipInvestChart from './dashboard/charts/ChipInvest.vue'; +import ChipInvestChart from "./dashboard/charts/ChipInvest.vue"; export default { name: "Index", @@ -58,7 +58,7 @@ export default { DbContainer: Container, ChartContainer, FtoChart, - ChipInvestChart + ChipInvestChart, }, data() { return { @@ -145,7 +145,7 @@ export default { left: 54px; height: 100vh; width: calc(100vw - 54px); - z-index: 1000; + z-index: 1001; color: #fff; }