Skip to content

Commit

Permalink
修复已知BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
HCLonely committed Jan 21, 2022
1 parent 9a006a9 commit d585957
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion lib/templates/bgm-template.ejs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="bangumi-item">
<div class="bangumi-picture"><img src="<%= lazyload ? (loading || "https://cdn.jsdelivr.net/npm/hexo-bilibili-bangumi@1.2.0/lib/img/loading.gif") : item.cover %>" <%- lazyload ? ` data-src="${item.cover}"` : '' %> referrerPolicy="no-referrer" width="110" style="width:110px;margin:20px auto;" />
<div class="bangumi-picture"><img src="<%= lazyload ? (loading || "https://cdn.jsdelivr.net/npm/hexo-bilibili-bangumi@1.2.0/lib/img/loading.gif") : `https:${item.cover}` %>" <%- lazyload ? ` data-src="https:${item.cover}"` : '' %> referrerPolicy="no-referrer" width="110" style="width:110px;margin:20px auto;" />
</div>
<div class="bangumi-info">
<div class="bangumi-title">
Expand Down
2 changes: 1 addition & 1 deletion lib/templates/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/templates/pagination.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "hexo-bilibili-bangumi",
"version": "1.7.0",
"version": "1.7.1",
"description": "hexo bilibili番剧页",
"main": "index.js",
"scripts": {
"test": "standard --fix && ejslint lib/templates/*.ejs",
"build": "babel src/index.js --out-file index.js && babel src/lib/util.js --out-file lib/util.js && babel src/lib/get-bili-data.js --out-file lib/get-bili-data.js && babel src/lib/get-bgm-data.js --out-file lib/get-bgm-data.js && babel src/lib/bangumi-generator.js --out-file lib/bangumi-generator.js && babel src/lib/templates/index.js --out-file lib/templates/index.js --presets minify && babel src/lib/templates/pagination.js --out-file lib/templates/pagination.js --presets minify && cleancss src/lib/templates/index.css -O2 -o lib/templates/index.css",
"build": "babel src/index.js --out-file index.js && babel src/lib/util.js --out-file lib/util.js && babel src/lib/get-bili-data.js --out-file lib/get-bili-data.js && babel src/lib/get-bgm-data.js --out-file lib/get-bgm-data.js && babel src/lib/bangumi-generator.js --out-file lib/bangumi-generator.js && babel src/lib/templates/index.js --out-file lib/templates/index.js --presets minify && babel --no-babelrc src/lib/templates/pagination.js --out-file lib/templates/pagination.js --presets minify && cleancss src/lib/templates/index.css -O2 -o lib/templates/index.css",
"ejslint": "ejslint lib/templates/*.ejs"
},
"author": "HCLonely <h1606051253@gmail.com>",
Expand Down
13 changes: 7 additions & 6 deletions src/lib/templates/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,17 @@ a.bangumi-tab {
}

@media (max-width:650px) {
.bangumi-coin{
.bangumi-coin,
.bangumi-type {
display:none;
}
.bangumi-info-item{
width: 16%;
}
}
@media (max-width:590px) {
.bangumi-danmaku {
.bangumi-danmaku,
.bangumi-wish {
display: none;
}
.bangumi-info-item {
Expand All @@ -170,7 +172,7 @@ a.bangumi-tab {

@media (max-width:520px) {
.bangumi-play,
.bangumi-type {
.bangumi-doing {
display: none;
}

Expand All @@ -181,7 +183,7 @@ a.bangumi-tab {

@media (max-width:480px) {
.bangumi-follow,
.bangumi-wish {
.bangumi-collect {
display: none;
}

Expand All @@ -190,8 +192,7 @@ a.bangumi-tab {
}
}
@media (max-width:400px) {
.bangumi-area,
.bangumi-doing {
.bangumi-area {
display: none;
}

Expand Down

0 comments on commit d585957

Please sign in to comment.