diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..61343e9 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "svelte.svelte-vscode", + "tauri-apps.tauri-vscode", + "rust-lang.rust-analyzer" + ] +} diff --git a/index.html b/index.html new file mode 100644 index 0000000..5f713ac --- /dev/null +++ b/index.html @@ -0,0 +1,16 @@ + + + +
+ + + +| 直播间 | +缓存时长 | +状态 | +操作 | +
|---|---|---|---|
|
+
+
+
+
+
+ {
+ open("https://live.bilibili.com/" + room.room_id);
+ }}
+ >
+
+
+ {room.room_title}
+
+ + 房间号:{room.room_id} + |
+
+ {Number(room.total_length).toFixed(1)}s
+ |
+ + {room.live_status ? "直播中" : "未开播"} + | ++ + + + | +