update center-tips
This commit is contained in:
@@ -163,8 +163,8 @@
|
||||
</template>
|
||||
</t-swipe-cell>
|
||||
</t-cell-group>
|
||||
<div v-if="!pageResult.list.length" class="center-tips" v-text="isLoading ? '正在加载客户' : '暂无客户数据'" />
|
||||
<div v-if="pageResult.list.length" class="center-tips" v-text="isLoading ? '正在加载更多' : isNoMore ? '已经到底了' : '上拉加载更多'" />
|
||||
<center-tips v-if="!pageResult.list.length" :content="isLoading ? '正在加载客户' : '暂无客户数据'" />
|
||||
<center-tips v-if="pageResult.list.length" :content="isLoading ? '正在加载更多' : isNoMore ? '已经到底了' : '上拉加载更多'" />
|
||||
</div>
|
||||
</t-pull-down-refresh>
|
||||
<tag-selector
|
||||
@@ -564,37 +564,6 @@ function buildCreatedAtRange(): [number | undefined, number | undefined] {
|
||||
<style scoped lang="less">
|
||||
.customer-list {
|
||||
|
||||
.filters {
|
||||
top: var(--app-nav-height);
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
padding: .75rem 1rem;
|
||||
position: sticky;
|
||||
flex-direction: column;
|
||||
|
||||
.search {
|
||||
--td-button-border-radius: .75rem;
|
||||
--td-input-vertical-padding: .25rem 1rem;
|
||||
|
||||
border: 1px solid var(--td-component-border);
|
||||
z-index: 2;
|
||||
padding-right: .3rem;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
.menus {
|
||||
--td-spacer-1: 6px;
|
||||
|
||||
width: 100%;
|
||||
border: 1px solid var(--td-component-border);
|
||||
overflow: hidden;
|
||||
margin-top: -1rem;
|
||||
padding-top: .8rem;
|
||||
border-radius: 0 0 1rem 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.scanner-wrapper {
|
||||
padding: .5rem 1rem 0;
|
||||
@@ -658,10 +627,6 @@ function buildCreatedAtRange(): [number | undefined, number | undefined] {
|
||||
border-color: rgba(148, 163, 184, .16);
|
||||
}
|
||||
|
||||
.menus {
|
||||
background: #172033;
|
||||
border-color: rgba(148, 163, 184, .16);
|
||||
}
|
||||
}
|
||||
|
||||
.summary {
|
||||
@@ -671,10 +636,7 @@ function buildCreatedAtRange(): [number | undefined, number | undefined] {
|
||||
}
|
||||
|
||||
.items {
|
||||
|
||||
.center-tips,
|
||||
.item,
|
||||
.empty-block {
|
||||
.item {
|
||||
color: #e2e8f0;
|
||||
background: rgba(30, 41, 59, .9);
|
||||
border-color: rgba(148, 163, 184, .16);
|
||||
|
||||
Reference in New Issue
Block a user