From de9a4d79bdde483b39c9d5292584844495c83a15 Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期一, 04 十一月 2024 15:35:36 +0800 Subject: [PATCH] update --- src/views/mdc/base/MasterControlWorkshopSignage.vue | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/views/mdc/base/MasterControlWorkshopSignage.vue b/src/views/mdc/base/MasterControlWorkshopSignage.vue index efd16d2..3f87dc4 100644 --- a/src/views/mdc/base/MasterControlWorkshopSignage.vue +++ b/src/views/mdc/base/MasterControlWorkshopSignage.vue @@ -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 @@ } }, + /** * 绐楀彛灏哄鍙樺寲鏃惰Е鍙� * 璋冩暣鍥捐〃灏哄浠ラ�傚簲鍒嗚鲸鐜� @@ -2428,6 +2430,19 @@ 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; + } } } -- Gitblit v1.9.3