From a504fb36e0713acfe29171f490d331f9530eb9e4 Mon Sep 17 00:00:00 2001 From: Julian Freeman Date: Sun, 22 Mar 2026 20:29:54 -0400 Subject: [PATCH] fix ui --- src/App.vue | 60 ++++++++++++++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/src/App.vue b/src/App.vue index d7123a8..dc9a8a8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -19,7 +19,7 @@ const isSetupComplete = ref(false); const savePath = ref(""); const dbPath = ref(""); const isPaused = ref(false); -const currentDate = ref(new Date().toISOString().split("T")[0]); +const currentDate = ref(new Date().toLocaleDateString('sv')); const timelineImages = ref([]); const selectedImage = ref(null); const lockedImage = ref(null); @@ -101,7 +101,7 @@ const openStartTimePicker = async () => { isEndTimeOpen.value = false; if (isStartTimeOpen.value) { await nextTick(); - const activeItems = document.querySelectorAll('.z-\\[120\\] .bg-\\[\\#007AFF\\].text-white'); + const activeItems = document.querySelectorAll('.z-120 .bg-\\[\\#007AFF\\].text-white'); activeItems.forEach(el => el.scrollIntoView({ block: 'center' })); } }; @@ -111,7 +111,7 @@ const openEndTimePicker = async () => { isStartTimeOpen.value = false; if (isEndTimeOpen.value) { await nextTick(); - const activeItems = document.querySelectorAll('.z-\\[120\\] .bg-\\[\\#007AFF\\].text-white'); + const activeItems = document.querySelectorAll('.z-120 .bg-\\[\\#007AFF\\].text-white'); activeItems.forEach(el => el.scrollIntoView({ block: 'center' })); } }; @@ -439,9 +439,9 @@ const handleExport = async () => {
-
+
-

初始化 Chrono Snap

+

初始化设置

@@ -451,9 +451,9 @@ const handleExport = async () => {
- +
- +
@@ -468,13 +468,13 @@ const handleExport = async () => {
-

历史活动

+

瞬影 - 时间记录

-
+
{{ calendarMonth.getFullYear() }}年 {{ calendarMonth.getMonth()+1 }}月 @@ -524,9 +524,9 @@ const handleExport = async () => {
-
+
-

{{ editingEvent.id ? '编辑事件' : '新增记录' }}

+

{{ editingEvent.id ? '编辑记录' : '新增记录' }}

@@ -537,9 +537,9 @@ const handleExport = async () => { {{ startTimeInput }} -
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -608,7 +608,7 @@ const handleExport = async () => {
-
+

标签管理

@@ -630,7 +630,7 @@ const handleExport = async () => { {{ getTagName(newTagParent) }} -
+
-- 无 --
{{ t.name }}
@@ -645,7 +645,7 @@ const handleExport = async () => {
-
+

导出事件

@@ -658,7 +658,7 @@ const handleExport = async () => { {{ exportStartDate }} -
+
{{ exportStartMonth.getFullYear() }}年 {{ exportStartMonth.getMonth()+1 }}月 @@ -678,7 +678,7 @@ const handleExport = async () => { {{ exportEndDate }} -
+
{{ exportEndMonth.getFullYear() }}年 {{ exportEndMonth.getMonth()+1 }}月 @@ -700,22 +700,22 @@ const handleExport = async () => {
-
+

设置

-
-
多屏合并
拼接所有屏幕
+
+
多屏合并
{{ captureInterval }}s
{{ retainDays }}天
-
+
-
+
!