diff --git a/README.md b/README.md index 170041c..ffeb271 100644 --- a/README.md +++ b/README.md @@ -42,17 +42,22 @@ - [x] 作品库作品全局搜索 - [x] 手动作品添加,添加作品库外作品 - [x] 手动作品编辑,手动纠正作品信息,作品章节,添加SP章节等 -- [x] 查看作品简介,评分,透视,制作信息,相关作品,标签与角色信息等 +- [x] 自动同步观看进度至bangumi +- [x] 查看作品简介,评分,透视,制作信息,目录,相关作品,标签与角色信息等 - [x] 查看章节信息与讨论 - [x] 自定义作品封面与信息 - [x] 支持显示作品科学排名信息 - [x] 作品评分分段显示与标准差计算 - [x] 自动或手动记录作品观看进度 - [x] 作品简介翻译 +- [x] bangumi账户活动主页 +- [x] 支持特典扫描 +- [x] 支持海报生成分享 +- [x] 支持媒体库自动递归扫描 +- [x] 支持新番自动扫描更新EP - [ ] *支持作品合集创建* - [ ] *支持自定义排序* - [ ] *支持媒体库排版样式更换* -- [x] 支持特典扫描 **最近观看汇总** - [x] 首页展示最近观看作品信息 @@ -63,8 +68,8 @@ **做种管理集合** - [x] 合入qBittorrnet Web UI展示位,支持链接qBittorrnet管理做种 - [x] 自动检测Web UI联通情况 -- [ ] *Web UI支持记住密码* -- [ ] *Web UI支持初始化界面填写URL* +- [ ] *基于Web API的全新管理UI* +- [ ] *Web UI支持自动登录* **本地番剧观看** - [x] 内置mpv播放引擎,支持单独更新播放器,mpv默认内置Anime4K。 @@ -77,6 +82,8 @@ - [x] 首页支持显示自定义背景图 - [x] 自定义主题色 - [x] 全局高斯模糊效果,非线性动画 +- [x] OOBE开箱指南 +- [x] 全局Mica/Acrylic效果 ## 📥下载: 本项目默认提供Windows x64 可执行安装程序,未来将增加Linux版本二进制执行程序与Windows arm64 可执行安装程序打包。Mac OS用户请自行编译安装,由于手头没有林檎电脑(黑果也没有),因此不保证本项目程序在Mac OS的运行表现。 diff --git a/assets/Fonts/Concielian_Classic_Condensed_Condensed.ttf b/assets/Fonts/Concielian_Classic_Condensed_Condensed.ttf new file mode 100644 index 0000000..5a648b1 Binary files /dev/null and b/assets/Fonts/Concielian_Classic_Condensed_Condensed.ttf differ diff --git a/assets/SourceHanSans.otf b/assets/Fonts/SourceHanSans.otf similarity index 100% rename from assets/SourceHanSans.otf rename to assets/Fonts/SourceHanSans.otf diff --git a/assets/SourceHanSansHeavy.otf b/assets/Fonts/SourceHanSansHeavy.otf similarity index 100% rename from assets/SourceHanSansHeavy.otf rename to assets/Fonts/SourceHanSansHeavy.otf diff --git a/assets/zywyh.ttf b/assets/Fonts/zywyh.ttf similarity index 100% rename from assets/zywyh.ttf rename to assets/Fonts/zywyh.ttf diff --git a/assets/OOBE.png b/assets/OOBE.png new file mode 100644 index 0000000..c2bf5c6 Binary files /dev/null and b/assets/OOBE.png differ diff --git a/assets/RecentEP.svg b/assets/RecentEP.svg new file mode 100644 index 0000000..a64ee67 --- /dev/null +++ b/assets/RecentEP.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/ShareContent.png b/assets/ShareContent.png new file mode 100644 index 0000000..55f4d15 Binary files /dev/null and b/assets/ShareContent.png differ diff --git a/assets/Star-stroke.svg b/assets/Star-stroke.svg new file mode 100644 index 0000000..88b27f6 --- /dev/null +++ b/assets/Star-stroke.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/add.svg b/assets/add.svg new file mode 100644 index 0000000..8d1613e --- /dev/null +++ b/assets/add.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/anime.svg b/assets/anime.svg new file mode 100644 index 0000000..ba6c525 --- /dev/null +++ b/assets/anime.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/bangumi-icon.svg b/assets/bangumi-icon.svg new file mode 100644 index 0000000..85ef435 --- /dev/null +++ b/assets/bangumi-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/bangumi.svg b/assets/bangumi.svg new file mode 100644 index 0000000..153b727 --- /dev/null +++ b/assets/bangumi.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/details.svg b/assets/details.svg new file mode 100644 index 0000000..29aa009 --- /dev/null +++ b/assets/details.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/edit.svg b/assets/edit.svg new file mode 100644 index 0000000..a259f46 --- /dev/null +++ b/assets/edit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/folder.svg b/assets/folder.svg new file mode 100644 index 0000000..5b1cbc9 --- /dev/null +++ b/assets/folder.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/full-sync.svg b/assets/full-sync.svg new file mode 100644 index 0000000..9cb55f7 --- /dev/null +++ b/assets/full-sync.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/generate.svg b/assets/generate.svg new file mode 100644 index 0000000..eb8003b --- /dev/null +++ b/assets/generate.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/icons/TrayMenu.png b/assets/icons/TrayMenu.png new file mode 100644 index 0000000..bce140a Binary files /dev/null and b/assets/icons/TrayMenu.png differ diff --git a/assets/app.ico b/assets/icons/app.ico similarity index 100% rename from assets/app.ico rename to assets/icons/app.ico diff --git a/assets/app.png b/assets/icons/app.png similarity index 100% rename from assets/app.png rename to assets/icons/app.png diff --git a/assets/bgm.res-info.png b/assets/icons/bgm.res-info.png similarity index 100% rename from assets/bgm.res-info.png rename to assets/icons/bgm.res-info.png diff --git a/assets/bgm.res-logo.png b/assets/icons/bgm.res-logo.png similarity index 100% rename from assets/bgm.res-logo.png rename to assets/icons/bgm.res-logo.png diff --git a/assets/bgm.res.png b/assets/icons/bgm.res.png similarity index 100% rename from assets/bgm.res.png rename to assets/icons/bgm.res.png diff --git a/assets/install-ori.ico b/assets/icons/install-ori.ico similarity index 100% rename from assets/install-ori.ico rename to assets/icons/install-ori.ico diff --git a/assets/labels.svg b/assets/labels.svg new file mode 100644 index 0000000..070a4bf --- /dev/null +++ b/assets/labels.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/pgc_bangumi.svg b/assets/pgc_bangumi.svg new file mode 100644 index 0000000..0fe2bc1 --- /dev/null +++ b/assets/pgc_bangumi.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/pgc_bangumi_white.svg b/assets/pgc_bangumi_white.svg new file mode 100644 index 0000000..7929b10 --- /dev/null +++ b/assets/pgc_bangumi_white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/psd/OOBE.psd b/assets/psd/OOBE.psd new file mode 100644 index 0000000..6424bd2 Binary files /dev/null and b/assets/psd/OOBE.psd differ diff --git a/assets/psd/Share.psd b/assets/psd/Share.psd new file mode 100644 index 0000000..55ea333 Binary files /dev/null and b/assets/psd/Share.psd differ diff --git a/assets/bgm.res.psd b/assets/psd/bgm.res.psd similarity index 100% rename from assets/bgm.res.psd rename to assets/psd/bgm.res.psd diff --git a/assets/ranking.svg b/assets/ranking.svg new file mode 100644 index 0000000..4403f0d --- /dev/null +++ b/assets/ranking.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/s-sync.svg b/assets/s-sync.svg new file mode 100644 index 0000000..a252682 --- /dev/null +++ b/assets/s-sync.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/scan.svg b/assets/scan.svg new file mode 100644 index 0000000..66bb19e --- /dev/null +++ b/assets/scan.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/search-right.svg b/assets/search-right.svg new file mode 100644 index 0000000..69d1e4f --- /dev/null +++ b/assets/search-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/share.svg b/assets/share.svg new file mode 100644 index 0000000..bf8db6f --- /dev/null +++ b/assets/share.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/sharemedia.svg b/assets/sharemedia.svg new file mode 100644 index 0000000..d60c45c --- /dev/null +++ b/assets/sharemedia.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/show_password.svg b/assets/show_password.svg new file mode 100644 index 0000000..b486324 --- /dev/null +++ b/assets/show_password.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/widgets/error.svg b/assets/widgets/error.svg new file mode 100644 index 0000000..0772750 --- /dev/null +++ b/assets/widgets/error.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/widgets/ok.svg b/assets/widgets/ok.svg new file mode 100644 index 0000000..fb3e25c --- /dev/null +++ b/assets/widgets/ok.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/includes/style.css b/includes/style.css index 334eca8..16d9a27 100644 --- a/includes/style.css +++ b/includes/style.css @@ -2,11 +2,15 @@ /* *字体定义 */ @font-face { /*BGMUI*/ font-family: bgmUI; - src: url(../assets/SourceHanSans.otf) + src: url(../assets/Fonts/SourceHanSans.otf) } @font-face { /*BGMUI-Heavy*/ font-family: bgmUIHeavy; - src: url(../assets/SourceHanSansHeavy.otf) + src: url(../assets/Fonts/SourceHanSansHeavy.otf) +} +@font-face { /*BGMLogoFonts*/ + font-family: bgmLogoFonts; + src: url(../assets/Fonts/Concielian_Classic_Condensed_Condensed.ttf) } /* *动画关键帧定义 */ @@ -80,6 +84,16 @@ opacity:1; } } +@keyframes Ascent-Streamer-Right { /* 横幅右滑 */ + 0% { + transform:translateX(50px); + /* opacity:0; */ + } + 100% { + transform:translateX(0px); + /* opacity:1; */ + } +} @keyframes Ascent-Settings { /* 作品设置页面出现 */ 0% { transform: scale(2); @@ -206,6 +220,8 @@ user-select: none; .FloatBar{ font-family: bgmUI; width: 12%; + max-width: 150px; + min-width: 150px; height: 75%; text-align: center; position: absolute; @@ -299,26 +315,28 @@ user-select: none; } .HomepageTitle{ position: absolute; - left:18%; + /* left:18%; */ + left:max(18%,220px); top:8%; color:#fff; z-index: 12; font-family: bgmUI; - font-size: 2vw; + font-size: min(2vw,35px); font-weight:bolder; animation: Ascent-Fonts 1.3s cubic-bezier(0,0,0.2,1); } /* 最近播放标题 */ .RecentViewName{ position: absolute; - left:18%; + /* left:18%; */ + left:max(18%,220px); top:15%; right:30%; height:36%; color:#fff; z-index: 12; font-family: bgmUIHeavy; - font-size: 4vw; + font-size: min(4vw,60px); font-weight:bolder; overflow-y: auto; animation: Ascent-Fonts 1.3s cubic-bezier(0,0,0.2,1); @@ -327,7 +345,7 @@ user-select: none; /* 最近播放详情 */ .RecentViewDetail{ font-family: bgmUI; - font-size: 3vmin; + font-size: min(3vmin,22px); width: 55%; height: 19%; padding: 0.9%; @@ -337,7 +355,8 @@ user-select: none; background-size: auto; border-radius:15px; bottom: 10%; - left: 18%; + /* left: 18%; */ + left:max(18%,220px); z-index: 100; -webkit-app-region: no-drag; backdrop-filter: blur(30px); @@ -349,19 +368,23 @@ user-select: none; /* 最近播放进度与评分 */ .RecentViewProgress{ font-family: bgmUI; - font-size: 3vmin; + font-size: min(3vmin,25px); width: auto; height:auto; border-radius:15px; position: absolute; top: 53%; - left: 18%; + /* left: 18%; */ + left:max(18%,220px); z-index: 100; - padding: 1.5%; + /* padding: 1.5%; */ + padding: 18px; -webkit-app-region: no-drag; backdrop-filter: blur(30px); animation: Ascent-Fonts 1.3s cubic-bezier(0,0,0.2,1); - transition: background-color .25s; + transition: background-color .25s; + display: flex; + align-items: center; } .RecentViewProgress:hover { background-color: rgba(134, 134, 134, 0.441); @@ -370,6 +393,19 @@ user-select: none; transform: scale(1); background-color: rgba(1, 1, 1, 0.441); } +.RecentViewProgressContainer { + display: flex; + flex-direction: row; + top: 53%; + /* left: 18%; */ + left:max(18%,220px); + position: absolute; + justify-content: flex-start; + align-items: stretch; + flex-wrap: nowrap; + width: 100%; + +} .RecentViewRating{ font-family: bgmUI; font-size: 2vw; @@ -378,7 +414,7 @@ user-select: none; position: absolute; text-align: right; background-color: rgba(0, 0, 0, 0); - top: 15%; + top: 10%; right: 5%; z-index: 100; padding: 5px; @@ -452,52 +488,62 @@ user-select: none; background-size:cover; z-index: 10; display: none; - animation: wrapper-gradient 2s linear; + animation: wrapper-gradient 1s linear; } /* 媒体库标题栏 */ .ArchivePageHeader{ font-family: bgmUI; font-size: 2vmin; - height:13%; - border-radius:15px; + /* height:13%; */ + height:60px; + /* border-radius:15px; */ + border-radius:8px; position: absolute; - top: 3%; - left: 18%; + top: 10px; + /* top: 3%; */ + /* left: 18%; */ + left:max(18%,220px); right:2%; z-index: 12; -webkit-app-region: no-drag; - border: 1px solid rgb(64, 64, 64); + /* border: 1px solid rgb(64, 64, 64); */ backdrop-filter: blur(30px); - animation: Ascent-Fonts 1.3s cubic-bezier(0,0,0.2,1); + animation: Ascent-Fonts .7s cubic-bezier(0,0,0.2,1); } .ArchivePageSum{ position: absolute; - left:2%; + /* left:2%; */ + left:15px; right:30%; color:#fff; z-index: 12; font-family: bgmUI; - font-size: 2.5vmin; - font-weight:bolder; + /* font-size: 2.5vmin; */ + font-size: 14px; + /* font-weight:bolder; */ overflow-y: auto; - animation: Ascent-Fonts 1.3s cubic-bezier(0,0,0.2,1); - bottom:10%; + animation: Ascent-Fonts .7s cubic-bezier(0,0,0.2,1); + bottom:8%; + /* bottom:10%; */ } /* 媒体库内容容器 */ .ArchivePageContent{ font-family: bgmUI; font-size: 2vmin; - border-radius:15px; + border-radius:8px; + /* border-radius:15px; */ position: absolute; - top: 18%; - left: 18%; + top: 85px; + /* top: 18%; */ + /* left: 18%; */ + left:max(18%,220px); right:2%; bottom:2%; z-index: 12; background-color: #00000058; -webkit-app-region: no-drag; backdrop-filter: blur(30px); - animation: Ascent-Fonts 1.3s cubic-bezier(0,0,0.2,1); + animation: Ascent-Fonts .7s cubic-bezier(0,0,0.2,1); overflow-y: auto; content-visibility: auto; } @@ -515,25 +561,49 @@ user-select: none; border-radius: 3px; background: rgba(160, 160, 160, 0.231); } +/* 媒体库搜索按钮 */ +.ArchivePageSearchButton{ + position: absolute; + right:30.4%; + width:30px; + top:15px; + bottom:15px; + /*animation: Ascent-Fonts .7s cubic-bezier(0,0,0.2,1);*/ + filter: drop-shadow(0px 0px 3px rgba(0,0,0,0.5)); + border-radius: 8px; + z-index:51; + display:flex; + justify-content: space-around; + align-items: center; + transition: background-color .25s; +} +.ArchivePageSearchButton:hover { + background-color: rgba(134, 134, 134, 0.441); +} /* 媒体库搜索建议卡片 */ .ArchivePageSearchSuggestion{ font-family: bgmUI; font-size: 2vmin; border-radius:15px; - position: relative; + position: absolute; + /* position: relative; */ -webkit-app-region: no-drag; border: 1px solid rgb(64, 64, 64); backdrop-filter: blur(60px); width: 30%; - left: 3%; + left: 35%; + /* left: 3%; */ height: auto; - top: 15%; + /* top: 15%; */ + top: 56px; z-index: 50; margin: auto; display:none; max-height: 50%; overflow: auto; - animation: Ascent-Fonts 1.3s cubic-bezier(0,0,0.2,1); + border-top-left-radius: 0; + border-top-right-radius: 0; + /* animation: Ascent-Fonts .5s cubic-bezier(0,0,0.2,1); */ } /*ArchivePageSearchSuggestion滚动条样式*/ .ArchivePageSearchSuggestion::-webkit-scrollbar { @@ -560,7 +630,8 @@ user-select: none; display: flex; justify-content: center; align-items: center; - background-color: rgba(0, 0, 0, 0.7); + background-color:#0000002b; + /* background-color: rgba(0, 0, 0, 0.7); */ border-radius:10px; /* border: 1px dashed rgb(145, 145, 145); */ border: 2px solid rgb(145 145 145 / 56%); @@ -570,7 +641,7 @@ user-select: none; -webkit-app-region: no-drag; backdrop-filter: blur(30px); transition: background-color .25s; - animation: Ascent-Fonts 1.3s cubic-bezier(0,0,0.2,1); + animation: Ascent-Fonts .7s cubic-bezier(0,0,0.2,1); } .ArchivePageButton:hover { background-color: rgba(148, 148, 148, 0.397); @@ -602,7 +673,7 @@ user-select: none; bottom:32%; right:45%; background-color: #00000000; - animation: Ascent-Fonts 1.3s cubic-bezier(0,0,0.2,1); + animation: Ascent-Fonts .7s cubic-bezier(0,0,0.2,1); } .ArchiveInputLine input { width: 100%; @@ -839,12 +910,16 @@ user-select: none; .ArchivePageContentDetailsRelavant{ font-family: bgmUI; font-size:2.3vmin; - width: 12%; - top:80%; + /* width: 12%; */ + /* top:80%; */ + width: 45%; + top: 0%; bottom:0%; height:auto; + margin-left: 10%; color:aliceblue; - position: absolute; + /* position: absolute; */ + position: relative; display: flex; justify-content: center; align-items: center; @@ -853,7 +928,7 @@ user-select: none; z-index: 100; -webkit-app-region: no-drag; backdrop-filter: blur(30px); - right: 30%; + /* right: 30%; */ display:none; transition: background-color .25s; animation: Ascent-Fonts 1.3s cubic-bezier(0,0,0.2,1); @@ -874,19 +949,20 @@ user-select: none; } .ArchiveCardCharacterHover{ width:auto; - height:8vw; + /* height:8vw; */ + height:min(8vw,100px); padding:0px; text-align:right; display:flex; /* justify-content:center; */ align-items:center; - box-shadow:0px 0px 0px 2px #ffffff4a; - background-color:#ffffff0a; + /* box-shadow:0px 0px 0px 2px #ffffff4a; */ + background-color:#ffffff0f; border-radius:8px; - margin:1.7%; + margin:min(1.7%,15px); position:relative; float: left; - backdrop-filter: blur(60px); + /* backdrop-filter: blur(60px); */ transition: 0.3s cubic-bezier(0,0,0.2,1); flex:auto; } @@ -926,8 +1002,8 @@ user-select: none; border-radius:7px; border:2px solid #ffffff4a; float:left; - padding:3px; - font-size:2vmin; + padding:4px; + font-size:2.2vmin; /*2vmin*/ transition: all .3s ease; } .ArchivePageContentTag:hover{ @@ -951,11 +1027,11 @@ user-select: none; position:relative; width: 76%; height:auto; - margin-top:3%; + margin-top:2%; left:18%; right:4%; bottom:auto; - margin-bottom:3%; + margin-bottom:2%; padding: 1.1%; -webkit-app-region:unset; backdrop-filter: blur(50px); @@ -1131,14 +1207,15 @@ user-select: none; border-radius:15px; position: absolute; top: 45px; - left: 16%; + /* left: 16%; */ + left:max(16%,200px); right:1%; bottom:2%; background-color: #00000058; border:2px solid rgb(66, 66, 66); -webkit-app-region: no-drag; backdrop-filter: blur(30px); - animation: Ascent-Fonts 1.3s cubic-bezier(0,0,0.2,1); + animation: Ascent-Fonts .7s cubic-bezier(0,0,0.2,1); overflow-y: auto; z-index: 10; display: none; @@ -1243,6 +1320,19 @@ user-select: none; background-image: url("./assets/hider.png"); } .hider:hover {background-color: rgba(130, 130, 130, 0.447);} + +.TitleBarFunctions { + z-index: 5; + width: 50px; + float: right; + height: 30px; + margin-right: 0px; + background-color: rgba(0,0,0,0); + -webkit-app-region: no-drag; + transition: 0.15s linear; +} +.TitleBarFunctions:hover {background-color: rgba(130, 130, 130, 0.447);transition: 0.15s linear;} + .watev { background-color: black; } @@ -1256,12 +1346,13 @@ table, th, td { border: 1px solid black; } font-family: bgmUI; text-align: center; position: relative; - padding: 2px; + padding: 8px; + /* padding: 2px; */ top:40px; height:auto; margin-left:37%; margin-right:37%; - font-size: 15px; + font-size: 16px; line-height: 33px; background-color: #20b965; border-radius:10px; diff --git a/includes/toastify-js b/includes/toastify-js new file mode 100644 index 0000000..29af385 --- /dev/null +++ b/includes/toastify-js @@ -0,0 +1,15 @@ +/** + * Minified by jsDelivr using Terser v5.14.1. + * Original file: /npm/toastify-js@1.12.0/src/toastify.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +/*! + * Toastify js 1.12.0 + * https://github.com/apvarun/toastify-js + * @license MIT licensed + * + * Copyright (C) 2018 Varun A P + */ +!function(t,o){"object"==typeof module&&module.exports?module.exports=o():t.Toastify=o()}(this,(function(t){var o=function(t){return new o.lib.init(t)};function i(t,o){return o.offset[t]?isNaN(o.offset[t])?o.offset[t]:o.offset[t]+"px":"0px"}function s(t,o){return!(!t||"string"!=typeof o)&&!!(t.className&&t.className.trim().split(/\s+/gi).indexOf(o)>-1)}return o.defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3e3,selector:void 0,callback:function(){},destination:void 0,newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,ariaLive:"polite",style:{background:""}},o.lib=o.prototype={toastify:"1.12.0",constructor:o,init:function(t){return t||(t={}),this.options={},this.toastElement=null,this.options.text=t.text||o.defaults.text,this.options.node=t.node||o.defaults.node,this.options.duration=0===t.duration?0:t.duration||o.defaults.duration,this.options.selector=t.selector||o.defaults.selector,this.options.callback=t.callback||o.defaults.callback,this.options.destination=t.destination||o.defaults.destination,this.options.newWindow=t.newWindow||o.defaults.newWindow,this.options.close=t.close||o.defaults.close,this.options.gravity="bottom"===t.gravity?"toastify-bottom":o.defaults.gravity,this.options.positionLeft=t.positionLeft||o.defaults.positionLeft,this.options.position=t.position||o.defaults.position,this.options.backgroundColor=t.backgroundColor||o.defaults.backgroundColor,this.options.avatar=t.avatar||o.defaults.avatar,this.options.className=t.className||o.defaults.className,this.options.stopOnFocus=void 0===t.stopOnFocus?o.defaults.stopOnFocus:t.stopOnFocus,this.options.onClick=t.onClick||o.defaults.onClick,this.options.offset=t.offset||o.defaults.offset,this.options.escapeMarkup=void 0!==t.escapeMarkup?t.escapeMarkup:o.defaults.escapeMarkup,this.options.ariaLive=t.ariaLive||o.defaults.ariaLive,this.options.style=t.style||o.defaults.style,t.backgroundColor&&(this.options.style.background=t.backgroundColor),this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var t=document.createElement("div");for(var o in t.className="toastify on "+this.options.className,this.options.position?t.className+=" toastify-"+this.options.position:!0===this.options.positionLeft?(t.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):t.className+=" toastify-right",t.className+=" "+this.options.gravity,this.options.backgroundColor&&console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.'),this.options.style)t.style[o]=this.options.style[o];if(this.options.ariaLive&&t.setAttribute("aria-live",this.options.ariaLive),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)t.appendChild(this.options.node);else if(this.options.escapeMarkup?t.innerText=this.options.text:t.innerHTML=this.options.text,""!==this.options.avatar){var s=document.createElement("img");s.src=this.options.avatar,s.className="toastify-avatar","left"==this.options.position||!0===this.options.positionLeft?t.appendChild(s):t.insertAdjacentElement("afterbegin",s)}if(!0===this.options.close){var e=document.createElement("button");e.type="button",e.setAttribute("aria-label","Close"),e.className="toast-close",e.innerHTML="✖",e.addEventListener("click",function(t){t.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var n=window.innerWidth>0?window.innerWidth:screen.width;("left"==this.options.position||!0===this.options.positionLeft)&&n>360?t.insertAdjacentElement("afterbegin",e):t.appendChild(e)}if(this.options.stopOnFocus&&this.options.duration>0){var a=this;t.addEventListener("mouseover",(function(o){window.clearTimeout(t.timeOutValue)})),t.addEventListener("mouseleave",(function(){t.timeOutValue=window.setTimeout((function(){a.removeElement(t)}),a.options.duration)}))}if(void 0!==this.options.destination&&t.addEventListener("click",function(t){t.stopPropagation(),!0===this.options.newWindow?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),"function"==typeof this.options.onClick&&void 0===this.options.destination&&t.addEventListener("click",function(t){t.stopPropagation(),this.options.onClick()}.bind(this)),"object"==typeof this.options.offset){var l=i("x",this.options),r=i("y",this.options),p="left"==this.options.position?l:"-"+l,d="toastify-top"==this.options.gravity?r:"-"+r;t.style.transform="translate("+p+","+d+")"}return t},showToast:function(){var t;if(this.toastElement=this.buildToast(),!(t="string"==typeof this.options.selector?document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||"undefined"!=typeof ShadowRoot&&this.options.selector instanceof ShadowRoot?this.options.selector:document.body))throw"Root element is not defined";var i=o.defaults.oldestFirst?t.firstChild:t.lastChild;return t.insertBefore(this.toastElement,i),o.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(t){t.className=t.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),t.parentNode&&t.parentNode.removeChild(t),this.options.callback.call(t),o.reposition()}.bind(this),400)}},o.reposition=function(){for(var t,o={top:15,bottom:15},i={top:15,bottom:15},e={top:15,bottom:15},n=document.getElementsByClassName("toastify"),a=0;a0?window.innerWidth:screen.width)<=360?(n[a].style[t]=e[t]+"px",e[t]+=l+15):!0===s(n[a],"toastify-left")?(n[a].style[t]=o[t]+"px",o[t]+=l+15):(n[a].style[t]=i[t]+"px",i[t]+=l+15)}return this},o.lib.init.prototype=o.lib,o})); +//# sourceMappingURL=/sm/e1ebbfe1bf0b0061f0726ebc83434e1c2f8308e6354c415fd05ecccdaad47617.map \ No newline at end of file diff --git a/includes/toastify.min.css b/includes/toastify.min.css new file mode 100644 index 0000000..427c25b --- /dev/null +++ b/includes/toastify.min.css @@ -0,0 +1,15 @@ +/** + * Minified by jsDelivr using clean-css v5.3.0. + * Original file: /npm/toastify-js@1.12.0/src/toastify.css + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +/*! + * Toastify js 1.12.0 + * https://github.com/apvarun/toastify-js + * @license MIT licensed + * + * Copyright (C) 2018 Varun A P + */ +.toastify{padding:12px 20px;color:#fff;display:inline-block;box-shadow:0 3px 6px -1px rgba(0,0,0,.12),0 10px 36px -4px rgba(77,96,232,.3);background:-webkit-linear-gradient(315deg,#73a5ff,#5477f5);background:linear-gradient(135deg,#73a5ff,#5477f5);position:fixed;opacity:0;transition:all .4s cubic-bezier(.215, .61, .355, 1);border-radius:2px;cursor:pointer;text-decoration:none;max-width:calc(50% - 20px);z-index:2147483647}.toastify.on{opacity:1}.toast-close{background:0 0;border:0;color:#fff;cursor:pointer;font-family:inherit;font-size:1em;opacity:.4;padding:0 5px}.toastify-right{right:15px}.toastify-left{left:15px}.toastify-top{top:-150px}.toastify-bottom{bottom:-150px}.toastify-rounded{border-radius:25px}.toastify-avatar{width:1.5em;height:1.5em;margin:-7px 5px;border-radius:2px}.toastify-center{margin-left:auto;margin-right:auto;left:0;right:0;max-width:fit-content;max-width:-moz-fit-content}@media only screen and (max-width:360px){.toastify-left,.toastify-right{margin-left:auto;margin-right:auto;left:0;right:0;max-width:fit-content}} +/*# sourceMappingURL=/sm/cb4335d1b03e933ed85cb59fffa60cf51f07567ed09831438c60f59afd166464.map */ \ No newline at end of file diff --git a/includes/winui3.css b/includes/winui3.css index 8770e3e..e3e85e7 100644 --- a/includes/winui3.css +++ b/includes/winui3.css @@ -4,7 +4,7 @@ @font-face { /*winUIfont*/ font-family: winUIfont; - src: url(../assets/SourceHanSans.otf) + src: url(../assets/Fonts/SourceHanSans.otf) } /* 标题栏 */ @@ -80,7 +80,7 @@ right: 16px; bottom:15px; backdrop-filter: blur(200px); - animation: Ascent-Fonts 1.3s cubic-bezier(0,0,0.2,1); + animation: Ascent-Fonts .7s cubic-bezier(0,0,0.2,1); overflow-y: auto; overflow-x: hidden; } @@ -122,7 +122,7 @@ right:16px; z-index: 0; user-select: none; - animation: Ascent-Fonts 1.3s cubic-bezier(0,0,0.2,1); + animation: Ascent-Fonts .7s cubic-bezier(0,0,0.2,1); } /*选项卡按钮样式*/ .Winui3setTabBrick { diff --git a/index.html b/index.html index 5fb8cd2..969be88 100644 --- a/index.html +++ b/index.html @@ -17,16 +17,23 @@ + + + +
- - + + bgm.res -
+
ShareMedia
+
HotBangumis
+
Labels
+
Rankings
@@ -59,43 +66,59 @@
-
继续观看
-
-
-
+
继续观看:Loading Data...
+
Loading Data...
+
+
SVG image
上次看到:读取中...
+
SVG image
+
+
简介加载中...
-

Bangumi

-

Animation Rank

-
-
NO.Null
-
NoRank
+

bangumi
ANIME RANK

+ +
+
NO.Null
+
NoRank
+
0.0
-
+
+ +
-
媒体库
-
-
-
- +
媒体库
+
ScanMediaChange
+ + + + +
SyncMediaInfo
+
ManualAddMedia
+
ScanMediaChange
+
ScanMediaFull
+
共 -- 部作品
+ + + +
- - - -
+ + + + +
@@ -109,10 +132,16 @@
× 添加作品
-
+
-
+
+ + +
收藏日期:未知
@@ -131,51 +160,57 @@
-
-
简介 -
-
章节
+
+
章节
-
-
+
+
-
-
Extra
+
+
Extra
-
相关
+
相关
-
-
标签
+
+
标签
+ +
+
目录
+
-
-
详情
+
+
详情
-
+
-
角色
+
角色
-
-
制作人员
+
+
制作人员
-
+ +
已经到底部啦~
↑ 回顶部 ↑
+
@@ -183,7 +218,7 @@
-
+

设置

@@ -199,7 +234,7 @@

-
+

你可以在这里设置一些通用设置项

媒体库设置

@@ -207,7 +242,8 @@

媒体库设
启动后媒体库自动增量扫描
-
启动后自动更新媒体库(实验)
+
启动后自动更新媒体库(实验性)
+ @@ -225,7 +261,7 @@

杂项

-