From a6cdefdc2e7ae80b50a13a1a62248007ae06247c Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期一, 04 十一月 2024 16:02:50 +0800 Subject: [PATCH] 更换全局项目logo --- src/views/mdc/base/MasterControlWorkshopSignage.vue | 26 +++++++++++++++++++++----- 1 files changed, 21 insertions(+), 5 deletions(-) diff --git a/src/views/mdc/base/MasterControlWorkshopSignage.vue b/src/views/mdc/base/MasterControlWorkshopSignage.vue index efd16d2..67fe88d 100644 --- a/src/views/mdc/base/MasterControlWorkshopSignage.vue +++ b/src/views/mdc/base/MasterControlWorkshopSignage.vue @@ -23,7 +23,7 @@ <div class="page-title"> <div style="position: relative"> - <img src="../../../assets/image/logo.jpg"> + <img src="@/assets/logo-yt.png"> <span style="cursor: pointer" @dblclick="modalVisible=true">{{isFakeData?fakeData.title:'涓�鎷栧ぇ鎷栬閰嶅巶'}}</span> </div> @@ -67,8 +67,9 @@ <div class="switch-container"> <div class="switch-item" v-for="(item,index) in switchList" :key="index" @click="navigateToOthers(item,index)" - :style="{backgroundColor:activeIndex===index?'#848284':'#6B6D6B',color:activeIndex==index?'#27A2DB':'#000'}"> - {{item.label}} + :style="{color:activeIndex==index?'#27A2DB':'#000'}"> + <img src="@/assets/navigateImg.png"> + <span>{{item.label}}</span> </div> </div> @@ -2320,6 +2321,7 @@ } }, + /** * 绐楀彛灏哄鍙樺寲鏃惰Е鍙� * 璋冩暣鍥捐〃灏哄浠ラ�傚簲鍒嗚鲸鐜� @@ -2382,8 +2384,9 @@ text-align: center; img { + height: 100%; + width: 10%; position: absolute; - width: 12%; left: 12%; } } @@ -2428,13 +2431,26 @@ flex: 1; text-align: center; cursor: pointer; + position: relative; + + span { + position: relative; + z-index: 1; + } + img { + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + } } } .page-description { text-align: center; color: #fff; - font-size: 14px; + font-size: 0.7vw; } } -- Gitblit v1.9.3