diff --git a/src/App.ku.vue b/src/App.ku.vue
index 83aa4d9..8285888 100644
--- a/src/App.ku.vue
+++ b/src/App.ku.vue
@@ -20,10 +20,10 @@
-
-
+
+
-
+
diff --git a/src/components/uh-settings-popup/uh-settings-popup.vue b/src/components/uh-settings-popup/uh-settings-popup.vue
index c7d7a40..9f7a119 100644
--- a/src/components/uh-settings-popup/uh-settings-popup.vue
+++ b/src/components/uh-settings-popup/uh-settings-popup.vue
@@ -3,6 +3,9 @@
import { useSettingStore } from '@/store/setting'
import { usePreferenceRows } from '@/hooks/usePreferenceRows'
import { useSettingsPopup } from '@/hooks/useSettingsPopup'
+ import { useDialog } from '@wot-ui/ui'
+
+ const dialog = useDialog()
const settingStore = useSettingStore()
@@ -49,11 +52,11 @@
function handleResetAll() {
uni.showModal({
title: '提示',
- content: '确定将所有偏好恢复为站点默认吗?本地自定义的偏好将被清除,未配置站点默认的项将恢复为内置默认。',
+ content: '确定将所有偏好恢复为站点默认吗?',
showCancel: true,
cancelText: '取消',
confirmText: '确定',
- confirmColor: '#03a9f4',
+ confirmColor: '#B9E424',
success: (res) => {
if (res.confirm) {
settingStore.resetPreferences()
@@ -69,12 +72,11 @@
function onOpen() {
emits('open')
}
-
+ safe-area-inset-bottom :z-index="110" hide-when-close @close="onClose" @open="onOpen">
偏好设置
@@ -219,4 +221,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/tabbar/index.vue b/src/tabbar/index.vue
index d8c28f1..725c6df 100644
--- a/src/tabbar/index.vue
+++ b/src/tabbar/index.vue
@@ -101,7 +101,7 @@
-
+
@@ -120,30 +120,4 @@
-
-
-
\ No newline at end of file
+
\ No newline at end of file