Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
supervise-wecom
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d93ea262
authored
May 26, 2026
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(teamList): 调整团队列表布局并修复滚动问题
优化列表渲染结构,调整CSS样式以适配正确的滚动显示行为
1 parent
9205aef8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
src/views/teamWork/teamWork/teamList.vue
src/views/teamWork/teamWork/teamList.vue
View file @
d93ea26
...
@@ -29,8 +29,8 @@
...
@@ -29,8 +29,8 @@
</van-sticky>
</van-sticky>
<div
class=
"content-box"
>
<div
class=
"content-box"
>
<van-pull-refresh
v-model=
"refreshing"
@
refresh=
"onRefresh"
>
<van-pull-refresh
v-model=
"refreshing"
@
refresh=
"onRefresh"
>
<van-list
v-if=
"list.length"
v-model=
"loading"
:finished=
"finished"
finished-text=
"到底了~"
@
load=
"onLoadMore"
>
<van-list
class=
"list"
v-if=
"list.length"
v-model=
"loading"
:finished=
"finished"
finished-text=
"到底了~"
@
load=
"onLoadMore"
>
<
div
class=
"list"
v-if=
"list.length > 0"
>
<
template
v-if=
"list.length > 0"
>
<div
class=
"item content"
v-for=
"(item, index) in list"
:key=
"index"
@
click=
"jump(item)"
>
<div
class=
"item content"
v-for=
"(item, index) in list"
:key=
"index"
@
click=
"jump(item)"
>
<!-- 专项督办 (tabIndex === 3) -->
<!-- 专项督办 (tabIndex === 3) -->
<div
v-if=
"tabIndex == 3"
class=
"special-item"
>
<div
v-if=
"tabIndex == 3"
class=
"special-item"
>
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</
div
>
</
template
>
</van-list>
</van-list>
<van-empty
v-if=
"list.length === 0 && !loading && !refreshing"
image-size=
"100"
:image=
"IMG_URL + 'icon-empty.png'"
description=
"暂无数据"
/>
<van-empty
v-if=
"list.length === 0 && !loading && !refreshing"
image-size=
"100"
:image=
"IMG_URL + 'icon-empty.png'"
description=
"暂无数据"
/>
</van-pull-refresh>
</van-pull-refresh>
...
@@ -345,8 +345,8 @@ export default {
...
@@ -345,8 +345,8 @@ export default {
.data-container
{
.data-container
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
height
:
calc
(
100vh
-
90px
);
height
:
calc
(
100vh
-
90px
);
padding-bottom
:
env
(
safe-area-inset-bottom
);
//
padding-bottom
:
env
(
safe-area-inset-bottom
);
overflow
:
auto
;
//
overflow
:
auto
;
.sticky-box
{
.sticky-box
{
&.is-sticky
{
&.is-sticky
{
background
:
#f2f3f7
;
background
:
#f2f3f7
;
...
@@ -363,7 +363,11 @@ export default {
...
@@ -363,7 +363,11 @@ export default {
.content-box
{
.content-box
{
padding
:
0
12px
;
padding
:
0
12px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
height
:
calc
(
100vh
);
overflow
:
scroll
;
.list
{
.list
{
height
:
calc
(
100vh
-
300px
);
overflow
:
scroll
;
.item
{
.item
{
border-radius
:
12px
;
border-radius
:
12px
;
background
:
#ffffff
;
background
:
#ffffff
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment