From 3765aa57b683f00b609bad8b5d9a9722f271fbac Mon Sep 17 00:00:00 2001 From: jmal Date: Fri, 18 Jul 2025 16:03:56 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96grid=E8=A7=86?= =?UTF-8?q?=E5=9B=BE=E9=98=B4=E5=BD=B1=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ShowFile/ShowFile.vue | 178 +++++++++++++++------------ src/styles/home-index.scss | 2 +- 2 files changed, 97 insertions(+), 83 deletions(-) diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index 1a1dd48..698d717 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -351,19 +351,16 @@ -
- -
+
{{ this.pagination['total'] }}个结果: {{ this.pagination['total'] }}个结果:  - 获取更多数据... - {{ + 获取更多数据... + {{ !finished ? '已加载 ' + getSummaries3 : '已全部加载 ' + getSummaries3 }} -
@@ -527,85 +524,83 @@ - - + -
-
-
- -
- - -
- {{ gridFilename(item) }} +
+
+ +
+ + +
+ {{ gridFilename(item) }} +
+
-
-
-
-
+ + +
@@ -4946,6 +4941,25 @@ export default { justify-content: space-between; } +.shadow-container { + position: relative; + width: 100%; + overflow: hidden; + background: white; +} + +.shadow-container::before { + content: ''; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.05) 0px, transparent 4px); + pointer-events: none; + z-index: 10; +} + >>> .van-grid-item__content { background-size: cover; background-position: center; diff --git a/src/styles/home-index.scss b/src/styles/home-index.scss index 268551a..98d4e27 100644 --- a/src/styles/home-index.scss +++ b/src/styles/home-index.scss @@ -283,7 +283,7 @@ } >>> .van-grid { - padding-left: 20px; + padding: 0 0 0 20px; } >>> .van-grid-item__content .svg-icon{