mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-04-05 03:33:16 +08:00
Web
This commit is contained in:
61
web/src/components/TopToolbar.vue
Normal file
61
web/src/components/TopToolbar.vue
Normal file
@@ -0,0 +1,61 @@
|
||||
<template>
|
||||
<div>
|
||||
|
||||
<v-navigation-drawer
|
||||
app
|
||||
fixed
|
||||
v-model="showMenu"
|
||||
>
|
||||
<v-list dense>
|
||||
<v-list-item @click="doNothing">
|
||||
<v-list-item-action>
|
||||
<v-icon>settings</v-icon>
|
||||
</v-list-item-action>
|
||||
<v-list-item-content>
|
||||
<v-list-item-title>Settings</v-list-item-title>
|
||||
</v-list-item-content>
|
||||
</v-list-item>
|
||||
<v-list-item @click="doNothing">
|
||||
<v-list-item-action>
|
||||
<v-icon>help</v-icon>
|
||||
</v-list-item-action>
|
||||
<v-list-item-content>
|
||||
<v-list-item-title>Help</v-list-item-title>
|
||||
</v-list-item-content>
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
</v-navigation-drawer>
|
||||
|
||||
<v-app-bar
|
||||
app
|
||||
fixed
|
||||
dark
|
||||
color="primary"
|
||||
>
|
||||
<v-app-bar-nav-icon @click.stop="toggleMenu"></v-app-bar-nav-icon>
|
||||
|
||||
<v-toolbar-title>SubStore</v-toolbar-title>
|
||||
|
||||
</v-app-bar>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data: () => {
|
||||
return {
|
||||
showMenu: false
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
toggleMenu: function() {
|
||||
this.showMenu = !this.showMenu;
|
||||
},
|
||||
doNothing: function() {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user