update center-tips

This commit is contained in:
Timi
2026-10-19 11:43:07 +08:00
parent deed1fefc4
commit fd1ff4526f
69 changed files with 167 additions and 1061 deletions
+2 -12
View File
@@ -123,8 +123,8 @@
</template>
</t-swipe-cell>
</t-cell-group>
<div v-if="!visibleEventList.length" class="empty-block" v-text="emptyText" />
<div v-if="visibleEventList.length" class="center-tips" v-text="isNoMore ? '已经到底了' : '上拉加载更多'" />
<center-tips v-if="!visibleEventList.length" :content="emptyText" />
<center-tips v-if="visibleEventList.length" :content="isNoMore ? '已经到底了' : '上拉加载更多'" />
</t-pull-down-refresh>
</main>
@@ -448,14 +448,8 @@ onUnmounted(() => {
}
}
}
}
.empty-block {
color: #52607a;
padding: 2rem 1rem;
text-align: center;
}
}
:global(html.theme-dark) {
@@ -472,10 +466,6 @@ onUnmounted(() => {
}
}
}
.empty-block {
color: #94a3b8;
}
}
}