黄何裕
2024-07-22 3c0701d153c00d3f5458fce7e14c5a23a795541b
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>