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 -31
View File
@@ -136,8 +136,8 @@
</template>
</t-cell>
</t-cell-group>
<div v-else class="center-tips" v-text="emptyText" />
<div v-if="productList.length" class="center-tips" v-text="isLoading ? '正在加载更多' : isNoMore ? '已经到底了' : '上拉加载更多'" />
<center-tips v-else :content="emptyText" />
<center-tips v-if="productList.length" :content="isLoading ? '正在加载更多' : isNoMore ? '已经到底了' : '上拉加载更多'" />
</t-pull-down-refresh>
</main>
@@ -486,35 +486,6 @@ onUnmounted(() => {
.product-list {
padding: var(--app-nav-height) 0 1rem;
.filters {
top: var(--app-nav-height);
left: 0;
right: 0;
z-index: 10;
display: flex;
padding: .75rem 1rem;
position: sticky;
flex-direction: column;
.keyword {
--td-input-vertical-padding: 8px 14px;
border: 1px solid var(--td-component-border);
z-index: 1;
border-radius: 1rem;
}
.menus {
--td-spacer-1: 6px;
width: 100%;
border: 1px solid rgba(148, 163, 184, .18);
overflow: hidden;
margin-top: -1rem;
padding-top: .8rem;
border-radius: 0 0 1rem 1rem;
}
}
.list {