From fce89affcbc15073f2e41b647239b3fff777006b Mon Sep 17 00:00:00 2001 From: TreeWish <1131093754@qq.com> Date: 星期一, 27 二月 2023 14:20:27 +0800 Subject: [PATCH] 修改切换逻辑 --- src/components/Screen/top.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/Screen/top.vue b/src/components/Screen/top.vue index 8355adb..e10734b 100644 --- a/src/components/Screen/top.vue +++ b/src/components/Screen/top.vue @@ -1,7 +1,7 @@ <template> <div class="top"> <div class="topleft"> - <!-- <div + <div class="topleft1" :class="currView == 'chart' ? 'active' : ''" @click="OpenInitChart" @@ -9,7 +9,7 @@ <img src="../../assets/img/Screen/bigST.png" /> <span>澶у睆瑙嗗浘</span> </div> - <div + <!-- <div class="topleft1" @click="OpenProjectree" :class="currView == 'tree' ? 'active' : ''" @@ -87,7 +87,7 @@ display: flex; flex-direction: row; align-items: flex-end; - justify-content: space-around; + // justify-content: space-around; cursor: pointer; .topleft1 { width: 127px; @@ -99,6 +99,7 @@ background-size: 100% 100%; display: flex; align-items: center; + margin-left: 10%; } .active { background-image: url(../../assets/img/Screen/btnc.png); -- Gitblit v1.9.3