From a8343ad3d7d0a6edbddeb2fbf1787c40c334d02d Mon Sep 17 00:00:00 2001
From: lai <371757574@qq.com>
Date: Thu, 11 Jan 2024 17:55:13 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=95=8C=E9=9D=A2=E8=B6=85?=
=?UTF-8?q?=E6=97=B6=E6=88=96=E6=89=8B=E5=8A=A8=20=E9=94=81=E5=AE=9A?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/LockScreen/index.vue | 139 ++++++++++++++++++++++++
src/constants/cache-keys-constants.ts | 3 +
src/layouts/components/RightContent.vue | 3 +-
3 files changed, 144 insertions(+), 1 deletion(-)
create mode 100644 src/components/LockScreen/index.vue
diff --git a/src/components/LockScreen/index.vue b/src/components/LockScreen/index.vue
new file mode 100644
index 00000000..c346d120
--- /dev/null
+++ b/src/components/LockScreen/index.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/constants/cache-keys-constants.ts b/src/constants/cache-keys-constants.ts
index 22d7e9a5..18ab8fc7 100644
--- a/src/constants/cache-keys-constants.ts
+++ b/src/constants/cache-keys-constants.ts
@@ -9,3 +9,6 @@ export const CACHE_LOCAL_PRIMARY_COLOR = 'cache:local:primaryColor';
/**本地缓存-多语言 */
export const CACHE_LOCAL_I18N = 'cache:local:i18n';
+
+/**本地缓存-锁屏设置 */
+export const CACHE_LOCAL_LOCK = 'cache:local:Lock';
diff --git a/src/layouts/components/RightContent.vue b/src/layouts/components/RightContent.vue
index 73bacefb..94f9ad5b 100644
--- a/src/layouts/components/RightContent.vue
+++ b/src/layouts/components/RightContent.vue
@@ -6,6 +6,7 @@ import useI18n from '@/hooks/useI18n';
import useAppStore from '@/store/modules/app';
import useUserStore from '@/store/modules/user';
import useAlarmStore from '@/store/modules/alarm';
+import LockScreen from '@/components/LockScreen/index.vue';
const { isFullscreen, toggle } = useFullscreen();
const { t, changeLocale, optionsLocale } = useI18n();
const userStore = useUserStore();
@@ -61,7 +62,7 @@ function fnChangeLocale(e: any) {
-
+
{{ t('loayouts.rightContent.helpDoc') }}