perf(script): 优化图文作品复选弹窗显示效果

This commit is contained in:
Quan
2025-08-10 23:16:03 +08:00
parent ef7c793c16
commit d5e0fa7b89
2 changed files with 7 additions and 4 deletions

View File

@@ -18,7 +18,7 @@
**用户脚本更新内容:** **用户脚本更新内容:**
**版本号2.1.8** **版本号2.1.9**
1. 修复单张图片的作品下载后文件损坏问题 1. 修复单张图片的作品下载后文件损坏问题
2. 添加未登录状态下无法提取作品链接的提示 2. 添加未登录状态下无法提取作品链接的提示
@@ -29,4 +29,5 @@
7. 新增支持仅提取勾选的作品链接 7. 新增支持仅提取勾选的作品链接
8. 优化提取作品 ID 的正则表达式 8. 优化提取作品 ID 的正则表达式
9. 优化图文作品复选弹窗交互效果 9. 优化图文作品复选弹窗交互效果
10. 优化用户脚本运行状态提示 10. 优化图文作品复选弹窗显示效果
11. 优化用户脚本运行状态提示

View File

@@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name XHS-Downloader // @name XHS-Downloader
// @namespace https://github.com/JoeanAmier/XHS-Downloader // @namespace https://github.com/JoeanAmier/XHS-Downloader
// @version 2.1.8 // @version 2.1.9
// @description 提取小红书作品/用户链接,下载小红书无水印图文/视频作品文件 // @description 提取小红书作品/用户链接,下载小红书无水印图文/视频作品文件
// @author JoeanAmier // @author JoeanAmier
// @match http*://xhslink.com/* // @match http*://xhslink.com/*
@@ -1089,10 +1089,12 @@
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: all 0.2s;
border: 2px solid transparent; border: 2px solid transparent;
aspect-ratio: 3 / 4;
background: #f7f7f7;
} }
.image-item img { .image-item img {
width: 100%; width: 100%;
height: 100px; height: 100%;
object-fit: cover; object-fit: cover;
border-radius: 6px; border-radius: 6px;
} }