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

This commit is contained in:
Quan 2025-08-10 23:24:28 +08:00
parent d5e0fa7b89
commit 1ceb97e9c2
2 changed files with 8 additions and 4 deletions

View File

@ -18,7 +18,7 @@
**用户脚本更新内容:**
**版本号2.1.9**
**版本号2.1.10**
1. 修复单张图片的作品下载后文件损坏问题
2. 添加未登录状态下无法提取作品链接的提示

View File

@ -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; }