From 3c0701d153c00d3f5458fce7e14c5a23a795541b Mon Sep 17 00:00:00 2001
From: 黄何裕 <1053952480@qq.com>
Date: 星期一, 22 七月 2024 17:09:35 +0800
Subject: [PATCH] 大屏按钮样式修改

---
 src/views/screen/components/select-item/index.vue |   30 +++++++++++++++++++++++++++---
 1 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/src/views/screen/components/select-item/index.vue b/src/views/screen/components/select-item/index.vue
index 261d5f5..6144a10 100644
--- a/src/views/screen/components/select-item/index.vue
+++ b/src/views/screen/components/select-item/index.vue
@@ -1,6 +1,7 @@
 <template>
   <div class="select-container">
     <div class="tabs-box">
+      <!-- <el-button v-for="item in testData1" class="transparent-button">{{ item.name }} </el-button> -->
       <el-tabs v-model="activeName" @tab-click="handleClick">
         <el-tab-pane
           v-for="item in testData1"
@@ -14,7 +15,6 @@
         </el-button>
       </div> -->
     </div>
-
     <!-- <div class="type-select">
       <div class="select-label">鏁版嵁婧�</div>
       <el-select
@@ -165,15 +165,18 @@
     display: flex;
     align-items: center;
     width: 320px;
+    margin-top: -15px
   }
 }
 ::v-deep .tabs-box {
+  margin-top: 5px;
   width: 40%;
   .el-tabs__item {
     color: #ffffff !important;
   }
-  .is-active{
-    color: #4481dd !important;
+  .is-active {
+    color: #61aef7 !important;
+    background: url('../../../../assets/images/screen/button1.png');;
   }
 }
 ::v-deep .el-input__inner {
@@ -189,4 +192,25 @@
 ::v-deep .date-select .el-date-editor .el-range-separator {
   color: #4481dd !important;
 }
+// .transparent-button {
+//   background-color: transparent;
+//   border-color: #23f0ed;
+//   color: #b944dd; /* 杩欓噷璁剧疆鎸夐挳鏂囧瓧棰滆壊 */
+  
+// }
+/* 鍘绘帀tabs鏍囩鏍忎笅鐨勪笅鍒掔嚎 */
+::v-deep .el-tabs__nav-wrap::after {
+  position: static !important;
+  /* background-color: #fff; */
+}
+/* 涓嬪垝绾垮垏鎹㈤珮浜� */
+::v-deep .el-tabs__active-bar {
+  background-color: #4481DD;
+}
+::v-deep .el-tabs__item{
+  margin: 5px 30px;
+  padding: 0px 25px !important;
+  border-radius: 5px;
+  background: url('../../../../assets/images/screen/button.png');
+}
 </style>

--
Gitblit v1.8.0