fix: place top pull hint below month bar
This commit is contained in:
parent
4511cbf2fa
commit
50779dffff
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue