From 241696b152dc7850b9f4c76dc1e940b471ba1cec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=86=E5=85=89LG?= Date: Fri, 5 Sep 2025 02:32:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0windows=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E8=AE=BE=E7=BD=AE=E5=87=BA=E9=A2=98=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/AboutDetail.vue | 389 +++++++++++ .../components/AccountsDetail.vue | 101 +++ .../components/AdvancedDisplayDetail.vue | 267 ++++++++ .../components/AdvancedScalingDetail.vue | 314 +++++++++ .../components/AppsDetail.vue | 95 +++ .../components/ClipboardDetail.vue | 295 +++++++++ .../components/CortanaDetail.vue | 97 +++ .../components/DevicesDetail.vue | 226 +++++++ .../components/DisplayDetail.vue | 434 +++++++++++++ .../components/EaseOfAccessDetail.vue | 56 ++ .../components/FocusAssistDetail.vue | 516 +++++++++++++++ .../components/GamingDetail.vue | 53 ++ .../components/GraphicsSettingsDetail.vue | 204 ++++++ .../components/HDColorDetail.vue | 376 +++++++++++ .../components/ManageSoundDevices.vue | 344 ++++++++++ .../components/MicrophoneDeviceProperties.vue | 388 +++++++++++ .../components/MultitaskingDetail.vue | 410 ++++++++++++ .../components/NetworkDetail.vue | 205 ++++++ .../components/NightModeDetail.vue | 428 +++++++++++++ .../components/NotificationDetail.vue | 551 ++++++++++++++++ .../components/PersonalizationDetail.vue | 33 + .../components/PhoneDetail.vue | 81 +++ .../components/PowerSleepDetail.vue | 236 +++++++ .../components/PrivacyDetail.vue | 94 +++ .../components/ProjectionDetail.vue | 325 ++++++++++ .../components/RemoteDesktopDetail.vue | 189 ++++++ .../components/SearchDetail.vue | 63 ++ .../components/SharedExperienceDetail.vue | 318 +++++++++ .../components/SoundDetail.vue | 539 ++++++++++++++++ .../components/SpeakerDeviceProperties.vue | 313 +++++++++ .../components/StorageDetail.vue | 422 ++++++++++++ .../components/StorageSenseConfig.vue | 443 +++++++++++++ .../components/SystemDetail.vue | 368 +++++++++++ .../components/TabletModeDetail.vue | 256 ++++++++ .../components/TimeLanguageDetail.vue | 95 +++ .../components/UpdateSecurityDetail.vue | 103 +++ .../components/devices/AutoplayDetail.vue | 218 +++++++ .../components/devices/BluetoothDetail.vue | 323 ++++++++++ .../components/devices/MouseDetail.vue | 261 ++++++++ .../components/devices/PenDetail.vue | 153 +++++ .../components/devices/PrintersDetail.vue | 281 ++++++++ .../components/devices/TypingDetail.vue | 227 +++++++ .../components/devices/UsbDetail.vue | 110 ++++ .../components/network/DataUsageDetail.vue | 323 ++++++++++ .../components/network/DialupDetail.vue | 106 +++ .../components/network/EthernetDetail.vue | 81 +++ .../components/network/ProxyDetail.vue | 436 +++++++++++++ .../components/network/StatusDetail.vue | 318 +++++++++ .../components/network/VpnDetail.vue | 211 ++++++ .../personalization/BackgroundDetail.vue | 473 ++++++++++++++ .../personalization/ColorsDetail.vue | 504 +++++++++++++++ .../personalization/FontsDetail.vue | 428 +++++++++++++ .../personalization/LockScreenDetail.vue | 416 ++++++++++++ .../personalization/StartDetail.vue | 315 +++++++++ .../personalization/TaskbarDetail.vue | 387 +++++++++++ .../personalization/ThemesDetail.vue | 312 +++++++++ .../time-language/DateTimeDetail.vue | 328 ++++++++++ .../time-language/LanguageDetail.vue | 303 +++++++++ .../components/time-language/RegionDetail.vue | 222 +++++++ .../components/time-language/SpeechDetail.vue | 371 +++++++++++ .../update-security/ActivationDetail.vue | 321 ++++++++++ .../update-security/BackupDetail.vue | 323 ++++++++++ .../DeliveryOptimizationDetail.vue | 245 +++++++ .../update-security/DeveloperDetail.vue | 494 ++++++++++++++ .../update-security/FindMyDeviceDetail.vue | 410 ++++++++++++ .../update-security/RecoveryDetail.vue | 240 +++++++ .../update-security/TroubleshootDetail.vue | 403 ++++++++++++ .../update-security/WindowsInsiderDetail.vue | 556 ++++++++++++++++ .../update-security/WindowsSecurityDetail.vue | 254 ++++++++ .../update-security/WindowsUpdateDetail.vue | 232 +++++++ .../WindowsSystemSetting/detail.scss | 116 ++++ .../WindowsSystemSetting/index.scss | 427 ++++++++++++ src/components/WindowsSystemSetting/index.ts | 605 ++++++++++++++++++ src/components/WindowsSystemSetting/index.vue | 313 +++++++++ .../question/WindowsSystemSettingForm.vue | 576 +++++++++++++++++ src/views/paper/question/index.vue | 9 +- 76 files changed, 22256 insertions(+), 2 deletions(-) create mode 100644 src/components/WindowsSystemSetting/components/AboutDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/AccountsDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/AdvancedDisplayDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/AdvancedScalingDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/AppsDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/ClipboardDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/CortanaDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/DevicesDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/DisplayDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/EaseOfAccessDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/FocusAssistDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/GamingDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/GraphicsSettingsDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/HDColorDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/ManageSoundDevices.vue create mode 100644 src/components/WindowsSystemSetting/components/MicrophoneDeviceProperties.vue create mode 100644 src/components/WindowsSystemSetting/components/MultitaskingDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/NetworkDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/NightModeDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/NotificationDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/PersonalizationDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/PhoneDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/PowerSleepDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/PrivacyDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/ProjectionDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/RemoteDesktopDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/SearchDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/SharedExperienceDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/SoundDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/SpeakerDeviceProperties.vue create mode 100644 src/components/WindowsSystemSetting/components/StorageDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/StorageSenseConfig.vue create mode 100644 src/components/WindowsSystemSetting/components/SystemDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/TabletModeDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/TimeLanguageDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/UpdateSecurityDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/devices/AutoplayDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/devices/BluetoothDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/devices/MouseDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/devices/PenDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/devices/PrintersDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/devices/TypingDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/devices/UsbDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/network/DataUsageDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/network/DialupDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/network/EthernetDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/network/ProxyDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/network/StatusDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/network/VpnDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/personalization/BackgroundDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/personalization/ColorsDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/personalization/FontsDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/personalization/LockScreenDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/personalization/StartDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/personalization/TaskbarDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/personalization/ThemesDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/time-language/DateTimeDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/time-language/LanguageDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/time-language/RegionDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/time-language/SpeechDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/update-security/ActivationDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/update-security/BackupDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/update-security/DeliveryOptimizationDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/update-security/DeveloperDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/update-security/FindMyDeviceDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/update-security/RecoveryDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/update-security/TroubleshootDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/update-security/WindowsInsiderDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/update-security/WindowsSecurityDetail.vue create mode 100644 src/components/WindowsSystemSetting/components/update-security/WindowsUpdateDetail.vue create mode 100644 src/components/WindowsSystemSetting/detail.scss create mode 100644 src/components/WindowsSystemSetting/index.scss create mode 100644 src/components/WindowsSystemSetting/index.ts create mode 100644 src/components/WindowsSystemSetting/index.vue create mode 100644 src/views/paper/question/WindowsSystemSettingForm.vue diff --git a/src/components/WindowsSystemSetting/components/AboutDetail.vue b/src/components/WindowsSystemSetting/components/AboutDetail.vue new file mode 100644 index 0000000..728d427 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/AboutDetail.vue @@ -0,0 +1,389 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/AccountsDetail.vue b/src/components/WindowsSystemSetting/components/AccountsDetail.vue new file mode 100644 index 0000000..ccb9c32 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/AccountsDetail.vue @@ -0,0 +1,101 @@ + + + + diff --git a/src/components/WindowsSystemSetting/components/AdvancedDisplayDetail.vue b/src/components/WindowsSystemSetting/components/AdvancedDisplayDetail.vue new file mode 100644 index 0000000..73dcdf0 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/AdvancedDisplayDetail.vue @@ -0,0 +1,267 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/AdvancedScalingDetail.vue b/src/components/WindowsSystemSetting/components/AdvancedScalingDetail.vue new file mode 100644 index 0000000..5a3f3ee --- /dev/null +++ b/src/components/WindowsSystemSetting/components/AdvancedScalingDetail.vue @@ -0,0 +1,314 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/AppsDetail.vue b/src/components/WindowsSystemSetting/components/AppsDetail.vue new file mode 100644 index 0000000..96f8d92 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/AppsDetail.vue @@ -0,0 +1,95 @@ + + + diff --git a/src/components/WindowsSystemSetting/components/ClipboardDetail.vue b/src/components/WindowsSystemSetting/components/ClipboardDetail.vue new file mode 100644 index 0000000..848319b --- /dev/null +++ b/src/components/WindowsSystemSetting/components/ClipboardDetail.vue @@ -0,0 +1,295 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/CortanaDetail.vue b/src/components/WindowsSystemSetting/components/CortanaDetail.vue new file mode 100644 index 0000000..57f8e0b --- /dev/null +++ b/src/components/WindowsSystemSetting/components/CortanaDetail.vue @@ -0,0 +1,97 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/DevicesDetail.vue b/src/components/WindowsSystemSetting/components/DevicesDetail.vue new file mode 100644 index 0000000..ef9c2b1 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/DevicesDetail.vue @@ -0,0 +1,226 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/DisplayDetail.vue b/src/components/WindowsSystemSetting/components/DisplayDetail.vue new file mode 100644 index 0000000..8299841 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/DisplayDetail.vue @@ -0,0 +1,434 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/EaseOfAccessDetail.vue b/src/components/WindowsSystemSetting/components/EaseOfAccessDetail.vue new file mode 100644 index 0000000..6b1cadd --- /dev/null +++ b/src/components/WindowsSystemSetting/components/EaseOfAccessDetail.vue @@ -0,0 +1,56 @@ + + + diff --git a/src/components/WindowsSystemSetting/components/FocusAssistDetail.vue b/src/components/WindowsSystemSetting/components/FocusAssistDetail.vue new file mode 100644 index 0000000..74c3f4b --- /dev/null +++ b/src/components/WindowsSystemSetting/components/FocusAssistDetail.vue @@ -0,0 +1,516 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/GamingDetail.vue b/src/components/WindowsSystemSetting/components/GamingDetail.vue new file mode 100644 index 0000000..134873a --- /dev/null +++ b/src/components/WindowsSystemSetting/components/GamingDetail.vue @@ -0,0 +1,53 @@ + + + diff --git a/src/components/WindowsSystemSetting/components/GraphicsSettingsDetail.vue b/src/components/WindowsSystemSetting/components/GraphicsSettingsDetail.vue new file mode 100644 index 0000000..40404ce --- /dev/null +++ b/src/components/WindowsSystemSetting/components/GraphicsSettingsDetail.vue @@ -0,0 +1,204 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/HDColorDetail.vue b/src/components/WindowsSystemSetting/components/HDColorDetail.vue new file mode 100644 index 0000000..e9f1257 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/HDColorDetail.vue @@ -0,0 +1,376 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/ManageSoundDevices.vue b/src/components/WindowsSystemSetting/components/ManageSoundDevices.vue new file mode 100644 index 0000000..064f498 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/ManageSoundDevices.vue @@ -0,0 +1,344 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/MicrophoneDeviceProperties.vue b/src/components/WindowsSystemSetting/components/MicrophoneDeviceProperties.vue new file mode 100644 index 0000000..70925dd --- /dev/null +++ b/src/components/WindowsSystemSetting/components/MicrophoneDeviceProperties.vue @@ -0,0 +1,388 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/MultitaskingDetail.vue b/src/components/WindowsSystemSetting/components/MultitaskingDetail.vue new file mode 100644 index 0000000..c240ec6 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/MultitaskingDetail.vue @@ -0,0 +1,410 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/NetworkDetail.vue b/src/components/WindowsSystemSetting/components/NetworkDetail.vue new file mode 100644 index 0000000..ba7c28e --- /dev/null +++ b/src/components/WindowsSystemSetting/components/NetworkDetail.vue @@ -0,0 +1,205 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/NightModeDetail.vue b/src/components/WindowsSystemSetting/components/NightModeDetail.vue new file mode 100644 index 0000000..f16eb3b --- /dev/null +++ b/src/components/WindowsSystemSetting/components/NightModeDetail.vue @@ -0,0 +1,428 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/NotificationDetail.vue b/src/components/WindowsSystemSetting/components/NotificationDetail.vue new file mode 100644 index 0000000..0f1fd59 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/NotificationDetail.vue @@ -0,0 +1,551 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/PersonalizationDetail.vue b/src/components/WindowsSystemSetting/components/PersonalizationDetail.vue new file mode 100644 index 0000000..dfae163 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/PersonalizationDetail.vue @@ -0,0 +1,33 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/PhoneDetail.vue b/src/components/WindowsSystemSetting/components/PhoneDetail.vue new file mode 100644 index 0000000..98cb9a8 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/PhoneDetail.vue @@ -0,0 +1,81 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/PowerSleepDetail.vue b/src/components/WindowsSystemSetting/components/PowerSleepDetail.vue new file mode 100644 index 0000000..824e3d3 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/PowerSleepDetail.vue @@ -0,0 +1,236 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/PrivacyDetail.vue b/src/components/WindowsSystemSetting/components/PrivacyDetail.vue new file mode 100644 index 0000000..154873a --- /dev/null +++ b/src/components/WindowsSystemSetting/components/PrivacyDetail.vue @@ -0,0 +1,94 @@ + + + diff --git a/src/components/WindowsSystemSetting/components/ProjectionDetail.vue b/src/components/WindowsSystemSetting/components/ProjectionDetail.vue new file mode 100644 index 0000000..96cd35a --- /dev/null +++ b/src/components/WindowsSystemSetting/components/ProjectionDetail.vue @@ -0,0 +1,325 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/RemoteDesktopDetail.vue b/src/components/WindowsSystemSetting/components/RemoteDesktopDetail.vue new file mode 100644 index 0000000..90d5c47 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/RemoteDesktopDetail.vue @@ -0,0 +1,189 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/SearchDetail.vue b/src/components/WindowsSystemSetting/components/SearchDetail.vue new file mode 100644 index 0000000..3561001 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/SearchDetail.vue @@ -0,0 +1,63 @@ + + + diff --git a/src/components/WindowsSystemSetting/components/SharedExperienceDetail.vue b/src/components/WindowsSystemSetting/components/SharedExperienceDetail.vue new file mode 100644 index 0000000..cb480bc --- /dev/null +++ b/src/components/WindowsSystemSetting/components/SharedExperienceDetail.vue @@ -0,0 +1,318 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/SoundDetail.vue b/src/components/WindowsSystemSetting/components/SoundDetail.vue new file mode 100644 index 0000000..9f9b3e1 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/SoundDetail.vue @@ -0,0 +1,539 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/SpeakerDeviceProperties.vue b/src/components/WindowsSystemSetting/components/SpeakerDeviceProperties.vue new file mode 100644 index 0000000..abd1eca --- /dev/null +++ b/src/components/WindowsSystemSetting/components/SpeakerDeviceProperties.vue @@ -0,0 +1,313 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/StorageDetail.vue b/src/components/WindowsSystemSetting/components/StorageDetail.vue new file mode 100644 index 0000000..8ee7f2c --- /dev/null +++ b/src/components/WindowsSystemSetting/components/StorageDetail.vue @@ -0,0 +1,422 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/StorageSenseConfig.vue b/src/components/WindowsSystemSetting/components/StorageSenseConfig.vue new file mode 100644 index 0000000..6b5735f --- /dev/null +++ b/src/components/WindowsSystemSetting/components/StorageSenseConfig.vue @@ -0,0 +1,443 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/SystemDetail.vue b/src/components/WindowsSystemSetting/components/SystemDetail.vue new file mode 100644 index 0000000..f523b05 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/SystemDetail.vue @@ -0,0 +1,368 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/TabletModeDetail.vue b/src/components/WindowsSystemSetting/components/TabletModeDetail.vue new file mode 100644 index 0000000..049ce6b --- /dev/null +++ b/src/components/WindowsSystemSetting/components/TabletModeDetail.vue @@ -0,0 +1,256 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/TimeLanguageDetail.vue b/src/components/WindowsSystemSetting/components/TimeLanguageDetail.vue new file mode 100644 index 0000000..15805ce --- /dev/null +++ b/src/components/WindowsSystemSetting/components/TimeLanguageDetail.vue @@ -0,0 +1,95 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/UpdateSecurityDetail.vue b/src/components/WindowsSystemSetting/components/UpdateSecurityDetail.vue new file mode 100644 index 0000000..3bca7fe --- /dev/null +++ b/src/components/WindowsSystemSetting/components/UpdateSecurityDetail.vue @@ -0,0 +1,103 @@ + + + + + + + diff --git a/src/components/WindowsSystemSetting/components/devices/AutoplayDetail.vue b/src/components/WindowsSystemSetting/components/devices/AutoplayDetail.vue new file mode 100644 index 0000000..4a560c2 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/devices/AutoplayDetail.vue @@ -0,0 +1,218 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/devices/BluetoothDetail.vue b/src/components/WindowsSystemSetting/components/devices/BluetoothDetail.vue new file mode 100644 index 0000000..df71ba0 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/devices/BluetoothDetail.vue @@ -0,0 +1,323 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/devices/MouseDetail.vue b/src/components/WindowsSystemSetting/components/devices/MouseDetail.vue new file mode 100644 index 0000000..eb74939 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/devices/MouseDetail.vue @@ -0,0 +1,261 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/devices/PenDetail.vue b/src/components/WindowsSystemSetting/components/devices/PenDetail.vue new file mode 100644 index 0000000..1790f10 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/devices/PenDetail.vue @@ -0,0 +1,153 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/devices/PrintersDetail.vue b/src/components/WindowsSystemSetting/components/devices/PrintersDetail.vue new file mode 100644 index 0000000..1b2b39f --- /dev/null +++ b/src/components/WindowsSystemSetting/components/devices/PrintersDetail.vue @@ -0,0 +1,281 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/devices/TypingDetail.vue b/src/components/WindowsSystemSetting/components/devices/TypingDetail.vue new file mode 100644 index 0000000..7d0d515 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/devices/TypingDetail.vue @@ -0,0 +1,227 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/devices/UsbDetail.vue b/src/components/WindowsSystemSetting/components/devices/UsbDetail.vue new file mode 100644 index 0000000..772bb2a --- /dev/null +++ b/src/components/WindowsSystemSetting/components/devices/UsbDetail.vue @@ -0,0 +1,110 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/network/DataUsageDetail.vue b/src/components/WindowsSystemSetting/components/network/DataUsageDetail.vue new file mode 100644 index 0000000..8b386cc --- /dev/null +++ b/src/components/WindowsSystemSetting/components/network/DataUsageDetail.vue @@ -0,0 +1,323 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/network/DialupDetail.vue b/src/components/WindowsSystemSetting/components/network/DialupDetail.vue new file mode 100644 index 0000000..735d5b9 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/network/DialupDetail.vue @@ -0,0 +1,106 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/network/EthernetDetail.vue b/src/components/WindowsSystemSetting/components/network/EthernetDetail.vue new file mode 100644 index 0000000..d27e012 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/network/EthernetDetail.vue @@ -0,0 +1,81 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/network/ProxyDetail.vue b/src/components/WindowsSystemSetting/components/network/ProxyDetail.vue new file mode 100644 index 0000000..3d9b7f0 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/network/ProxyDetail.vue @@ -0,0 +1,436 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/network/StatusDetail.vue b/src/components/WindowsSystemSetting/components/network/StatusDetail.vue new file mode 100644 index 0000000..fd7f100 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/network/StatusDetail.vue @@ -0,0 +1,318 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/network/VpnDetail.vue b/src/components/WindowsSystemSetting/components/network/VpnDetail.vue new file mode 100644 index 0000000..f6f1c97 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/network/VpnDetail.vue @@ -0,0 +1,211 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/personalization/BackgroundDetail.vue b/src/components/WindowsSystemSetting/components/personalization/BackgroundDetail.vue new file mode 100644 index 0000000..ef05a52 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/personalization/BackgroundDetail.vue @@ -0,0 +1,473 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/personalization/ColorsDetail.vue b/src/components/WindowsSystemSetting/components/personalization/ColorsDetail.vue new file mode 100644 index 0000000..ac3e70b --- /dev/null +++ b/src/components/WindowsSystemSetting/components/personalization/ColorsDetail.vue @@ -0,0 +1,504 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/personalization/FontsDetail.vue b/src/components/WindowsSystemSetting/components/personalization/FontsDetail.vue new file mode 100644 index 0000000..cb8c4ee --- /dev/null +++ b/src/components/WindowsSystemSetting/components/personalization/FontsDetail.vue @@ -0,0 +1,428 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/personalization/LockScreenDetail.vue b/src/components/WindowsSystemSetting/components/personalization/LockScreenDetail.vue new file mode 100644 index 0000000..3840279 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/personalization/LockScreenDetail.vue @@ -0,0 +1,416 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/personalization/StartDetail.vue b/src/components/WindowsSystemSetting/components/personalization/StartDetail.vue new file mode 100644 index 0000000..311056d --- /dev/null +++ b/src/components/WindowsSystemSetting/components/personalization/StartDetail.vue @@ -0,0 +1,315 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/personalization/TaskbarDetail.vue b/src/components/WindowsSystemSetting/components/personalization/TaskbarDetail.vue new file mode 100644 index 0000000..e292866 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/personalization/TaskbarDetail.vue @@ -0,0 +1,387 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/personalization/ThemesDetail.vue b/src/components/WindowsSystemSetting/components/personalization/ThemesDetail.vue new file mode 100644 index 0000000..d81cbe4 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/personalization/ThemesDetail.vue @@ -0,0 +1,312 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/time-language/DateTimeDetail.vue b/src/components/WindowsSystemSetting/components/time-language/DateTimeDetail.vue new file mode 100644 index 0000000..f627461 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/time-language/DateTimeDetail.vue @@ -0,0 +1,328 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/time-language/LanguageDetail.vue b/src/components/WindowsSystemSetting/components/time-language/LanguageDetail.vue new file mode 100644 index 0000000..f7f2d08 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/time-language/LanguageDetail.vue @@ -0,0 +1,303 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/time-language/RegionDetail.vue b/src/components/WindowsSystemSetting/components/time-language/RegionDetail.vue new file mode 100644 index 0000000..f5a9c67 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/time-language/RegionDetail.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/time-language/SpeechDetail.vue b/src/components/WindowsSystemSetting/components/time-language/SpeechDetail.vue new file mode 100644 index 0000000..716fd97 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/time-language/SpeechDetail.vue @@ -0,0 +1,371 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/update-security/ActivationDetail.vue b/src/components/WindowsSystemSetting/components/update-security/ActivationDetail.vue new file mode 100644 index 0000000..995abe0 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/update-security/ActivationDetail.vue @@ -0,0 +1,321 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/update-security/BackupDetail.vue b/src/components/WindowsSystemSetting/components/update-security/BackupDetail.vue new file mode 100644 index 0000000..e780f61 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/update-security/BackupDetail.vue @@ -0,0 +1,323 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/update-security/DeliveryOptimizationDetail.vue b/src/components/WindowsSystemSetting/components/update-security/DeliveryOptimizationDetail.vue new file mode 100644 index 0000000..e0590ac --- /dev/null +++ b/src/components/WindowsSystemSetting/components/update-security/DeliveryOptimizationDetail.vue @@ -0,0 +1,245 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/update-security/DeveloperDetail.vue b/src/components/WindowsSystemSetting/components/update-security/DeveloperDetail.vue new file mode 100644 index 0000000..8820e26 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/update-security/DeveloperDetail.vue @@ -0,0 +1,494 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/update-security/FindMyDeviceDetail.vue b/src/components/WindowsSystemSetting/components/update-security/FindMyDeviceDetail.vue new file mode 100644 index 0000000..c568d07 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/update-security/FindMyDeviceDetail.vue @@ -0,0 +1,410 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/update-security/RecoveryDetail.vue b/src/components/WindowsSystemSetting/components/update-security/RecoveryDetail.vue new file mode 100644 index 0000000..088a85a --- /dev/null +++ b/src/components/WindowsSystemSetting/components/update-security/RecoveryDetail.vue @@ -0,0 +1,240 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/update-security/TroubleshootDetail.vue b/src/components/WindowsSystemSetting/components/update-security/TroubleshootDetail.vue new file mode 100644 index 0000000..a8d9282 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/update-security/TroubleshootDetail.vue @@ -0,0 +1,403 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/update-security/WindowsInsiderDetail.vue b/src/components/WindowsSystemSetting/components/update-security/WindowsInsiderDetail.vue new file mode 100644 index 0000000..3b98c57 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/update-security/WindowsInsiderDetail.vue @@ -0,0 +1,556 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/update-security/WindowsSecurityDetail.vue b/src/components/WindowsSystemSetting/components/update-security/WindowsSecurityDetail.vue new file mode 100644 index 0000000..45748f8 --- /dev/null +++ b/src/components/WindowsSystemSetting/components/update-security/WindowsSecurityDetail.vue @@ -0,0 +1,254 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/components/update-security/WindowsUpdateDetail.vue b/src/components/WindowsSystemSetting/components/update-security/WindowsUpdateDetail.vue new file mode 100644 index 0000000..a7a9c2e --- /dev/null +++ b/src/components/WindowsSystemSetting/components/update-security/WindowsUpdateDetail.vue @@ -0,0 +1,232 @@ + + + + + diff --git a/src/components/WindowsSystemSetting/detail.scss b/src/components/WindowsSystemSetting/detail.scss new file mode 100644 index 0000000..6801e3e --- /dev/null +++ b/src/components/WindowsSystemSetting/detail.scss @@ -0,0 +1,116 @@ +.section-group { + margin-bottom: 24px; + + .section-title { + font-size: 20px; + font-weight: 600; + color: #323130; + margin: 0 0 12px 0; + padding: 0; + } + + .setting-item { + background: #ffffff; + border: 1px solid #e1dfdd; + border-radius: 4px; + padding: 16px; + margin-bottom: 8px; + cursor: pointer; + display: flex; + align-items: center; + justify-content: space-between; + transition: all 0.2s ease; + + &:hover { + background: #f3f2f1; + border-color: #d2d0ce; + } + + &:active { + background: #edebe9; + } + + .setting-info { + flex: 1; + + .setting-name { + font-size: 14px; + font-weight: 400; + color: #323130; + margin-bottom: 4px; + line-height: 1.4; + } + + .setting-desc { + font-size: 12px; + color: #605e5c; + line-height: 1.3; + } + } + + .setting-arrow { + font-size: 16px; + color: #605e5c; + margin-left: 16px; + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + } + } +} + +// 特殊样式 +.toggle-item { + display: flex; + align-items: center; + justify-content: space-between; + padding: 12px 16px; + background: #ffffff; + border: 1px solid #e1dfdd; + border-radius: 4px; + margin-bottom: 8px; + + .toggle-info { + flex: 1; + + .toggle-name { + font-size: 14px; + font-weight: 400; + color: #323130; + margin-bottom: 2px; + } + + .toggle-desc { + font-size: 12px; + color: #605e5c; + } + } + + .toggle-switch { + width: 44px; + height: 24px; + background: #d2d0ce; + border-radius: 12px; + position: relative; + cursor: pointer; + transition: background 0.2s ease; + + &.active { + background: #0078d4; + } + + &::before { + content: ''; + position: absolute; + top: 2px; + left: 2px; + width: 20px; + height: 20px; + background: #ffffff; + border-radius: 50%; + transition: transform 0.2s ease; + } + + &.active::before { + transform: translateX(20px); + } + } +} diff --git a/src/components/WindowsSystemSetting/index.scss b/src/components/WindowsSystemSetting/index.scss new file mode 100644 index 0000000..a82cd21 --- /dev/null +++ b/src/components/WindowsSystemSetting/index.scss @@ -0,0 +1,427 @@ +/* Windows 10 设置样式 - 精确匹配真实界面 */ +.windows-10-settings { + width: 100%; + height: 100vh; + background: #fff; + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + overflow: hidden; + display: flex; + flex-direction: column; +} + +/* 顶部标题栏 */ +.title-bar { + height: 48px; + width: 346px; + background: #fff; + display: flex; + align-items: center; + padding: 0 16px; + flex-shrink: 0; +} + +.left-section { + display: flex; + align-items: center; +} + +.page-title { + font-size: 13px; + font-weight: 400; + color: #323130; + margin-left: 12px; +} + +.back-nav { + display: flex; + align-items: center; + gap: 8px; + cursor: pointer; + padding: 8px; + border-radius: 4px; + font-size: 13px; + font-weight: 400; + color: #323130; + transition: background-color 0.1s ease; +} + +.back-nav:hover { + background-color: rgba(0, 0, 0, 0.04); +} + +.back-nav svg { + width: 12px; + height: 12px; + color: #323130; +} + +/* 主体内容 */ +.main-content { + display: flex; + flex: 1; + overflow: hidden; +} + +/* 左侧边栏 (详情页) */ +.sidebar { + width: 346px; + background: #faf9f8; + border-right: 1px solid #edebe9; + display: flex; + flex-direction: column; + flex-shrink: 0; + padding-top: 20px; +} + +/* 主页导航 */ +.home-nav { + display: flex; + align-items: center; + gap: 12px; + padding: 8px 24px; + cursor: pointer; + font-size: 14px; + color: #323130; + transition: background-color 0.1s; + margin-bottom: 16px; +} + +.home-nav:hover { + background-color: rgba(0, 0, 0, 0.04); +} + +.home-nav svg { + width: 16px; + height: 16px; + color: #323130; +} + +/* 搜索框容器 */ +.search-container { + padding: 0 24px; + margin-bottom: 24px; +} + +.sidebar-search { + position: relative; + width: 100%; +} + +.sidebar-search input { + width: 100%; + height: 32px; + padding: 0 12px 0 36px; + border: 1px solid #8a8886; + border-radius: 2px; + font-size: 14px; + outline: none; + background: white; + color: #323130; +} + +.sidebar-search input:focus { + border-color: #0078d4; +} + +.sidebar-search input::placeholder { + color: #605e5c; +} + +.sidebar-search .search-icon { + position: absolute; + left: 12px; + top: 50%; + transform: translateY(-50%); + width: 16px; + height: 16px; + color: #605e5c; + pointer-events: none; +} + +/* 分类标题 */ +.category-title { + padding: 0 24px; + font-size: 16px; + font-weight: 600; + color: #323130; + margin-bottom: 16px; +} + +/* 导航菜单 */ +.nav-menu { + flex: 1; + overflow-y: scroll; + padding-bottom: 60px; +} + +.nav-item { + display: flex; + align-items: center; + gap: 12px; + padding: 10px 24px; + cursor: pointer; + font-size: 14px; + color: #323130; + transition: background-color 0.1s; + border-left: 3px solid transparent; +} + +.nav-item:hover { + background-color: rgba(0, 0, 0, 0.04); +} + +.nav-item.active { + background-color: #f3f2f1; + border-left-color: #0078d4; + color: #0078d4; +} + +.nav-item .nav-icon { + width: 16px; + height: 16px; + flex-shrink: 0; +} + +/* 主内容区域 */ +.content-area { + flex: 1; + overflow-y: auto; + background: white; +} + +/* 主页视图 */ +.home-view { + max-width: 1000px; + margin: 0 auto; + padding: 0px 72px; +} + +/* Windows 设置标题 */ +.settings-header { + text-align: center; + margin-bottom: 32px; +} + +.settings-title { + font-size: 26px; + font-weight: 500; + color: #000; + margin: 0; +} + +/* 主页搜索框 */ +.main-search-container { + display: flex; + justify-content: center; + margin-bottom: 48px; +} + +.main-search { + position: relative; + width: 100%; + max-width: 350px; +} + +.main-search input { + width: 100%; + height: 36px; + padding: 0 16px 0 44px; + border: 1px solid #8a8886; + border-radius: 2px; + font-size: 14px; + outline: none; + background: white; + color: #323130; +} + +.main-search input:focus { + border-color: #0078d4; +} + +.main-search input::placeholder { + color: #605e5c; +} + +.main-search .search-icon { + position: absolute; + left: 16px; + top: 50%; + transform: translateY(-50%); + width: 16px; + height: 16px; + color: #605e5c; + pointer-events: none; +} + +/* 设置网格 */ +.settings-grid { + display: grid; + grid-template-columns: repeat(4, 1fr); + gap: 8px 16px; + margin: 0 auto; + transform: translateX(-80px); +} + +/* 设置卡片 - 精确匹配Windows 10 */ +.setting-card { + background: white; + /* border: 1px solid #edebe9; */ + border-radius: 2px; + padding: 16px; + cursor: pointer; + transition: all 0.1s ease; + display: flex; + flex-direction: column; + align-items: center; + text-align: center; + height: 90px; + width: 252px; + justify-content: center; + position: relative; + box-sizing: border-box; +} + +.setting-card:hover { + border-color: #f7f6f6; + border: 2px solid #c3c2c1; + /* 不改变方块大小 */ + box-sizing: border-box !important; +} + +.card-icon { + /* margin-bottom: 12px; */ + position: absolute; + left: 10px; + top: 50%; + transform: translateY(-35%); + color: #0078d4; + svg { + width: 56px; + height: 56px; + } +} + +.card-content { + width: 100%; +} + +.card-title { + font-size: 14px; + font-weight: 600; + color: #000; + margin: 0 0 4px 0; + line-height: 1.3; + position: absolute; + top: 20px; + left: 56px; +} + +.card-description { + font-size: 12px; + color: #605e5c; + margin: 0; + line-height: 1.4; + position: absolute; + top: 40px; + left: 56px; + display: flex; + text-align: left; +} + +/* 详情页面 */ +.detail-view { + display: flex; + background: white; +} + +.detail-main { + flex: 1; + padding: 0 32px 24px 32px; + max-width: calc(100% - 280px); +} + +.detail-title { + font-size: 32px; + font-weight: 400; + color: #323130; + margin: 0 0 24px 0; + line-height: 1.3; + position: absolute; + top: 16px; + left: 380px; +} + +.detail-content { + max-width: 800px; +} + +/* 右侧相关设置区域 */ +.right-sidebar { + width: 280px; + padding: 24px 32px 24px 24px; + border-left: 1px solid #edebe9; + background: #fff; + display: flex; + flex-direction: column; + gap: 32px; + flex-shrink: 0; +} + +.related-settings { + display: flex; + flex-direction: column; + gap: 16px; +} + +.related-title, +.help-title { + font-size: 14px; + font-weight: 600; + color: #323130; + margin: 0; +} + +.related-links { + display: flex; + flex-direction: column; + gap: 8px; +} + +.related-link, +.help-link, +.feedback-link { + color: #0078d4; + text-decoration: none; + font-size: 14px; + line-height: 1.4; + transition: color 0.1s; +} + +.related-link:hover, +.help-link:hover, +.feedback-link:hover { + color: #106ebe; + text-decoration: underline; +} + +/* 帮助链接 */ +.help-section { + display: flex; + flex-direction: column; + gap: 8px; +} + +/* Windows 支持 */ +.support-section { + display: flex; + flex-direction: column; + gap: 8px; + margin-top: auto; +} + +.support-text { + font-size: 14px; + color: #323130; + font-weight: 600; + margin: 0; +} diff --git a/src/components/WindowsSystemSetting/index.ts b/src/components/WindowsSystemSetting/index.ts new file mode 100644 index 0000000..42e7fe9 --- /dev/null +++ b/src/components/WindowsSystemSetting/index.ts @@ -0,0 +1,605 @@ +// Windows 10 设置分类 - 使用真实的Windows 10图标路径 +export const categories = [ + { + id: 'system', + title: '系统', + description: '显示、声音、通知、电源', + iconPath: + 'M2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2zm0 1h12a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm1 2v1h2V5H3zm0 3v1h2V8H3zm4-3v1h2V5H7zm0 3v1h2V8H7zm4-3v1h2V5h-2zm0 3v1h2V8h-2z', + navItems: [ + { + key: 'display', + label: '显示', + iconPath: + 'M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-5L9 14v1a1 1 0 0 1-2 0v-1l-.5-2H2a2 2 0 0 1-2-2V4zm2-1a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h11.5a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H2z' + }, + // 声音 + { + key: 'sound', + label: '声音', + iconPath: + 'M12 3v6.586l4.293 4.293 1.414-1.414L14 8.586V3h-2zm-2 0H8v6.586l-4.293 4.293-1.414-1.414L6 8.586V3H4v6.586l-4.293 4.293-1.414-1.414L2 8.586V3h2z' + }, + //通知和操作 + { + key: 'notifications', + label: '通知和操作', + iconPath: 'M12 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0zm-1 4H5v2h6v-2z' + }, + //专注助手 + { + key: 'focus-assist', + label: '专注助手', + iconPath: + 'M12 4a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h4zm0 4H8v2h4V8z' + }, + //电源和睡眠 + { + key: 'power', + label: '电源和睡眠', + iconPath: + 'M12 4a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h4zm0 4H8v2h4V8z' + }, + //存储 + { + key: 'storage', + label: '存储', + iconPath: + 'M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4zm0 1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm1 2v1h2V5H5zm0 3v1h2V8H5zm4-3v1h2V5H9zm0 3v1h2V8H9zm4-3v1h2V5h-2zm0 3v1h2V8h-2z' + }, + //平板模式 + { + key: 'tablet-mode', + label: '平板模式', + iconPath: + 'M12 2a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8zm0 1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1z' + }, + //多任务处理 + { + key: 'multitasking', + label: '多任务处理', + iconPath: + 'M12 4a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h4zm0 4H8v2h4V8z' + }, + //投影到此电脑 + { + key: 'projection', + label: '投影到此电脑', + iconPath: + 'M12 4a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h4zm0 4H8v2h4V8z' + }, + //体验共享 + { + key: 'shared-experience', + label: '体验共享', + iconPath: + 'M12 4a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h4zm0 4H8v2h4V8z' + }, + //剪贴板 + { + key: 'clipboard', + label: '剪贴板', + iconPath: + 'M8 0a2 2 0 0 1 2 2v1h4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v1h2V1a1 1 0 0 0-1-1zm5 4H3v12h10V5z' + }, + //远程桌面 + { + key: 'remote-desktop', + label: '远程桌面', + iconPath: + 'M12 4a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h4zm0 4H8v2h4V8z' + }, + //关于 + { + key: 'about', + label: '关于', + iconPath: 'M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16z' + } + ] + }, + { + id: 'devices', + title: '设备', + description: '蓝牙、打印机、鼠标', + iconPath: + 'M9.5 2a.5.5 0 0 0-1 0v2.5H6V2a.5.5 0 0 0-1 0v2.5H2a.5.5 0 0 0 0 1h3V8a.5.5 0 0 0 1 0V5.5h2.5V8a.5.5 0 0 0 1 0V5.5H13a.5.5 0 0 0 0-1H9.5V2zm-7 9.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0zm9.5 0a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0z', + navItems: [ + { + key: 'bluetooth', + label: '蓝牙和其他设备', + iconPath: + 'M8.5 5.5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zm-3 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5zm0 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2z' + }, + //打印机和扫描仪 + { + key: 'printers', + label: '打印机和扫描仪', + iconPath: + 'M12 2a2 2 0 0 1 2 2v1h2a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2V2a2 2 0 0 1 2-2h4zm0 1H8a1 1 0 0 0-1 1v1h6V4a1 1 0 0 0-1-1zm-7 3v12h10V7H5zm1 1h8v10H6V8z' + }, + //鼠标 + { + key: 'mouse', + label: '鼠标', + iconPath: + 'M12 2a2 2 0 0 1 2 2v1h2a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2V2a2 2 0 0 1 2-2h4zm0 1H8a1 1 0 0 0-1 1v1h6V4a1 1 0 0 0-1-1zm-7 3v12h10V7H5zm1 1h8v10H6V8z' + }, + //输入 + { + key: 'typing', + label: '输入', + iconPath: + 'M12 2a2 2 0 0 1 2 2v1h2a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2V2a2 2 0 0 1 2-2h4zm0 1H8a1 1 0 0 0-1 1v1h6V4a1 1 0 0 0-1-1zm-7 3v12h10V7H5zm1 1h8v10H6V8z' + }, + // 笔和Windows Ink + { + key: 'pen', + label: '笔和Windows Ink', + iconPath: + 'M12 2a2 2 0 0 1 2 2v1h2a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2V2a2 2 0 0 1 2-2h4zm0 1H8a1 1 0 0 0-1 1v1h6V4a1 1 0 0 0-1-1zm-7 3v12h10V7H5zm1 1h8v10H6V8z' + }, + //自动播放 + { + key: 'autoplay', + label: '自动播放', + iconPath: + 'M12 2a2 2 0 0 1 2 2v1h2a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2V2a2 2 0 0 1 2-2h4zm0 1H8a1 1 0 0 0-1 1v1h6V4a1 1 0 0 0-1-1zm-7 3v12h10V7H5zm1 1h8v10H6V8z' + }, + //USB + { + key: 'usb', + label: 'USB', + iconPath: + 'M12 2a2 2 0 0 1 2 2v1h2a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2V2a2 2 0 0 1 2-2h4zm0 1H8a1 1 0 0 0-1 1v1h6V4a1 1 0 0 0-1-1zm-7 3v12h10V7H5zm1 1h8v10H6V8z' + } + ] + }, + { + id: 'phone', + title: '手机', + description: '连接Android设备和iPhone', + iconPath: + 'M11 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h6zM5 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H5zm3 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2zM6 3h4v8H6V3z', + navItems: [] + }, + { + id: 'network', + title: '网络和Internet', + description: 'Wi-Fi、飞行模式、VPN', + iconPath: + 'M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-6.5a6.5 6.5 0 1 0 0 13A6.5 6.5 0 0 0 8 1.5zM7.5 3a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9zm0 1a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7zm0 1a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5z', + navItems: [ + { + key: 'status', + label: '状态', + iconPath: + 'M8 4.754a3.246 3.246 0 1 0 0 6.492 3.246 3.246 0 0 0 0-6.492zM5.754 8a2.246 2.246 0 1 1 4.492 0 2.246 2.246 0 0 1-4.492 0z' + }, + //以太网 + { + key: 'ethernet', + label: '以太网', + iconPath: + 'M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4zm0 1h8a1 1 0 0 1 1 1v1H3V4a1 1 0 0 1 1-1zm8 10H4a1 1 0 0 1-1-1v-1h10v1a1 1 0 0 1-1 1z' + }, + //拨号 + { + key: 'dialup', + label: '拨号', + iconPath: + 'M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4zm0 1h8a1 1 0 0 1 1 1v1H3V4a1 1 0 0 1 1-1zm8 10H4a1 1 0 0 1-1-1v-1h10v1a1 1 0 0 1-1 1z' + }, + //VPN + { + key: 'vpn', + label: 'VPN', + iconPath: + 'M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4zm0 1h8a1 1 0 0 1 1 1v1H3V4a1 1 0 0 1 1-1zm8 10H4a1 1 0 0 1-1-1v-1h10v1a1 1 0 0 1-1 1z' + }, + //数据使用量 + { + key: 'dataUsage', + label: '数据使用量', + iconPath: + 'M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4zm0 1h8a1 1 0 0 1 1 1v1H3V4a1 1 0 0 1 1-1zm8 10H4a1 1 0 0 1-1-1v-1h10v1a1 1 0 0 1-1 1z' + }, + //代理 + { + key: 'proxy', + label: '代理', + iconPath: + 'M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4zm0 1h8a1 1 0 0 1 1 1v1H3V4a1 1 0 0 1 1-1zm8 10H4a1 1 0 0 1-1-1v-1h10v1a1 1 0 0 1-1 1z' + } + ] + }, + { + id: 'personalization', + title: '个性化', + description: '背景、锁屏、颜色', + iconPath: + 'M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4zM3 4a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4zm5.5.5A1.5 1.5 0 0 0 7 6v4a1.5 1.5 0 0 0 3 0V6a1.5 1.5 0 0 0-1.5-1.5z', + navItems: [ + { + key: 'background', + label: '背景', + iconPath: + 'M4.502 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z M6.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z m2.5 0a4.002 4.002 0 0 1-3.204 3.92l-.796.159V13a1 1 0 1 0 2 0V9.281c.652-.129 1.26-.422 1.779-.842A4 4 0 0 1 8.5 5.5z' + }, + //颜色 + { + key: 'colors', + label: '颜色', + iconPath: + 'M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4zm0 1h8a1 1 0 0 1 1 1v1H3V4a1 1 0 0 1 1-1zm8 10H4a1 1 0 0 1-1-1v-1h10v1a1 1 0 0 1-1 1z' + }, + //锁屏界面 + { + key: 'lock-screen', + label: '锁屏界面', + iconPath: + 'M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4zm0 1h8a1 1 0 0 1 1 1v1H3V4a1 1 0 0 1 1-1zm8 10H4a1 1 0 0 1-1-1v-1h10v1a1 1 0 0 1-1 1z' + }, + //主题 + { + key: 'themes', + label: '主题', + iconPath: + 'M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4zm0 1h8a1 1 0 0 1 1 1v1H3V4a1 1 0 0 1 1-1zm8 10H4a1 1 0 0 1-1-1v-1h10v1a1 1 0 0 1-1 1z' + }, + //字体 + { + key: 'fonts', + label: '字体', + iconPath: + 'M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4zm0 1h8a1 1 0 0 1 1 1v1H3V4a1 1 0 0 1 1-1zm8 10H4a1 1 0 0 1-1-1v-1h10v1a1 1 0 0 1-1 1z' + }, + //开始 + { + key: 'start', + label: '开始', + iconPath: + 'M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4zm0 1h8a1 1 0 0 1 1 1v1H3V4a1 1 0 0 1 1-1zm8 10H4a1 1 0 0 1-1-1v-1h10v1a1 1 0 0 1-1 1z' + }, + //任务栏 + { + key: 'taskbar', + label: '任务栏', + iconPath: + 'M4 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4zm0 1h8a1 1 0 0 1 1 1v1H3V4a1 1 0 0 1 1-1zm8 10H4a1 1 0 0 1-1-1v-1h10v1a1 1 0 0 1-1 1z' + } + ] + }, + { + id: 'application', + title: '应用', + description: '卸载、默认应用、可选功能', + iconPath: + 'M6.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm2.5 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm4.5 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zM0 1.5A1.5 1.5 0 0 1 1.5 0h13A1.5 1.5 0 0 1 16 1.5v13a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 14.5v-13zm1.5-.5a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-13a.5.5 0 0 0-.5-.5h-13z', + navItems: [] + }, + { + id: 'account', + title: '账户', + description: '你的账户、电子邮件、同步设置、工作、家庭', + iconPath: + 'M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z', + navItems: [] + }, + { + id: 'time', + title: '时间和语言', + description: '语音、区域、日期', + iconPath: + 'M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5zM8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0z', + navItems: [ + //日期和时间 + { + key: 'date', + label: '日期和时间', + iconPath: 'M8 0a8 8 0 1 0 0 16 8 8 0 0 0 0-16zm0 1a7 7 0 0 1 0 14 7 7 0 0 1 0-14z' + }, + //区域 + { + key: 'region', + label: '区域', + iconPath: 'M8 0a8 8 0 1 0 0 16 8 8 0 0 0 0-16zm0 1a7 7 0 0 1 0 14 7 7 0 0 1 0-14z' + }, + //语言 + { + key: 'language', + label: '语言', + iconPath: 'M8 0a8 8 0 1 0 0 16 8 8 0 0 0 0-16zm0 1a7 7 0 0 1 0 14 7 7 0 0 1 0-14z' + }, + //语音 + { + key: 'speech', + label: '语音', + iconPath: 'M8 0a8 8 0 1 0 0 16 8 8 0 0 0 0-16zm0 1a7 7 0 0 1 0 14 7 7 0 0 1 0-14z' + } + ] + }, + { + id: 'games', + title: '游戏', + description: '游戏栏、截屏、直播、游戏模式', + iconPath: + 'M2.5 4a.5.5 0 1 0 0 1h11a.5.5 0 0 0 0-1h-11zM2 7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7zm1 0v5h10V7H3zm2.5.5a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm3 .5a.5.5 0 1 0 1 0 .5.5 0 0 0-1 0zm4.5-.5a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1zm-2 2a.5.5 0 1 0 1 0 .5.5 0 0 0-1 0zm-3-.5a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1z', + navItems: [] + }, + { + id: 'easy', + title: '轻松使用', + description: '讲述人、放大镜、高对比度', + iconPath: + 'M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zM4.5 7.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0zM8 5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z', + navItems: [] + }, + { + id: 'search', + title: '搜索', + description: '查找我的文件、权限', + iconPath: + 'M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z', + navItems: [] + }, + { + id: 'contana', + title: 'Contana', + description: 'Contana语言、权限、通知', + iconPath: + 'M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16zM4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z', + navItems: [] + }, + { + id: 'privacy', + title: '隐私', + description: '位置、相机、麦克风', + iconPath: + 'M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z', + navItems: [] + }, + { + id: 'security', + title: '更新和安全', + description: 'Windows更新、恢复、备份', + iconPath: + 'M5.338 1.59a61.44 61.44 0 0 0-2.837.856.481.481 0 0 0-.328.39c-.554 4.157.726 7.19 2.253 9.188a10.725 10.725 0 0 0 2.287 2.233c.346.244.652.42.893.533.12.057.218.095.293.118a.55.55 0 0 0 .101.025.615.615 0 0 0 .1-.025c.076-.023.174-.061.294-.118.24-.113.547-.29.893-.533a10.726 10.726 0 0 0 2.287-2.233c1.527-1.997 2.807-5.031 2.253-9.188a.48.48 0 0 0-.328-.39c-.651-.213-1.75-.56-2.837-.855C9.552 1.29 8.531 1.067 8 1.067c-.53 0-1.552.223-2.662.524zM5.072.56C6.157.265 7.31 0 8 0s1.843.265 2.928.56c1.11.3 2.229.655 2.887.87a1.54 1.54 0 0 1 1.044 1.262c.596 4.477-.787 7.795-2.465 9.99a11.775 11.775 0 0 1-2.517 2.453 7.159 7.159 0 0 1-1.048.625c-.28.132-.581.24-.829.24s-.548-.108-.829-.24a7.158 7.158 0 0 1-1.048-.625 11.777 11.777 0 0 1-2.517-2.453C1.928 10.487.545 7.169 1.141 2.692A1.54 1.54 0 0 1 2.185 1.43 62.456 62.456 0 0 1 5.072.56z', + navItems: [ + //Windows更新 + { + key: 'windows_update', + label: 'Windows更新', + iconPath: + 'M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z' + }, + //传递优化 + { + key: 'delivery_optimization', + label: '传递优化', + iconPath: + 'M12 2a1 1 0 0 1 1 1v1h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1V3a1 1 0 0 1 1-1z' + }, + //Windows安全中心 + { + key: 'windows_security', + label: 'Windows安全中心', + iconPath: + 'M12 2a1 1 0 0 1 1 1v1h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1V3a1 1 0 0 1 1-1z' + }, + //备份 + { + key: 'backup', + label: '备份', + iconPath: + 'M12 2a1 1 0 0 1 1 1v1h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1V3a1 1 0 0 1 1-1z' + }, + // 疑难解答 + { + key: 'troubleshoot', + label: '疑难解答', + iconPath: + 'M12 2a1 1 0 0 1 1 1v1h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1V3a1 1 0 0 1 1-1z' + }, + //恢复 + { + key: 'recovery', + label: '恢复', + iconPath: + 'M12 2a1 1 0 0 1 1 1v1h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1V3a1 1 0 0 1 1-1z' + }, + //激活 + { + key: 'activation', + label: '激活', + iconPath: + 'M12 2a1 1 0 0 1 1 1v1h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1V3a1 1 0 0 1 1-1z' + }, + //查找我的设备 + { + key: 'find_my_device', + label: '查找我的设备', + iconPath: + 'M12 2a1 1 0 0 1 1 1v1h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1V3a1 1 0 0 1 1-1z' + }, + //开发者选项 + { + key: 'developer_options', + label: '开发者选项', + iconPath: + 'M12 2a1 1 0 0 1 1 1v1h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1V3a1 1 0 0 1 1-1z' + }, + //Windows预览体验计划 + { + key: 'windows_insider_program', + label: 'Windows预览体验计划', + iconPath: + 'M12 2a1 1 0 0 1 1 1v1h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1V3a1 1 0 0 1 1-1z' + } + ] + } +] +export const filterNav = [ + 'phone', + 'application', + 'account', + 'games', + 'easy', + 'search', + 'contana', + 'privacy' +] + +import { useSettingStore } from "@/store/modules/settings" + +/** + * 通用的消息发送函数,用于将Windows系统设置更改添加到全局状态 + * @param pageName 设置页面的顶级标题, e.g., '系统' + * @param description 更改项的具体描述, e.g., '显示' + * @param category 更改项的分类, e.g., 'system' + * @param key 更改项的唯一标识, e.g., 'display' + * @param value 更改项的值 (可以是 boolean, string, number 等) + */ +export const sendWindowsSettingMsg = (pageName: string, description: string, category: string, key: string, value: any) => { + const settingStore = useSettingStore() + + let displayValue: string; + + // 根据值的类型格式化显示文本 + if (typeof value === 'boolean') { + displayValue = value ? '开启' : '关闭'; + } else if (typeof value === 'number') { + displayValue = value.toString(); + } else { + displayValue = value; + } + + // 拼接 contentIn 字符串 + const contentIn = `Windows设置${pageName}-${description}: ${displayValue}` + + // 拼接 content 字符串 + const content = `windows@${category}@${key}@${value}` + + // 创建数据对象并添加到 store + const data = { contentIn, content, scoreRate: '' }; + + // 为了避免重复,可以先查找并更新,如果不存在再添加 + const existingIndex = settingStore.settingsFormList.findIndex(item => + item.content && item.content.startsWith(`windows@${category}@${key}@`) + ); + + if (existingIndex !== -1) { + // 如果已存在,则替换 + settingStore.settingsFormList[existingIndex] = data; + } else { + // 如果不存在,则添加 + settingStore.settingsFormList.push(data); + } + + console.log('Updated Windows settings data:', data); + console.log('Current form list:', settingStore.settingsFormList); +} + +/** + * 针对系统设置的便捷函数 + */ +export const sendSystemMsg = (description: string, key: string, value: any) => { + sendWindowsSettingMsg('系统', description, 'system', key, value); +} + +/** + * 针对设备设置的便捷函数 + */ +export const sendDeviceMsg = (description: string, key: string, value: any) => { + sendWindowsSettingMsg('设备', description, 'devices', key, value); +} + +/** + * 针对网络设置的便捷函数 + */ +export const sendNetworkMsg = (description: string, key: string, value: any) => { + sendWindowsSettingMsg('网络和Internet', description, 'network', key, value); +} + +/** + * 针对个性化设置的便捷函数 + */ +export const sendPersonalizationMsg = (description: string, key: string, value: any) => { + sendWindowsSettingMsg('个性化', description, 'personalization', key, value); +} + +/** + * 针对应用设置的便捷函数 + */ +export const sendAppsMsg = (description: string, key: string, value: any) => { + sendWindowsSettingMsg('应用', description, 'apps', key, value); +} + +/** + * 针对账户设置的便捷函数 + */ +export const sendAccountMsg = (description: string, key: string, value: any) => { + sendWindowsSettingMsg('账户', description, 'accounts', key, value); +} + +/** + * 针对时间和语言设置的便捷函数 + */ +export const sendTimeLanguageMsg = (description: string, key: string, value: any) => { + sendWindowsSettingMsg('时间和语言', description, 'time', key, value); +} + +/** + * 针对游戏设置的便捷函数 + */ +export const sendGamingMsg = (description: string, key: string, value: any) => { + sendWindowsSettingMsg('游戏', description, 'gaming', key, value); +} + +/** + * 针对轻松使用设置的便捷函数 + */ +export const sendEaseOfAccessMsg = (description: string, key: string, value: any) => { + sendWindowsSettingMsg('轻松使用', description, 'easeOfAccess', key, value); +} + +/** + * 针对搜索设置的便捷函数 + */ +export const sendSearchMsg = (description: string, key: string, value: any) => { + sendWindowsSettingMsg('搜索', description, 'search', key, value); +} + +/** + * 针对Cortana设置的便捷函数 + */ +export const sendCortanaMsg = (description: string, key: string, value: any) => { + sendWindowsSettingMsg('Cortana', description, 'cortana', key, value); +} + +/** + * 针对隐私设置的便捷函数 + */ +export const sendPrivacyMsg = (description: string, key: string, value: any) => { + sendWindowsSettingMsg('隐私', description, 'privacy', key, value); +} + +/** + * 针对更新和安全设置的便捷函数 + */ +export const sendUpdateSecurityMsg = (description: string, key: string, value: any) => { + sendWindowsSettingMsg('更新和安全', description, 'updateSecurity', key, value); +} + +/** + * 针对手机设置的便捷函数 + */ +export const sendPhoneMsg = (description: string, key: string, value: any) => { + sendWindowsSettingMsg('手机', description, 'phone', key, value); +} + +/** + * 针对多任务设置的便捷函数 + */ +export const sendMultitaskingMsg = (description: string, key: string, value: any) => { + sendWindowsSettingMsg('多任务', description, 'multitasking', key, value); +} diff --git a/src/components/WindowsSystemSetting/index.vue b/src/components/WindowsSystemSetting/index.vue new file mode 100644 index 0000000..19fcfe2 --- /dev/null +++ b/src/components/WindowsSystemSetting/index.vue @@ -0,0 +1,313 @@ + + + + + diff --git a/src/views/paper/question/WindowsSystemSettingForm.vue b/src/views/paper/question/WindowsSystemSettingForm.vue new file mode 100644 index 0000000..b1f0d86 --- /dev/null +++ b/src/views/paper/question/WindowsSystemSettingForm.vue @@ -0,0 +1,576 @@ + + + + diff --git a/src/views/paper/question/index.vue b/src/views/paper/question/index.vue index 8e4d121..ddd5d46 100644 --- a/src/views/paper/question/index.vue +++ b/src/views/paper/question/index.vue @@ -338,6 +338,7 @@ + @@ -360,6 +361,7 @@ import UserImportForm from './UserImportForm.vue' import WpsWordForm from './WpsWordForm.vue' import WpsPptxForm from './WpsPptxForm.vue' import SettingForm from './SettingForm.vue' +import WindowsSystemSettingForm from './WindowsSystemSettingForm.vue' import WpsXlsxForm from './WpsXlsxForm.vue' import PsForm from './PsForm.vue' import EmailForm from './EmailForm.vue' @@ -743,6 +745,7 @@ const fformRef = ref() const wformRef = ref() const pformRef = ref() const setformRef = ref() +const windowsSystemFormRef = ref() const emailformRef = ref() const xlsxformRef = ref() const psformRef = ref() @@ -767,6 +770,8 @@ const openForm = (type: string, id?: number) => { pformRef.value.open(queryParams, type, id) } else if (chooseQuestionType.value.includes('windows网络设置')) { setformRef.value.open(queryParams, type, id) + } else if (chooseQuestionType.value.includes('windows系统设置')) { + windowsSystemFormRef.value.open(queryParams, type, id) } else if (chooseQuestionType.value.includes('邮箱')) { emailformRef.value.open(queryParams, type, id) } else if (chooseQuestionType.value.includes('表格')) { @@ -850,8 +855,8 @@ const handleDeletes = async () => { type: 'warning' }) selectedRows.value = rows.map((d: any) => d.quId) // 保存选中的行数据 - const res = await QuestionApi.removeQuestions(selectedRows.value) - if (res == '删除成功') { + const res = await QuestionApi.removeQuestions(selectedRows.value) + if (res == '删除成功') { message.success(res) } else { message.error(res)