feat: 优化移动端和网页端效果和体验

feat: #82
This commit is contained in:
alger
2025-03-22 13:45:23 +08:00
parent be03b5f8fc
commit 9431faf932
10 changed files with 616 additions and 59 deletions
+2 -3
View File
@@ -1,7 +1,7 @@
<template>
<div class="settings-container">
<!-- 左侧导航栏 -->
<div class="settings-nav">
<div v-if="!isMobile" class="settings-nav">
<div
v-for="section in settingSections"
:key="section.id"
@@ -462,7 +462,6 @@
<script setup lang="ts">
import { useDebounceFn } from '@vueuse/core';
import { debounce } from 'lodash';
import type { FormRules } from 'naive-ui';
import { useMessage } from 'naive-ui';
import { computed, h, nextTick, onMounted, onUnmounted, ref, watch } from 'vue';
@@ -476,7 +475,7 @@ import LanguageSwitcher from '@/components/LanguageSwitcher.vue';
import ShortcutSettings from '@/components/settings/ShortcutSettings.vue';
import { useSettingsStore } from '@/store/modules/settings';
import { useUserStore } from '@/store/modules/user';
import { isElectron } from '@/utils';
import { isElectron, isMobile } from '@/utils';
import { openDirectory, selectDirectory } from '@/utils/fileOperation';
import { checkUpdate, UpdateResult } from '@/utils/update';