-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
144 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<template> | ||
<div> | ||
<RulePanelView></RulePanelView> | ||
<VideoFilterPanelView></VideoFilterPanelView> | ||
<CommentFilterPanelView></CommentFilterPanelView> | ||
<DynamicFilterPanelView></DynamicFilterPanelView> | ||
<ContextMenuView></ContextMenuView> | ||
</div> | ||
</template> | ||
<script setup lang="ts"> | ||
import CommentFilterPanelView from './views/CommentFilterPanelView.vue' | ||
import ContextMenuView from './views/ContextMenuView.vue' | ||
import DynamicFilterPanelView from './views/DynamicFilterPanelView.vue' | ||
import RulePanelView from './views/RulePanelView.vue' | ||
import VideoFilterPanelView from './views/VideoFilterPanelView.vue' | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import { defineStore } from 'pinia' | ||
import { ref } from 'vue' | ||
|
||
/** | ||
* 控制几种panel的显示/隐藏状态 | ||
*/ | ||
|
||
export const useRulePanelStore = defineStore('RulePanel', () => { | ||
const isShow = ref(false) | ||
const show = () => { | ||
isShow.value = true | ||
} | ||
const hide = () => { | ||
isShow.value = false | ||
} | ||
return { isShow, show, hide } | ||
}) | ||
|
||
export const useVideoFilterPanelStore = defineStore('VideoFilterPanel', () => { | ||
const isShow = ref(false) | ||
const show = () => { | ||
isShow.value = true | ||
} | ||
const hide = () => { | ||
isShow.value = false | ||
} | ||
return { isShow, show, hide } | ||
}) | ||
|
||
export const useCommentFilterPanelStore = defineStore('CommentFilterPanel', () => { | ||
const isShow = ref(false) | ||
const show = () => { | ||
isShow.value = true | ||
} | ||
const hide = () => { | ||
isShow.value = false | ||
} | ||
return { isShow, show, hide } | ||
}) | ||
|
||
export const useDynamicFilterPanelStore = defineStore('DynamicFilterPanel', () => { | ||
const isShow = ref(false) | ||
const show = () => { | ||
isShow.value = true | ||
} | ||
const hide = () => { | ||
isShow.value = false | ||
} | ||
return { isShow, show, hide } | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters