perf: 更新程序交互界面

1. 更新英语翻译
2. 更新界面文本
3. 更新界面主题
This commit is contained in:
JoeanAmier
2024-12-28 13:57:34 +08:00
parent 8f820330dc
commit 13707c425a
15 changed files with 395 additions and 186 deletions

View File

@@ -4,12 +4,19 @@
2. 优化文件名称非法字符处理
3. 支持 API 模式传入 Cookie
4. 适配新版本 HTTPX 库
5. 重构项目翻译模块
6.正英语语言代码
7. 优化文件下载功能
8. 降低内置延时机制
5. 适配新版本 Textual 库
6.新程序交互界面
7. 重构项目翻译模块
8. 更正英语语言代码
9. 优化文件下载功能
10. 降低内置延时机制
11. 其他细节优化
*****
**用户脚本更新内容:**
1. 重构自动滚动页面功能
2. 优化文件下载功能
<p><strong>注意:自动滚动页面功能默认关闭!启用该功能可能会被小红书检测为自动化操作,从而导致账号受到风控或封禁!该功能在使用过程中遇到任何问题请及时向开发者反馈!</strong></p>

View File

@@ -65,8 +65,8 @@ XHS-Downloader 用户脚本 详细说明:
`
alert(instructions);
alert(`自动滚动页面功能代码已重构,该功能默认关闭!
启用该功能可能会被小红书检测为自动化操作,从而导致账号受到风控或封禁风险
该功能在使用过程中,如遇任何问题请及时向开发者反馈!
启用该功能可能会被小红书检测为自动化操作,从而导致账号受到风控或封禁!
该功能在使用过程中遇任何问题请及时向开发者反馈!
`);
if (!disclaimer) {
const answer = prompt(disclaimer_content, "");

View File

@@ -1,10 +1,6 @@
ScrollableContainer, RichLog, Monitor, About {
background: #2f3542;
}
Button {
width: 1fr;
margin: 1 1;
text-style: bold;
}
.vertical-layout {
layout: vertical;
@@ -18,46 +14,38 @@ Button {
width: 25vw;
}
Button#deal, Button#paste, Button#save, Button#enter {
tint: #27ae60 60%;
color: $success;
}
Button#reset, Button#abandon, Button#close {
tint: #c0392b 60%;
color: $error;
}
Label {
Label, Link {
width: 100%;
content-align-horizontal: center;
content-align-vertical: middle;
text-style: bold;
}
Link {
color: $accent;
}
Label.params {
margin: 1 0 0 0;
color: $primary;
}
Label.prompt {
padding: 1;
}
Bar {
width: 33vw;
}
Bar > .bar--indeterminate {
color: #7bed9f;
}
Bar > .bar--complete {
color: #ff7f50;
}
.loading {
grid-size: 1 2;
grid-gutter: 1;
width: 40vw;
height: 5;
background: #353b48;
border: double #747d8c;
border: double $primary;
}
#record {
grid-size: 1 3;
width: 80vw;
height: 12;
background: #353b48;
border: double #747d8c;
border: double $primary;
}
ModalScreen {
align: center middle;