From 2281a3da368d9366e7d97e85719fe0f4a0492f9b Mon Sep 17 00:00:00 2001 From: 李林 <z1292839451@163.com> Date: 星期一, 18 三月 2024 01:05:37 +0800 Subject: [PATCH] 功能调整 --- src/view/index.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/view/index.vue b/src/view/index.vue index 3a373e8..c8ddf1c 100644 --- a/src/view/index.vue +++ b/src/view/index.vue @@ -162,8 +162,7 @@ } .tag>.el-icon-s-unfold, - .el-icon-s-fold, - .tag>.el-icon-delete { + .el-icon-s-fold{ font-size: 16px; cursor: pointer; margin: 0 8px; @@ -211,6 +210,11 @@ .active_tab i { display: inline; color: #3A7BFA; + border-radius: 50%; + } + + .active_tab i:hover{ + background-color: rgba(0, 0, 0, 0.08); } .component_view { @@ -311,7 +315,6 @@ <i class="el-icon-close" @click="removeTab(ai)" v-if="tabActive!=0"></i> </div> </div> - <i class="el-icon-delete" @click="allDel" title="鍒犻櫎鎵�鏈夋爣绛鹃〉"></i> </div> <div class="component_view"> <component class="com_index" v-for="(com, index) in tabs" :is="com.u" :key="com.k" v-show="com.k == tabActive" @@ -423,10 +426,7 @@ removeTab(index) { this.tabs.splice(index, 1); let data = this.tabs[this.tabs.length - 1] - this.activeP = data.k; - this.tabActive = data.k; - this.activeBox = data.k - this.saveClick() + this.upTabActive(data.k) }, allDel() { this.activeBox = 0 -- Gitblit v1.9.3