fix list style

This commit is contained in:
Timi
2026-09-13 15:34:53 +08:00
parent b841f202a7
commit 9332f6ddb8
+8 -9
View File
@@ -19,12 +19,12 @@
</t-input>
</div>
<t-pull-down-refresh
class="list-wrapper"
v-model="isRefreshing"
:refresh-timeout="30000"
@refresh="reload"
@scrolltolower="load"
>
<div class="list-wrap">
<t-cell-group v-if="pageResult.list.length" class="list" theme="card">
<customer-cell
v-entrance-transition="index * 30"
@@ -46,6 +46,7 @@
</customer-cell>
</t-cell-group>
<div class="center-tips" v-text="loadStateText" />
</div>
</t-pull-down-refresh>
<customer-selector
v-model="selectedCustomerId"
@@ -271,10 +272,15 @@ onMounted(async () => {
}
}
.list-wrapper {
.list-wrap {
gap: 1rem;
display: flex;
min-height: 70vh;
padding-top: 1rem;
flex-direction: column;
.list {
.item {
padding: 10px;
@@ -300,13 +306,6 @@ onMounted(async () => {
}
}
}
.center-tips {
color: #52607a;
padding: 1rem;
font-size: .8125rem;
text-align: center;
}
}
:global(html.theme-dark) {