Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2026-01-26 13:56:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1d476bc68025c1cda8af49b53dda3d128b3f8bd5
1d476bc6
1 parent
2cf8e5fe
fix(CheckinCard): 移除van-tabs的animated和swipeable属性
避免多tab高度不一致时容器被最高的内容撑开,导致短内容下方出现空白区域
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/components/checkin/CheckinCard.vue
src/components/checkin/CheckinCard.vue
View file @
1d476bc
...
...
@@ -51,7 +51,8 @@
<
div
class
=
"post-media mt-2"
>
<!--
多附件
Tab
模式
-->
<
div
v
-
if
=
"mediaTabs.length > 1"
class
=
"media-tabs"
>
<
van
-
tabs
v
-
model
:
active
=
"activeTab"
shrink
animated
swipeable
color
=
"#4caf50"
>
<!--
移除
animated
和
swipeable
属性,避免多
tab
高度不一致时容器被最高的内容撑开,导致短内容下方出现空白
-->
<
van
-
tabs
v
-
model
:
active
=
"activeTab"
shrink
color
=
"#4caf50"
>
<
van
-
tab
v
-
for
=
"tab in mediaTabs"
:
key
=
"tab.name"
:
title
=
"tab.label"
:
name
=
"tab.name"
>
<
div
class
=
"pt-2"
>
<!--
图片内容
-->
...
...
Please
register
or
login
to post a comment