Commit f177ebd1 by chenwq

fix(团队列表): 调整列表组件的样式和结构

1 parent 660406d3
......@@ -43,8 +43,15 @@
</div>
</van-sticky>
<div class="content-box">
<van-pull-refresh class="refresh" v-model="refreshing" @refresh="onRefresh">
<van-list class="list" v-if="list.length" v-model="loading" :finished="finished" finished-text="到底了~" @load="onLoadMore">
<van-pull-refresh v-model="refreshing"
class="refresh"
@refresh="onRefresh">
<van-list v-if="list.length"
v-model="loading"
class="list"
finished-text="到底了~"
:finished="finished"
@load="onLoadMore">
<template v-if="list.length > 0">
<div v-for="(item, index) in list"
:key="index"
......@@ -376,64 +383,64 @@ export default {
z-index: 1;
overflow: hidden;
::v-deep .van-tab {
font-size: 14px;
font-weight: 600;
&.van-tab--active {
font-size: 17px !important;
}
}
.date {
padding: 8px 12px;
}
.data-container {
box-sizing: border-box;
height: calc(100vh - 90px);
// padding-bottom: env(safe-area-inset-bottom);
// overflow: auto;
.sticky-box {
&.is-sticky {
background: #f2f3f7;
}
}
.number {
height: 15px;
font-size: 12px;
color: #00000066;
padding: 8px 12px;
display: flex;
align-items: center;
}
.content-box {
padding: 0 12px;
box-sizing: border-box;
height: calc(100vh);
overflow: scroll;
.refresh {
height: calc(100vh - 300px);
overflow: scroll;
}
.list {
width: 100%;
height: 100%;
.item {
border-radius: 12px;
background: #ffffff;
padding: 12px;
margin-bottom: 8px;
&:last-child {
margin-bottom: 0;
}
.name {
font-size: 14px;
font-weight: 500;
color: #000000e5;
}
.status-badge {
font-size: 10px;
padding: 4px 6px;
border-radius: 4px;
}
::v-deep .van-tab {
font-size: 14px;
font-weight: 600;
&.van-tab--active {
font-size: 17px !important;
}
}
.date {
padding: 8px 12px;
}
.data-container {
box-sizing: border-box;
height: calc(100vh - 190px);
// padding-bottom: env(safe-area-inset-bottom);
// overflow: auto;
.sticky-box {
&.is-sticky {
background: #f2f3f7;
}
}
.number {
height: 15px;
font-size: 12px;
color: #00000066;
padding: 8px 12px;
display: flex;
align-items: center;
}
.content-box {
padding: 0 12px;
box-sizing: border-box;
height: calc(100vh);
overflow: scroll;
.refresh {
height: calc(100vh - 340px);
overflow: scroll;
}
.list {
width: 100%;
height: 100%;
.item {
border-radius: 12px;
background: #ffffff;
padding: 12px;
margin-bottom: 8px;
&:last-child {
margin-bottom: 0;
}
.name {
font-size: 14px;
font-weight: 500;
color: #000000e5;
}
.status-badge {
font-size: 10px;
padding: 4px 6px;
border-radius: 4px;
}
/* 专项督办 */
.special-item {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!