Skip to content

Commit

Permalink
修复BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
HCLonely committed Oct 21, 2022
1 parent d590a45 commit 733a186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/templates/bili-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/[email protected]/lib/img/loading.gif") : item.cover %>" <%- lazyload ? ` data-src="${item.cover}"` : "" %> referrerPolicy="no-referrer" width="110" style="width:110px;margin:10px auto;" />
<div class="bangumi-picture"><img src="<%= lazyload ? (loading || "https://cdn.jsdelivr.net/npm/[email protected]/lib/img/loading.gif") : (srcValue === '__loading__' ? (loading || "https://cdn.jsdelivr.net/npm/[email protected]/lib/img/loading.gif") : `https:${item.cover.replace(/^https:/, '')}`) %>" <%- lazyload ? ` data-src="${item.cover}"` : (lazyloadAttrName ? ` ${lazyloadAttrName.split('=')[0]}="${lazyloadAttrName.split('=')[1] === '__loading__' ? (loading || "https://cdn.jsdelivr.net/npm/[email protected]/lib/img/loading.gif") : (lazyloadAttrName.split('=')[1] === '__image__' ? `https:${item.cover.replace(/^https:/, '')}` : (lazyloadAttrName.split('=')[1] || ''))}"` : "") %> referrerPolicy="no-referrer" width="110" style="width:110px;margin:20px auto;" />
</div>
<div class="bangumi-info">
<div class="bangumi-title">
Expand Down

0 comments on commit 733a186

Please sign in to comment.