Merge pull request #58 from mjsoftking/master

fix:优化点击备案号跳转时未携带备案号问题
This commit is contained in:
玖涯 2023-11-21 09:20:37 +08:00 committed by GitHub
commit 05155ac3e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@
</span>
</span>
</p>
<p th:if="${!#strings.isEmpty(theme.config.basic_info.record_number_ps)}"><a href="https://beian.mps.gov.cn/#/query/webSearch" target="_blank" rel="noopener noreferrer nofollow"><img
<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>
<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
@ -38,4 +38,4 @@
</li>
</ul>
</div>
</footer>
</footer>