| 
														
															@@ -2,29 +2,29 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   <div :class="classObj" class="app-wrapper" :style="{ '--current-color': theme }"> 
														 | 
														
														 | 
														
															   <div :class="classObj" class="app-wrapper" :style="{ '--current-color': theme }"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <div v-if="device === 'mobile' && sidebar.opened" class="drawer-bg" @click="handleClickOutside"/> 
														 | 
														
														 | 
														
															     <div v-if="device === 'mobile' && sidebar.opened" class="drawer-bg" @click="handleClickOutside"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    <sidebar v-if="!sidebar.hide" class="sidebar-container"  v-show="!layoutHide"/> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    <div :class="{ hasTagsView: needTagsView, sidebarHide: sidebar.hide,'layout-hide':layoutHide }" class="main-container"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    <sidebar v-if="!sidebar.hide" class="sidebar-container" v-show="!layoutHide"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    <div :class="{ hasTagsView: needTagsView, sidebarHide: sidebar.hide,'layout-hide':layoutHide }" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+         class="main-container"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <div :class="{ 'fixed-header': fixedHeader }"> 
														 | 
														
														 | 
														
															       <div :class="{ 'fixed-header': fixedHeader }"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <navbar @setLayout="setLayout" v-show="!layoutHide"/> 
														 | 
														
														 | 
														
															         <navbar @setLayout="setLayout" v-show="!layoutHide"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        <tags-view v-if="needTagsView"  v-show="!layoutHide"/> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <tags-view v-if="needTagsView" v-show="!layoutHide"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </div> 
														 | 
														
														 | 
														
															       </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      <app-main /> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      <settings ref="settingRef" /> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <app-main/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <settings ref="settingRef"/> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </div> 
														 | 
														
														 | 
														
															     </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   </div> 
														 | 
														
														 | 
														
															   </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </template> 
														 | 
														
														 | 
														
															 </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 <script setup> 
														 | 
														
														 | 
														
															 <script setup> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import { useWindowSize } from '@vueuse/core' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import {useWindowSize} from '@vueuse/core' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import Sidebar from './components/Sidebar/index.vue' 
														 | 
														
														 | 
														
															 import Sidebar from './components/Sidebar/index.vue' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import { AppMain, Navbar, Settings, TagsView } from './components' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import defaultSettings from '@/settings' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import { useRoute } from 'vue-router'; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-const route = useRoute(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import {AppMain, Navbar, Settings, TagsView} from './components' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import {useRoute} from 'vue-router'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import useAppStore from '@/store/modules/app' 
														 | 
														
														 | 
														
															 import useAppStore from '@/store/modules/app' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import useSettingsStore from '@/store/modules/settings' 
														 | 
														
														 | 
														
															 import useSettingsStore from '@/store/modules/settings' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+const route = useRoute(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const settingsStore = useSettingsStore() 
														 | 
														
														 | 
														
															 const settingsStore = useSettingsStore() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const theme = computed(() => settingsStore.theme); 
														 | 
														
														 | 
														
															 const theme = computed(() => settingsStore.theme); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const sideTheme = computed(() => settingsStore.sideTheme); 
														 | 
														
														 | 
														
															 const sideTheme = computed(() => settingsStore.sideTheme); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -41,34 +41,35 @@ const classObj = computed(() => ({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   mobile: device.value === 'mobile' 
														 | 
														
														 | 
														
															   mobile: device.value === 'mobile' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 })) 
														 | 
														
														 | 
														
															 })) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-const { width, height } = useWindowSize(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+const {width, height} = useWindowSize(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const WIDTH = 992; // refer to Bootstrap's responsive design 
														 | 
														
														 | 
														
															 const WIDTH = 992; // refer to Bootstrap's responsive design 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 watchEffect(() => { 
														 | 
														
														 | 
														
															 watchEffect(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   if (device.value === 'mobile' && sidebar.value.opened) { 
														 | 
														
														 | 
														
															   if (device.value === 'mobile' && sidebar.value.opened) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    useAppStore().closeSideBar({ withoutAnimation: false }) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    useAppStore().closeSideBar({withoutAnimation: false}) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   if (width.value - 1 < WIDTH) { 
														 | 
														
														 | 
														
															   if (width.value - 1 < WIDTH) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     useAppStore().toggleDevice('mobile') 
														 | 
														
														 | 
														
															     useAppStore().toggleDevice('mobile') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    useAppStore().closeSideBar({ withoutAnimation: true }) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    useAppStore().closeSideBar({withoutAnimation: true}) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } else { 
														 | 
														
														 | 
														
															   } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     useAppStore().toggleDevice('desktop') 
														 | 
														
														 | 
														
															     useAppStore().toggleDevice('desktop') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 }) 
														 | 
														
														 | 
														
															 }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 function handleClickOutside() { 
														 | 
														
														 | 
														
															 function handleClickOutside() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  useAppStore().closeSideBar({ withoutAnimation: false }) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  useAppStore().closeSideBar({withoutAnimation: false}) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const settingRef = ref(null); 
														 | 
														
														 | 
														
															 const settingRef = ref(null); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 function setLayout() { 
														 | 
														
														 | 
														
															 function setLayout() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   settingRef.value.openSetting(); 
														 | 
														
														 | 
														
															   settingRef.value.openSetting(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </script> 
														 | 
														
														 | 
														
															 </script> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 <style lang="scss" scoped> 
														 | 
														
														 | 
														
															 <style lang="scss" scoped> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  @import "@/assets/styles/mixin.scss"; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  @import "@/assets/styles/variables.module.scss"; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+@import "@/assets/styles/mixin.scss"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+@import "@/assets/styles/variables.module.scss"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 .app-wrapper { 
														 | 
														
														 | 
														
															 .app-wrapper { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   @include clearfix; 
														 | 
														
														 | 
														
															   @include clearfix; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -112,7 +113,8 @@ function setLayout() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 .mobile .fixed-header { 
														 | 
														
														 | 
														
															 .mobile .fixed-header { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   width: 100%; 
														 | 
														
														 | 
														
															   width: 100%; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-.layout-hide{ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  margin-left:0!important; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+.layout-hide { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  margin-left: 0 !important; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </style> 
														 | 
														
														 | 
														
															 </style> 
														 |