From 1ceb97e9c2965bcdbc66b3375e33e16240318195 Mon Sep 17 00:00:00 2001 From: Quan Date: Sun, 10 Aug 2025 23:24:28 +0800 Subject: [PATCH] =?UTF-8?q?perf(script):=20=E4=BC=98=E5=8C=96=E5=9B=BE?= =?UTF-8?q?=E6=96=87=E4=BD=9C=E5=93=81=E5=A4=8D=E9=80=89=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/Release_Notes.md | 2 +- static/XHS-Downloader.js | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/static/Release_Notes.md b/static/Release_Notes.md index 9cb07a3..9309670 100644 --- a/static/Release_Notes.md +++ b/static/Release_Notes.md @@ -18,7 +18,7 @@ **用户脚本更新内容:** -**版本号:2.1.9** +**版本号:2.1.10** 1. 修复单张图片的作品下载后文件损坏问题 2. 添加未登录状态下无法提取作品链接的提示 diff --git a/static/XHS-Downloader.js b/static/XHS-Downloader.js index e2b0348..fd109a2 100644 --- a/static/XHS-Downloader.js +++ b/static/XHS-Downloader.js @@ -1,7 +1,7 @@ // ==UserScript== // @name XHS-Downloader // @namespace https://github.com/JoeanAmier/XHS-Downloader -// @version 2.1.9 +// @version 2.1.10 // @description 提取小红书作品/用户链接,下载小红书无水印图文/视频作品文件 // @author JoeanAmier // @match http*://xhslink.com/* @@ -1090,13 +1090,17 @@ transition: all 0.2s; border: 2px solid transparent; aspect-ratio: 3 / 4; - background: #f7f7f7; + background: + conic-gradient(#eee 25%, transparent 0 50%, #eee 0 75%, transparent 0) + 0 0/16px 16px #fafafa; } .image-item img { width: 100%; height: 100%; - object-fit: cover; + object-fit: contain; + object-position: center; border-radius: 6px; + display: block; } .image-item.selected { border-color: #2196F3; }