src/components/RightPanel/index.vue
@@ -2,9 +2,10 @@ <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"> <!-- todo --> <!-- <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> --> <div class="rightPanel-items"> <slot /> </div>