From d36b601e3daebd7406a9fa3e9204ce9df3c2c68a Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 24 六月 2023 09:31:57 +0800
Subject: [PATCH] 1.系统设置按钮放到右上角下拉位置
---
src/components/RightPanel/index.vue | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/components/RightPanel/index.vue b/src/components/RightPanel/index.vue
index d89c4e5..16cd5d3 100644
--- a/src/components/RightPanel/index.vue
+++ b/src/components/RightPanel/index.vue
@@ -2,9 +2,9 @@
<div ref="rightPanel" :class="{show:show}" class="rightPanel-container">
<div class="rightPanel-background" />
<div class="rightPanel">
- <div class="handle-button" :style="{'top':buttonTop+'px','background-color':theme}" @click="show=!show">
- <i :class="show?'el-icon-close':'el-icon-setting'" />
- </div>
+ <!-- <div class="handle-button" :style="{'top':buttonTop+'px','background-color':theme}" @click="show=!show">-->
+ <!-- <i :class="show?'el-icon-close':'el-icon-setting'" />-->
+ <!-- </div>-->
<div class="rightPanel-items">
<slot />
</div>
@@ -38,16 +38,16 @@
}
},
watch: {
- show(value) {
- if (value && !this.clickNotClose) {
- this.addEventClick()
- }
- // if (value) {
- // addClass(document.body, 'showRightPanel')
- // } else {
- // removeClass(document.body, 'showRightPanel')
- // }
- }
+ // show(value) {
+ // if (value && !this.clickNotClose) {
+ // this.addEventClick()
+ // }
+ // // if (value) {
+ // // addClass(document.body, 'showRightPanel')
+ // // } else {
+ // // removeClass(document.body, 'showRightPanel')
+ // // }
+ // }
},
mounted() {
this.insertToBody()
--
Gitblit v1.9.3