mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2025-12-26 04:48:05 +08:00
更新 TUI 界面
This commit is contained in:
parent
7b7d9700d7
commit
8e66c1d293
5
main.py
5
main.py
@ -56,8 +56,9 @@ def main():
|
||||
class RunMenu(Static):
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
yield Button("获取数据", id="run", variant="success")
|
||||
yield Button("清空输入", id="reset")
|
||||
yield Button("下载无水印图片/视频", id="run", variant="success")
|
||||
yield Button("读取文件并开始批量下载作品", id="batch", variant="success")
|
||||
yield Button("清空输入", id="reset", variant="error")
|
||||
|
||||
|
||||
class XHSDownloader(App):
|
||||
|
||||
6
static/XHS_Downloader.tcss
Normal file
6
static/XHS_Downloader.tcss
Normal file
@ -0,0 +1,6 @@
|
||||
Button {
|
||||
width: auto;
|
||||
}
|
||||
RunMenu {
|
||||
layout: horizontal;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user