Classic UI

This commit is contained in:
syuilo
2021-07-19 11:36:35 +09:00
parent 04e27e160e
commit 42d293ee60
19 changed files with 391 additions and 67 deletions

View File

@ -61,7 +61,7 @@ import XCommon from './_common_/common.vue';
import XHeader from './_common_/header.vue';
import XSide from './default.side.vue';
import * as os from '@client/os';
import { sidebarDef } from '@client/sidebar';
import { menuDef } from '@client/menu';
import * as symbols from '@client/symbols';
const DESKTOP_THRESHOLD = 1100;
@ -87,7 +87,7 @@ export default defineComponent({
return {
pageInfo: null,
isDesktop: window.innerWidth >= DESKTOP_THRESHOLD,
menuDef: sidebarDef,
menuDef: menuDef,
navHidden: false,
widgetsShowing: false,
wallpaper: localStorage.getItem('wallpaper') != null,