Skip to content

Commit

Permalink
删除无用文件
Browse files Browse the repository at this point in the history
  • Loading branch information
more-strive committed Sep 13, 2024
1 parent b5141df commit dea4c93
Show file tree
Hide file tree
Showing 62 changed files with 5 additions and 13,046 deletions.
14 changes: 4 additions & 10 deletions src/views/Editor/CanvasBody/CanvasLeft/Label/index.vue
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
<template>
<div>
<div class="left-bottom-tabs">
<div class="center-tabs">
<div class="h-full border-r-[1px]">
<div class="center-tab" :class="{ 'left-active': tab.key === poolType }" v-for="tab in topTabs" :key="tab.key" @click="setPoolType(tab.key)">
<div class="flex justify-center items-center flex-col" :id="`left-tabs-${tab.key}`">
<SvgIcon :icon-class="tab.icon" className="svg-size" />
<div class="left-name">{{ $t(tab.label) }}</div>
</div>
</div>
</div>
<div class="bottom-tabs">
<!-- <div class="bottom-tab" :class="{ 'left-active': 'layer' === poolType }" @click="setPoolType('layer')">
<div :id="`left-tabs-layer`">
<div><SvgIcon icon-class="layer" className="svg-size" /></div>
<div class="left-name">{{ $t("message.layer") }}</div>
</div>
</div> -->
<!-- <div class="bottom-tabs">
<div class="bottom-tab" :class="{ 'left-active': 'help' === poolType }" ref="helpRef" @click="setPoolType('help')">
<div :id="`left-tabs-help`">
<div><SvgIcon icon-class="help" className="svg-size" /></div>
Expand All @@ -24,7 +18,7 @@
</div>
<HelpPopover :help-ref="helpRef" :help-popover-ref="helpPopoverRef" />
<HotkeyDrawer :has-hotkey="hasHotkey" />
</div>
</div> -->
</div>
</div>
</template>
Expand Down Expand Up @@ -104,7 +98,7 @@ const goHome = () => {
.center-tabs {
// overflow-y: scroll;
overflow-x: hidden;
height: calc(100vh - 100px);
height: 100vh;
.center-tab:hover {
background: #f1f1f1;
border-radius: 5px;
Expand Down
2 changes: 1 addition & 1 deletion src/views/Editor/CanvasBody/CanvasLeft/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="flex">
<Label class="w-[50px] h-[100vh] z-10 bg-[#fff]" />
<Label class="w-[72px] h-[100vh] z-10 bg-[#fff]" />
<Menu />
<Thumb class="w-[160px] h-full flex flex-shrink-0 bg-[#fff] flex-col select-none" />
</div>
Expand Down
74 changes: 0 additions & 74 deletions src/views/Editor/CanvasLeft/Label/components/HelpPopover.vue

This file was deleted.

54 changes: 0 additions & 54 deletions src/views/Editor/CanvasLeft/Label/components/HotkeyDrawer.vue

This file was deleted.

Loading

0 comments on commit dea4c93

Please sign in to comment.