diff --git a/index.html b/index.html
index 49fea4d..aed3f33 100644
--- a/index.html
+++ b/index.html
@@ -18,7 +18,7 @@
--primary-light: #f5f0e6; /* Light background tone */
/* Editor typography - Consistent font size and line height */
- --editor-font-size: 23px; /* Base font size for editor */
+ --editor-font-size: 1.4375rem; /* Base font size for editor */
--editor-line-height: 1.1; /* Line height for editor */
/* Background colors - Warm paper-like tones */
@@ -94,7 +94,8 @@
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
- background-color: var(--background);
+ background-color: white;
+ background: url('/assets/icons/drawable-xxhdpi/note_setting_bg.png');
color: var(--text-primary);
/* 适配iPhone X及更新机型的刘海屏 */
padding-top: env(safe-area-inset-top);
diff --git a/src/components/Header.vue b/src/components/Header.vue
index 4a1397f..5062a38 100644
--- a/src/components/Header.vue
+++ b/src/components/Header.vue
@@ -76,6 +76,14 @@ const props = defineProps({
type: Function,
default: null,
},
+ background: {
+ type: String,
+ default: 'url(/assets/icons/drawable-xxhdpi/action_bar_default.png)',
+ },
+ color: {
+ type: String,
+ default: 'white',
+ },
})
const localFolderExpanded = ref(false)
@@ -92,7 +100,15 @@ const showFolderIcon = computed(() => {
const leftIconSource = computed(() => {
// 根据leftType属性返回对应的图标路径
- return props.leftType === 'settings' ? '/assets/icons/drawable-xxhdpi/btn_settings.png' : '/assets/icons/drawable-xxhdpi/btn_back.png'
+ if (props.leftType === 'settings') {
+ return '/assets/icons/drawable-xxhdpi/btn_settings.png'
+ } else {
+ if (props.color !== 'white') {
+ return '/assets/icons/drawable-xxhdpi/btn_back_black.png'
+ } else {
+ return '/assets/icons/drawable-xxhdpi/btn_back.png'
+ }
+ }
})
const handleFolderToggle = () => {
@@ -135,19 +151,18 @@ const handleTitlePress = () => {
diff --git a/src/pages/NoteEditorPage.vue b/src/pages/NoteEditorPage.vue
index 484f70e..2413a5a 100644
--- a/src/pages/NoteEditorPage.vue
+++ b/src/pages/NoteEditorPage.vue
@@ -283,8 +283,8 @@ const setShowAlert = value => {
.header-info {
display: flex;
justify-content: flex-start;
- gap: 10px;
- padding: 1rem 16px 0.7rem 16px;
+ gap: 0.625rem;
+ padding: 1rem 1rem 0.7rem 1rem;
background-color: var(--background-card);
border-bottom: 1px solid var(--border);
font-size: 0.7rem;
diff --git a/src/pages/NoteListPage.vue b/src/pages/NoteListPage.vue
index da78fa1..da4acde 100644
--- a/src/pages/NoteListPage.vue
+++ b/src/pages/NoteListPage.vue
@@ -363,13 +363,13 @@ const notes = computed(() => store.notes)
.folder-list {
position: absolute;
- top: 50px;
+ top: 3.125rem;
left: 10%;
right: 10%;
z-index: 1000;
background-color: var(--background-card);
- border-radius: 8px;
- box-shadow: 0 2px 4px var(--shadow);
+ border-radius: 0.5rem;
+ box-shadow: 0 0.125rem 0.25rem var(--shadow);
border: 1px solid #f0ece7;
overflow: hidden;
}
diff --git a/src/pages/SettingsPage.vue b/src/pages/SettingsPage.vue
index df933e1..643d4a5 100644
--- a/src/pages/SettingsPage.vue
+++ b/src/pages/SettingsPage.vue
@@ -1,69 +1,26 @@
-
-
-
+
+
+
+
-
+
+
-
+
+
-
-
-
![]()
-
备份便签
-
-
-
![]()
-
恢复便签
-
-
-
![]()
-
导出便签
-
-
-
![]()
-
导入便签
-
-
-
-
-
版本
1.0.0
@@ -75,143 +32,127 @@
服务条款
-
+
-
\ No newline at end of file
+