mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 06:13:07 +08:00
自定义内容 配置项 调整为 Html输入框
This commit is contained in:
parent
1e0f8db9b8
commit
0efaed4832
8
package-lock.json
generated
8
package-lock.json
generated
@ -11,7 +11,7 @@
|
||||
"dependencies": {
|
||||
"html2canvas": "^1.4.1",
|
||||
"qrcode": "^1.5.1",
|
||||
"remixicon": "^4.3.0"
|
||||
"remixicon": "^4.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.15.5",
|
||||
@ -7377,9 +7377,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/remixicon": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/remixicon/-/remixicon-4.3.0.tgz",
|
||||
"integrity": "sha512-jRYQ37dTFSkJtvcxwTUAkIiXkYRvA9EDvVuXPNrmt2xf/VS//CRgFtsX2TAFBoQOhh9SDh7l6La4Xu12snEyxg=="
|
||||
"version": "4.5.0",
|
||||
"resolved": "https://registry.npmjs.org/remixicon/-/remixicon-4.5.0.tgz",
|
||||
"integrity": "sha512-IP/wNQGG3JCigaeFF3DERSTqMIZBlNu1yu8clNGB7wFe7ZN/ueKMplFHL5uEbnGpCzqfY6MlxIYn2vRzub+5cQ=="
|
||||
},
|
||||
"node_modules/remove-bom-buffer": {
|
||||
"version": "3.0.0",
|
||||
|
@ -46,10 +46,12 @@ spec:
|
||||
name: record_number_ps
|
||||
label: 公安部备案
|
||||
placeholder: 'X公网安备 XXXXXXXXXXXXXX号'
|
||||
- $formkit: text
|
||||
- $formkit: code
|
||||
name: custom_text
|
||||
language: html
|
||||
height: 45px
|
||||
label: 自定义内容
|
||||
placeholder: '自定义内容'
|
||||
placeholder: '自定义内容,支持html'
|
||||
help: '在网站页脚建站时间上方显示自定义内容。'
|
||||
- $formkit: datetime-local
|
||||
name: website_time
|
||||
@ -126,7 +128,7 @@ spec:
|
||||
label: 控制台鼠标悬停提示,留空不显示
|
||||
- $formkit: text
|
||||
name: console_url
|
||||
validation: required
|
||||
validation: requiredc
|
||||
if: $get(show_console).value
|
||||
label: 未登录时,控制台跳转URL
|
||||
value: '/login'
|
||||
|
@ -21,7 +21,7 @@
|
||||
th:src="${#theme.assets('/img/ba.webp')}" height="auto" width="auto" alt="备案" style="vertical-align: text-top; width: 1.2em; margin-right: 4px;"/>[[${theme.config.basic_info.record_number}]]</a>
|
||||
<a th:if="${!#strings.isEmpty(theme.config.basic_info.record_number_ps)}" class="record footer-truncation" 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
|
||||
th:src="${#theme.assets('/img/ga.webp')}" height="auto" width="auto" 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.custom_text)}">[[${theme.config.basic_info.custom_text}]]</p>
|
||||
<p th:if="${!#strings.isEmpty(theme.config.basic_info.custom_text)}" th:utext="${theme.config.basic_info.custom_text}"></p>
|
||||
<p class="icon-spot" th:if="${!#strings.isEmpty(theme.config.basic_info.website_time) || theme.config.enhance.enable_busuanzi == true}">
|
||||
<span th:if="${!#strings.isEmpty(theme.config.basic_info.website_time)}" id="websiteDate">建站<span class="stand">00</span>天<span class="stand">0</span>时<span class="stand">0</span>分<span class="stand">0</span>秒</span>
|
||||
<span th:if="${theme.config.enhance.busuanzi_group.enable_busuanzi == true}" class="icon-spot footer-truncation">
|
||||
|
@ -30,7 +30,7 @@ spec:
|
||||
settingName: theme-dream2-plus-setting
|
||||
configMapName: theme-dream2-plus-configMap
|
||||
# 版本号
|
||||
version: 1.3.2.beta4
|
||||
version: 1.3.2.beta5
|
||||
# 最低支持的 Halo 版本
|
||||
require: ">=2.20.0"
|
||||
# 许可
|
||||
|
Loading…
x
Reference in New Issue
Block a user