Commit 21923564 by chenwq

fix(teamList): 调整下拉刷新组件样式并优化列表布局

1 parent 9d7165c8
......@@ -28,7 +28,7 @@
</div>
</van-sticky>
<div class="content-box">
<van-pull-refresh v-model="refreshing" @refresh="onRefresh">
<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">
<template v-if="list.length > 0">
<div class="item content" v-for="(item, index) in list" :key="index" @click="jump(item)">
......@@ -365,9 +365,13 @@ export default {
box-sizing: border-box;
height: calc(100vh);
overflow: scroll;
.list {
.refresh {
height: calc(100vh - 300px);
overflow: scroll;
}
.list {
width: 100%;
height: 100%;
.item {
border-radius: 12px;
background: #ffffff;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!