From 3765aa57b683f00b609bad8b5d9a9722f271fbac Mon Sep 17 00:00:00 2001 From: jmal Date: Fri, 18 Jul 2025 16:03:56 +0800 Subject: [PATCH 1/2] =?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{ From f05ce8d18bca8392fb29435ac70545b2b9494e30 Mon Sep 17 00:00:00 2001 From: jmal Date: Fri, 18 Jul 2025 16:11:59 +0800 Subject: [PATCH 2/2] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=98=BE=E7=A4=BA=E7=BB=84=E4=BB=B6=E7=9A=84=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=A0=BC=E5=BC=8F=E5=92=8C=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ShowFile/ShowFile.vue | 68 ++++------------------------ 1 file changed, 10 insertions(+), 58 deletions(-) diff --git a/src/components/ShowFile/ShowFile.vue b/src/components/ShowFile/ShowFile.vue index 698d717..6c765a1 100644 --- a/src/components/ShowFile/ShowFile.vue +++ b/src/components/ShowFile/ShowFile.vue @@ -259,11 +259,7 @@ - +
- - + + 名称 - - + + 大小 - - + + 上传时间 - - + + 修改时间 @@ -4955,7 +4907,7 @@ export default { 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); + background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), transparent 4px); pointer-events: none; z-index: 10; }