Skip to content

Commit

Permalink
升级勋章系统
Browse files Browse the repository at this point in the history
  • Loading branch information
adlered committed Oct 29, 2024
1 parent a422e0c commit 26ce72d
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var Util = {
} else {
attr = '';
}
return 'https://fishpi.cn/gen?scale=0.79&txt=' + name + attr;
return 'https://fishpi.cn/gen?ver=0.1&scale=0.79&txt=' + name + attr;
},

genMiniMetal(attr) {
Expand All @@ -83,7 +83,7 @@ var Util = {
} else {
attr = '';
}
return 'https://fishpi.cn/gen?scale=0.79&txt=' + attr;
return 'https://fishpi.cn/gen?ver=0.1&scale=0.79&txt=' + attr;
},

parseDom(arg) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/js/common.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/main/resources/skins/classic/article.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
<#if article.sysMetal != "[]">
<span class="article__cnt">作者勋章</span>
<#list article.sysMetal?eval as metal>
<img title="${metal.description}" src="https://fishpi.cn/gen?scale=0.79&txt=${metal.name}&${metal.attr}"/>
<img title="${metal.description}" src="https://fishpi.cn/gen?ver=0.1&scale=0.79&txt=${metal.name}&${metal.attr}"/>
</#list>
</#if>
</div>
Expand Down Expand Up @@ -370,7 +370,7 @@
data-ua="${comment.commentUA}"></span></#if>
</span>
&nbsp;<#list comment.sysMetal?eval as metal>
<img title="${metal.description}" src="https://fishpi.cn/gen?scale=0.79&txt=${metal.name}&${metal.attr}"/>
<img title="${metal.description}" src="https://fishpi.cn/gen?ver=0.1&scale=0.79&txt=${metal.name}&${metal.attr}"/>
</#list>
<a class="ft-a-title fn-right tooltipped tooltipped-nw"
aria-label="${goCommentLabel}"
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/skins/classic/charge-point.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@
<div style="padding-bottom: 15px"></div>
<div class="TGIF__item" style="display: flex; justify-content: center">
<div>
<img src="https://fishpi.cn/gen?scale=0.79&txt=%E6%91%B8%E9%B1%BC%E6%B4%BE%E7%B2%89%E4%B8%9D&url=https://file.fishpi.cn/2021/12/ht1-d8149de4.jpg&backcolor=ffffff&fontcolor=ff3030" />
<img src="https://fishpi.cn/gen?ver=0.1&scale=0.79&txt=%E6%91%B8%E9%B1%BC%E6%B4%BE%E7%B2%89%E4%B8%9D&url=https://file.fishpi.cn/2021/12/ht1-d8149de4.jpg&backcolor=ffffff&fontcolor=ff3030" />
&nbsp;&nbsp;
<b style="line-height: 25px">16 ¥</b>
<br>
<img src="https://fishpi.cn/gen?scale=0.79&txt=%E6%91%B8%E9%B1%BC%E6%B4%BE%E5%BF%A0%E7%B2%89&url=https://file.fishpi.cn/2021/12/ht2-bea67b29.jpg&backcolor=87cefa&fontcolor=efffff" />
<img src="https://fishpi.cn/gen?ver=0.1&scale=0.79&txt=%E6%91%B8%E9%B1%BC%E6%B4%BE%E5%BF%A0%E7%B2%89&url=https://file.fishpi.cn/2021/12/ht2-bea67b29.jpg&backcolor=87cefa&fontcolor=efffff" />
&nbsp;&nbsp;
<b style="line-height: 25px">256 ¥</b>
<br>
<img src="https://fishpi.cn/gen?scale=0.79&txt=%E6%91%B8%E9%B1%BC%E6%B4%BE%E9%93%81%E7%B2%89&url=https://file.fishpi.cn/2021/12/ht3-b97ea102.jpg&backcolor=ee3a8c&fontcolor=ffffff" />
<img src="https://fishpi.cn/gen?ver=0.1&scale=0.79&txt=%E6%91%B8%E9%B1%BC%E6%B4%BE%E9%93%81%E7%B2%89&url=https://file.fishpi.cn/2021/12/ht3-b97ea102.jpg&backcolor=ee3a8c&fontcolor=ffffff" />
&nbsp;&nbsp;
<b style="line-height: 25px">1024 ¥</b>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/skins/classic/common/comment.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<span class="fn-left ft-smaller">
<a rel="nofollow" href="${servePath}/member/${comment.commentAuthorName}" class="ft-gray"><span class="ft-gray">${comment.commentAuthorName}</span></a>
<#list comment.sysMetal?eval as metal>
<img title="${metal.description}" src="https://fishpi.cn/gen?scale=0.79&txt=${metal.name}&${metal.attr}"/>
<img title="${metal.description}" src="https://fishpi.cn/gen?ver=0.1&scale=0.79&txt=${metal.name}&${metal.attr}"/>
</#list>
<span class="ft-fade">• ${comment.timeAgo}</span>
<#if 0 == comment.commenter.userUAStatus><span class="cmt-via ft-fade hover-show fn-hidden" data-ua="${comment.commentUA}"></span></#if>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/skins/mobile/article.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
<div style="margin-bottom: 3px">
<#if article.sysMetal != "[]">
<#list article.sysMetal?eval as metal>
<img title="${metal.description}" src="https://fishpi.cn/gen?scale=0.79&txt=${metal.name}&${metal.attr}"/>
<img title="${metal.description}" src="https://fishpi.cn/gen?ver=0.1&scale=0.79&txt=${metal.name}&${metal.attr}"/>
</#list>
</#if>
</div>
Expand Down Expand Up @@ -283,7 +283,7 @@
<#if 0 == comment.commenter.userUAStatus><span class="cmt-via ft-fade" data-ua="${comment.commentUA}"></span></#if>
</span>
&nbsp;<#list comment.sysMetal?eval as metal>
<img title="${metal.description}" src="https://fishpi.cn/gen?scale=0.79&txt=${metal.name}&${metal.attr}"/>
<img title="${metal.description}" src="https://fishpi.cn/gen?ver=0.1&scale=0.79&txt=${metal.name}&${metal.attr}"/>
</#list>
<a class="ft-a-title fn-right tooltipped tooltipped-nw" aria-label="${goCommentLabel}"
href="javascript:Comment.goComment('${servePath}/article/${article.oId}?p=${comment.paginationCurrentPageNum}&m=${userCommentViewMode}#${comment.oId}')"><svg><use xlink:href="#down"></use></svg></a>
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/skins/mobile/charge-point.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@
<div style="padding-bottom: 15px"></div>
<div class="TGIF__item" style="display: flex; justify-content: center">
<div>
<img src="https://fishpi.cn/gen?scale=0.79&txt=%E6%91%B8%E9%B1%BC%E6%B4%BE%E7%B2%89%E4%B8%9D&url=https://file.fishpi.cn/2021/12/ht1-d8149de4.jpg&backcolor=ffffff&fontcolor=ff3030" />
<img src="https://fishpi.cn/gen?ver=0.1&scale=0.79&txt=%E6%91%B8%E9%B1%BC%E6%B4%BE%E7%B2%89%E4%B8%9D&url=https://file.fishpi.cn/2021/12/ht1-d8149de4.jpg&backcolor=ffffff&fontcolor=ff3030" />
&nbsp;&nbsp;
<b style="line-height: 25px">16 ¥</b>
<br>
<img src="https://fishpi.cn/gen?scale=0.79&txt=%E6%91%B8%E9%B1%BC%E6%B4%BE%E5%BF%A0%E7%B2%89&url=https://file.fishpi.cn/2021/12/ht2-bea67b29.jpg&backcolor=87cefa&fontcolor=efffff" />
<img src="https://fishpi.cn/gen?ver=0.1&scale=0.79&txt=%E6%91%B8%E9%B1%BC%E6%B4%BE%E5%BF%A0%E7%B2%89&url=https://file.fishpi.cn/2021/12/ht2-bea67b29.jpg&backcolor=87cefa&fontcolor=efffff" />
&nbsp;&nbsp;
<b style="line-height: 25px">256 ¥</b>
<br>
<img src="https://fishpi.cn/gen?scale=0.79&txt=%E6%91%B8%E9%B1%BC%E6%B4%BE%E9%93%81%E7%B2%89&url=https://file.fishpi.cn/2021/12/ht3-b97ea102.jpg&backcolor=ee3a8c&fontcolor=ffffff" />
<img src="https://fishpi.cn/gen?ver=0.1&scale=0.79&txt=%E6%91%B8%E9%B1%BC%E6%B4%BE%E9%93%81%E7%B2%89&url=https://file.fishpi.cn/2021/12/ht3-b97ea102.jpg&backcolor=ee3a8c&fontcolor=ffffff" />
&nbsp;&nbsp;
<b style="line-height: 25px">1024 ¥</b>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/skins/mobile/common/comment.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<span class="fn-left ft-smaller">
<a rel="nofollow" href="${servePath}/member/${comment.commentAuthorName}" class="ft-gray"><span class="ft-gray">${comment.commentAuthorName}</span></a>
<#list comment.sysMetal?eval as metal>
<img title="${metal.description}" src="https://fishpi.cn/gen?scale=0.79&txt=${metal.name}&${metal.attr}"/>
<img title="${metal.description}" src="https://fishpi.cn/gen?ver=0.1&scale=0.79&txt=${metal.name}&${metal.attr}"/>
</#list>
<span class="ft-fade">• ${comment.timeAgo}</span>
<#if 0 == comment.commenter.userUAStatus><span class="cmt-via ft-fade hover-show fn-hidden" data-ua="${comment.commentUA}"></span></#if>
Expand Down

0 comments on commit 26ce72d

Please sign in to comment.