feat(calendar): enhance loading behavior and mobile layout for subscriptions

This commit is contained in:
jxxghp
2026-06-28 21:22:43 +08:00
parent 2e46ebe353
commit d02e98736f
+5 -1
View File
@@ -642,7 +642,7 @@ async function eventsHander(subscribe: Subscribe) {
// 调用API查询所有订阅
async function getSubscribes() {
if (!isLoaded.value) openProgressDialog()
if (!isLoaded.value && display.mdAndUp.value) openProgressDialog()
try {
// 订阅
loading.value = true
@@ -767,6 +767,9 @@ onActivated(() => {
</FullCalendar>
<div v-else class="mobile-subscribe-calendar">
<LoadingBanner v-if="!isLoaded" class="mt-12" />
<template v-else>
<section class="mobile-calendar-filter-card">
<div class="mobile-calendar-filter-head">
<div class="mobile-calendar-filter-copy">
@@ -894,6 +897,7 @@ onActivated(() => {
<h2>{{ t('common.noData') }}</h2>
<p>{{ t('calendar.noMatchingEvents') }}</p>
</div>
</template>
</div>
</template>