feat: 屏蔽miaoDirectory底部工具栏,更新readme计划书
This commit is contained in:
1 parent
8e884eb178
commit
938dde4c1c
2 files changed
+31
-6
No files matched your search
@@ -1,13 +1,15 @@
|
|||||||
## TODO list:
|
## TODO list:
|
||||||
|
|
||||||
| 任务 | 状态 |
|
| 计划 | 状态 |
|
||||||
|---|---|
|
|---|---|
|
||||||
| 拆分miaoDirectory | ✅ |
|
| 拆分miaoDirectory | ✅ |
|
||||||
| 完善视频插件 | ✅ |
|
| 完善视频插件 | ✅ |
|
||||||
| 完善PDF插件 | ✅ |
|
| 完善PDF插件 | ✅ |
|
||||||
| 完善Code插件 | ✅ |
|
| 完善Code插件 | ✅ |
|
||||||
| 实现miaoDirectory的搜索功能 | ❌ |
|
| 实现miaoDirectory的搜索功能 | ✅ |
|
||||||
| 完善miaoDirectory的搜索功能 | ❌ |
|
| 完善miaoDirectory的搜索功能 | ❌ |
|
||||||
|
| 实现miaoDirectory的排序功能 | ❌ |
|
||||||
| 完善图片浏览插件 | ❌ |
|
| 完善图片浏览插件 | ❌ |
|
||||||
| VirtualDirectory更新时更新文件信息 | ❌ |
|
| VirtualDirectory更新时更新文件信息 | ❌ |
|
||||||
|
| 创建音乐播放器组件(仿QQ音乐移动端吧) | ❌ |
|
||||||
| miaoDirectory的复制文件/文件夹功能 | ❌ |
|
| miaoDirectory的复制文件/文件夹功能 | ❌ |
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
@item-drag-start="handleItemDragStart" @item-rename="handleItemRename" @item-select="handleItemSelect" />
|
@item-drag-start="handleItemDragStart" @item-rename="handleItemRename" @item-select="handleItemSelect" />
|
||||||
|
|
||||||
<!-- 底部工具栏 -->
|
<!-- 底部工具栏 -->
|
||||||
<miao-directory-bottom :index="index" @add-new-item="handleAddNewItem"
|
<miao-directory-bottom :index="index" @add-new-item="handleAddNewItem" v-if="false"
|
||||||
@pick-files-upload="handlePickFilesUpload" />
|
@pick-files-upload="handlePickFilesUpload" />
|
||||||
|
|
||||||
<miao-mask v-model:show="showModel"></miao-mask>
|
<miao-mask v-model:show="showModel"></miao-mask>
|
||||||
@@ -44,8 +44,10 @@ import MiaoDropHandler from '@/components/miaoDropHandler.vue'
|
|||||||
import { NIcon } from 'naive-ui'
|
import { NIcon } from 'naive-ui'
|
||||||
import {
|
import {
|
||||||
CloseOutline, SearchOutline, FilterOutline, CheckmarkDoneOutline,
|
CloseOutline, SearchOutline, FilterOutline, CheckmarkDoneOutline,
|
||||||
DocumentText,
|
DocumentText, ExtensionPuzzleOutline,
|
||||||
FileTray
|
FileTray,
|
||||||
|
AddOutline,
|
||||||
|
CloudUploadOutline
|
||||||
} from '@vicons/ionicons5'
|
} from '@vicons/ionicons5'
|
||||||
import usePluginCenter from '@/hooks/usePluginCenter'
|
import usePluginCenter from '@/hooks/usePluginCenter'
|
||||||
|
|
||||||
@@ -145,6 +147,16 @@ const showData_files = computed<VirtualFile[]>(() => {
|
|||||||
|
|
||||||
const topBarMenuOption = computed(() => {
|
const topBarMenuOption = computed(() => {
|
||||||
return [
|
return [
|
||||||
|
{
|
||||||
|
label: '新建',
|
||||||
|
key: 'create',
|
||||||
|
icon: renderIcon(AddOutline)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '上传',
|
||||||
|
key: 'upload',
|
||||||
|
icon: renderIcon(CloudUploadOutline)
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: '搜索',
|
label: '搜索',
|
||||||
key: 'search',
|
key: 'search',
|
||||||
@@ -177,10 +189,17 @@ const topBarMenuOption = computed(() => {
|
|||||||
],
|
],
|
||||||
icon: renderIcon(FilterOutline)
|
icon: renderIcon(FilterOutline)
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '插件',
|
||||||
|
key: 'plugin',
|
||||||
|
children: [
|
||||||
...pluginCenter.getUsablePlugin([currentDirectories.value[0]], []).map(v => ({
|
...pluginCenter.getUsablePlugin([currentDirectories.value[0]], []).map(v => ({
|
||||||
label: `插件:${v.name}`,
|
label: `${v.name}`,
|
||||||
key: `plugin:${v.key}`
|
key: `plugin:${v.key}`
|
||||||
})),
|
})),
|
||||||
|
],
|
||||||
|
icon: renderIcon(ExtensionPuzzleOutline)
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: '关闭',
|
label: '关闭',
|
||||||
key: 'close',
|
key: 'close',
|
||||||
@@ -242,6 +261,10 @@ const handleTopBarMenuSelect = (key: string) => {
|
|||||||
emit('exit')
|
emit('exit')
|
||||||
} else if (key === 'search') {
|
} else if (key === 'search') {
|
||||||
handleSearch()
|
handleSearch()
|
||||||
|
} else if (key === 'upload') {
|
||||||
|
handlePickFilesUpload()
|
||||||
|
} else if (key === 'create') {
|
||||||
|
handleAddNewItem()
|
||||||
} else if (key === 'searchReset') {
|
} else if (key === 'searchReset') {
|
||||||
handleSearchReset()
|
handleSearchReset()
|
||||||
} else if (key === 'selectedItemReset') {
|
} else if (key === 'selectedItemReset') {
|
||||||
|
|||||||
Reference in new issue
Block a user