Commit c468faf3 by chenwq

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

1 parent 76d0e3b6
...@@ -43,13 +43,8 @@ ...@@ -43,13 +43,8 @@
</div> </div>
</van-sticky> </van-sticky>
<div class="content-box"> <div class="content-box">
<van-pull-refresh v-model="refreshing" @refresh="onRefresh"> <van-pull-refresh class="refresh" v-model="refreshing" @refresh="onRefresh">
<van-list v-if="list.length" <van-list class="list" v-if="list.length" v-model="loading" :finished="finished" finished-text="到底了~" @load="onLoadMore">
v-model="loading"
class="list"
finished-text="到底了~"
:finished="finished"
@load="onLoadMore">
<template v-if="list.length > 0"> <template v-if="list.length > 0">
<div v-for="(item, index) in list" <div v-for="(item, index) in list"
:key="index" :key="index"
...@@ -414,9 +409,13 @@ export default { ...@@ -414,9 +409,13 @@ export default {
box-sizing: border-box; box-sizing: border-box;
height: calc(100vh); height: calc(100vh);
overflow: scroll; overflow: scroll;
.list { .refresh {
height: calc(100vh - 350px); height: calc(100vh - 300px);
overflow: scroll; overflow: scroll;
}
.list {
width: 100%;
height: 100%;
.item { .item {
border-radius: 12px; border-radius: 12px;
background: #ffffff; background: #ffffff;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!