fix(record): 修复公安备案跳转错误

This commit is contained in:
nineya 2023-05-15 11:57:52 +08:00
parent d28fdb78c6
commit 0543899444

View File

@ -27,7 +27,7 @@
</span>
</span>
</p>
<p th:if="${!#strings.isEmpty(theme.config.basic_info.record_number_ps)}"><a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=${settings.record_number_ps?replace('[^\\d]','','ri')}" target="_blank" rel="noopener noreferrer nofollow"><img
<p th:if="${!#strings.isEmpty(theme.config.basic_info.record_number_ps)}"><a th:href="@{http://www.beian.gov.cn/portal/registerSystemInfo(recordcode=${theme.config.basic_info.record_number_ps.replaceAll('[^\d]', '')})}" target="_blank" rel="noopener noreferrer nofollow"><img
src="https://www.beian.gov.cn/portal/download" 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