From b5c6e17f2e9cb10ed323c1adfa2e449bab307134 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 17 一月 2025 15:15:12 +0800
Subject: [PATCH] 考核结果路由跳转、工单详情权限
---
src/views/screen/components/select-item/index.vue | 43 +++++++++++++++++++++++++++----------------
1 files changed, 27 insertions(+), 16 deletions(-)
diff --git a/src/views/screen/components/select-item/index.vue b/src/views/screen/components/select-item/index.vue
index 9a6d6bf..f93947a 100644
--- a/src/views/screen/components/select-item/index.vue
+++ b/src/views/screen/components/select-item/index.vue
@@ -1,19 +1,13 @@
<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-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane
v-for="item in testData1"
:label="item.name"
:name="item.value"
></el-tab-pane>
- </el-tabs> -->
- <!-- <div>
- <el-button>
-
- </el-button>
- </div> -->
+ </el-tabs>
</div>
<!-- <div class="type-select">
<div class="select-label">鏁版嵁婧�</div>
@@ -127,8 +121,8 @@
<style lang="scss" scoped>
.select-container {
position: absolute;
- top: 10px;
- left: 20px;
+ top: 0px;
+ left: 0px;
display: flex;
align-items: center;
justify-content: space-between;
@@ -165,15 +159,22 @@
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;
+ font-size: 20px;
}
.is-active {
- color: #4481dd !important;
+ color: #66b5ff !important;
+ background: url("../../../../assets/images/screen/button1.png");
+ background-size: cover !important;
+ background-repeat: no-repeat !important;
+ background-position: center center !important;
}
}
::v-deep .el-input__inner {
@@ -189,10 +190,20 @@
::v-deep .date-select .el-date-editor .el-range-separator {
color: #4481dd !important;
}
-.transparent-button {
- background-color: transparent;
- border-color: #23f0ed;
- color: #0d6adb; /* 杩欓噷璁剧疆鎸夐挳鏂囧瓧棰滆壊 */
-
+// }
+/* 鍘绘帀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