fix: place top pull hint below month bar

This commit is contained in:
openclaw 2026-07-25 01:48:13 +08:00
parent 4511cbf2fa
commit 50779dffff
1 changed files with 10 additions and 9 deletions

View File

@ -469,15 +469,6 @@ async function shareLedger() {
@touchend="finishLedgerPull"
@touchcancel="cancelLedgerPull"
>
<div
v-if="pullEdge === 'top' && pullDistance > 8"
:class="['ledger-pull-space', 'top', pullAction]"
:style="{ height: `${pullDistance}px`, '--pull-progress': pullProgress }"
role="status"
>
<RefreshCw :size="15" :class="{ spinning: pullLoading }" />
<span>{{ pullLoading ? "正在加载" : pullLabel }}</span>
</div>
<div class="ledger-notice-slot" aria-live="polite">
<div v-if="pendingEntryCount" class="sync-notice" role="status">
<span><CloudOff :size="16" />{{ pendingEntryCount }} 条账目未同步云端</span>
@ -516,6 +507,16 @@ async function shareLedger() {
</div>
</div>
<div
v-if="pullEdge === 'top' && pullDistance > 8"
:class="['ledger-pull-space', 'top', pullAction]"
:style="{ height: `${pullDistance}px`, '--pull-progress': pullProgress }"
role="status"
>
<RefreshCw :size="15" :class="{ spinning: pullLoading }" />
<span>{{ pullLoading ? "正在加载" : pullLabel }}</span>
</div>
<section v-for="group in groupedEntries" :key="group.date" class="day-group">
<div class="day-group-heading">
<h2>{{ dateHeading(group.date) }}</h2>