diff --git a/webapp/src/components/ui/calendar/Calendar.vue b/webapp/src/components/ui/calendar/Calendar.vue index fb103e8..a5c7279 100644 --- a/webapp/src/components/ui/calendar/Calendar.vue +++ b/webapp/src/components/ui/calendar/Calendar.vue @@ -238,6 +238,7 @@ const initPanelPosition = () => { if (isMobile) { // 移动端:居中显示 + const panelWidth = windowWidth - 16 // 左右各8px边距 const panelHeight = 580 // 估计高度 panelPos.value = { x: 8, diff --git a/webapp/src/views/Home.vue b/webapp/src/views/Home.vue index 3646875..60dfc31 100644 --- a/webapp/src/views/Home.vue +++ b/webapp/src/views/Home.vue @@ -6,42 +6,52 @@
-
+
+ +
+
+ + + + 下次更新 {{ nextUpdateTime }} +
+
+
- 今日精选 · {{ formatDate(todayImage.date) }} + {{ isToday ? '今日精选' : '最新图片' }} · {{ formatDate(latestImage.date) }}

- {{ todayImage.title || '必应每日一图' }} + {{ latestImage.title || '必应每日一图' }}

-

- {{ todayImage.copyright }} +

+ {{ latestImage.copyright }}