parent
0bd98b3c27
commit
eea414e04b
|
|
@ -4,7 +4,7 @@ import appLogo from './src/AppLogo.vue';
|
||||||
import appProvider from './src/AppProvider.vue';
|
import appProvider from './src/AppProvider.vue';
|
||||||
import appSearch from './src/search/AppSearch.vue';
|
import appSearch from './src/search/AppSearch.vue';
|
||||||
import appLocalePicker from './src/AppLocalePicker.vue';
|
import appLocalePicker from './src/AppLocalePicker.vue';
|
||||||
// import appDarkModeToggle from './src/AppDarkModeToggle.vue';
|
import appDarkModeToggle from './src/AppDarkModeToggle.vue';
|
||||||
|
|
||||||
export { useAppProviderContext } from './src/useAppContext';
|
export { useAppProviderContext } from './src/useAppContext';
|
||||||
|
|
||||||
|
|
@ -12,4 +12,4 @@ export const AppLogo = withInstall(appLogo);
|
||||||
export const AppProvider = withInstall(appProvider);
|
export const AppProvider = withInstall(appProvider);
|
||||||
export const AppSearch = withInstall(appSearch);
|
export const AppSearch = withInstall(appSearch);
|
||||||
export const AppLocalePicker = withInstall(appLocalePicker);
|
export const AppLocalePicker = withInstall(appLocalePicker);
|
||||||
// export const AppDarkModeToggle = withInstall(appDarkModeToggle);
|
export const AppDarkModeToggle = withInstall(appDarkModeToggle);
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -4,6 +4,7 @@
|
||||||
@import 'ant/index.less';
|
@import 'ant/index.less';
|
||||||
@import './theme.less';
|
@import './theme.less';
|
||||||
@import './entry.css';
|
@import './entry.css';
|
||||||
|
@import './dark.less';
|
||||||
|
|
||||||
input:-webkit-autofill {
|
input:-webkit-autofill {
|
||||||
box-shadow: 0 0 0 1000px white inset !important;
|
box-shadow: 0 0 0 1000px white inset !important;
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ import {
|
||||||
InputNumberItem,
|
InputNumberItem,
|
||||||
} from './components';
|
} from './components';
|
||||||
|
|
||||||
// import { AppDarkModeToggle } from '/@/components/Application';
|
import { AppDarkModeToggle } from '/@/components/Application';
|
||||||
|
|
||||||
import { MenuTypeEnum, TriggerEnum } from '/@/enums/menuEnum';
|
import { MenuTypeEnum, TriggerEnum } from '/@/enums/menuEnum';
|
||||||
|
|
||||||
|
|
@ -404,7 +404,7 @@ export default defineComponent({
|
||||||
class="setting-drawer"
|
class="setting-drawer"
|
||||||
>
|
>
|
||||||
{unref(getShowDarkModeToggle) && <Divider>{() => t('layout.setting.darkMode')}</Divider>}
|
{unref(getShowDarkModeToggle) && <Divider>{() => t('layout.setting.darkMode')}</Divider>}
|
||||||
{/* {unref(getShowDarkModeToggle) && <AppDarkModeToggle class="mx-auto" />} */}
|
{unref(getShowDarkModeToggle) && <AppDarkModeToggle class="mx-auto" />}
|
||||||
<Divider>{() => t('layout.setting.navMode')}</Divider>
|
<Divider>{() => t('layout.setting.navMode')}</Divider>
|
||||||
{renderSidebar()}
|
{renderSidebar()}
|
||||||
{/* <Divider>{() => t('layout.setting.sysTheme')}</Divider>
|
{/* <Divider>{() => t('layout.setting.sysTheme')}</Divider>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div :class="prefixCls" class="relative w-full h-full px-4">
|
<div :class="prefixCls" class="relative w-full h-full px-4">
|
||||||
<div class="flex items-center absolute right-4 top-4">
|
<div class="flex items-center absolute right-4 top-4">
|
||||||
<!-- <AppDarkModeToggle class="enter-x mr-2" v-if="!sessionTimeout" /> -->
|
<AppDarkModeToggle class="enter-x mr-2" v-if="!sessionTimeout" />
|
||||||
<AppLocalePicker
|
<AppLocalePicker
|
||||||
class="text-white enter-x xl:text-gray-600"
|
class="text-white enter-x xl:text-gray-600"
|
||||||
:show-text="false"
|
:show-text="false"
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { computed } from 'vue';
|
import { computed } from 'vue';
|
||||||
import { AppLogo, AppLocalePicker } from '/@/components/Application';
|
import { AppLogo, AppLocalePicker, AppDarkModeToggle } from '/@/components/Application';
|
||||||
import LoginForm from './LoginForm.vue';
|
import LoginForm from './LoginForm.vue';
|
||||||
import ForgetPasswordForm from './ForgetPasswordForm.vue';
|
import ForgetPasswordForm from './ForgetPasswordForm.vue';
|
||||||
import RegisterForm from './RegisterForm.vue';
|
import RegisterForm from './RegisterForm.vue';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue