Skip to content

Commit

Permalink
Merge pull request #124 from mjsoftking/perf-record-icon
Browse files Browse the repository at this point in the history
perf:优化公安图标使用内置png图标,避免公安网站出现问题时导致图标无法显示
  • Loading branch information
nineya authored Mar 15, 2024
2 parents e353d27 + 2cf8f8c commit 8f13af0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added templates/assets/img/ga.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion templates/common/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</span>
</p>
<p th:if="${!#strings.isEmpty(theme.config.basic_info.record_number_ps)}"><a th:href="'https://beian.mps.gov.cn/#/query/webSearch?code=' + ${theme.config.basic_info.record_number_ps.replaceAll('[^\d]', '')}" target="_blank" rel="noopener noreferrer nofollow"><img
src="https://beian.mps.gov.cn/img/logo01.dd7ff50e.png" alt="公网安备" style="vertical-align: text-top; width: 1.2em; margin-right: 4px;"/>[[${theme.config.basic_info.record_number_ps}]]</a></p>
th:src="${#theme.assets('/img/ga.png')}" alt="公网安备" style="vertical-align: text-top; width: 1.2em; margin-right: 4px;"/>[[${theme.config.basic_info.record_number_ps}]]</a></p>
<p th:if="${!#strings.isEmpty(theme.config.basic_info.cloud_by_logo)}">本站由<a
class="cloud-driven" target="_blank" rel="noopener noreferrer nofollow" th:href="${theme.config.basic_info.cloud_by_url}"><img
alt="云服务商" th:src="${theme.config.basic_info.cloud_by_logo}"/></a>提供云服务</p>
Expand Down

0 comments on commit 8f13af0

Please sign in to comment.