diff --git a/settings.yaml b/settings.yaml index 3751861..3a858fb 100644 --- a/settings.yaml +++ b/settings.yaml @@ -1435,13 +1435,26 @@ spec: label: 安全链接页面-站点图标 placeholder: '请输入/选择安全链接页面站点的图标' help: '请输入/选择安全链接页面站点的图标,留空使用站点的favicon。' + - $formkit: attachment + name: security_link_site_img_background + if: $get(enable_security_link).value + label: 安全链接页面-站点背景 + placeholder: '请输入/选择安全链接页面站点的背景' + help: '请输入/选择安全链接页面站点的图标,留空不使用背景' + - $formkit: text + name: security_link_site_title1 + if: $get(enable_security_link).value + label: 安全链接页面-站点标题 + value: '{title}-安全中心' + placeholder: '请输入安全链接页面站点的标题' + help: '请输入/选择安全链接页面站点的标题,留空不显示,“ {title} ”表示站点主标题,位置为浏览器显示标题。' - $formkit: text name: security_link_site_title if: $get(enable_security_link).value label: 安全链接页面-站点标题 - value: '{title}' - placeholder: '请输入/选择安全链接页面站点的标题' - help: '请输入/选择安全链接页面站点的标题,留空不显示,“ {title} ”表示站点主标题。' + value: '{title}-安全中心' + placeholder: '请输入安全链接页面站点的标题' + help: '请输入/选择安全链接页面站点的标题,留空不显示,“ {title} ”表示站点主标题,位置为页面头像下方。' - $formkit: text name: security_link_url label: 安全链接页面-URL @@ -1449,18 +1462,20 @@ spec: validation: required placeholder: '请输入使用“安全链接页面模版”创建的页面访问路径' help: '输入使用”安全链接页面模版“创建的页面访问路径,不能省略’/‘。' - - $formkit: attachment - name: security_link_tip_img - if: $get(enable_security_link).value - label: 安全链接页面-提示区域图标 - placeholder: '请输入/选择安全链接页面提示区域的图标' - help: '输入/选择安全链接页面提示区域的图标,留空使用默认图标。' - $formkit: text name: security_link_tip_desc if: $get(enable_security_link).value label: 安全链接页面-提示区域文本描述 placeholder: '请输入安全链接页面提示区域的文本描述' help: '输入安全链接页面提示区域的文本描述,留空使用默认文本描述。' + - $formkit: number + name: security_link_auto_jump_time + if: $get(enable_security_link).value + label: 安全链接页面-自动跳转时间 + value: 5 + validation: required + placeholder: '请输入安全链接页面自动跳转时间(秒)' + help: '输入安全链接页面自动跳转时间(秒),默认5秒。' - $formkit: code name: security_link_jump_desc if: $get(enable_security_link).value @@ -1470,7 +1485,7 @@ spec: height: 45px value: '您即将离开{title},去往:{url}' placeholder: '请输入安全链接页面跳转提示区域的文本描述' - help: '""包裹时字体颜色为主题色,“ {title} ”表示站点主标题,“ {url} ”表示跳转URL,区分大小写。默认值:“您即将离开{title},去往:{url}”' + help: '"“ {title} ”表示站点主标题,“ {url} ”表示跳转URL,区分大小写。默认值:“您即将离开{title},去往:{url}”' - group: pwa label: 'PWA配置' formSchema: diff --git a/templates/assets/js/dshare.min.js.LICENSE.txt b/templates/assets/js/dshare.min.js.LICENSE.txt new file mode 100644 index 0000000..e69de29 diff --git a/templates/security_link.html b/templates/security_link.html index 21c65b2..f9c485a 100644 --- a/templates/security_link.html +++ b/templates/security_link.html @@ -7,36 +7,381 @@ contributor = ${contributorFinder.getContributor(theme.config.basic_info.metadata_name)}, enableComment = false, isPost = false, canonical = ${theme.config.security_link_config.security_link_url}"> - - - - - - - + + + + + + + -
-
- favicon - [[${t1}]] -
-
-
- - [[${#strings.isEmpty(theme.config.security_link_config.security_link_tip_desc) ? '请注意您的账号和财产安全!': theme.config.security_link_config.security_link_tip_desc}]] +
+
+ favicon +
-
+
+ [[${#strings.isEmpty(theme.config.security_link_config.security_link_tip_desc) ? '请注意您的账号和财产安全!': theme.config.security_link_config.security_link_tip_desc}]] +
+
-
-
- 继续 +
+
+
+
+
+ ⚡将在[[${theme.config.security_link_config.security_link_auto_jump_time}]]秒后跳转,请自行确认链接安全性 +
+
-
+ \ No newline at end of file diff --git a/theme.yaml b/theme.yaml index a5e7aa3..bb84928 100644 --- a/theme.yaml +++ b/theme.yaml @@ -8,7 +8,7 @@ spec: displayName: Dream2.0 Plus author: # 作者名称 - name: 宏尘极客 + name: 宏尘极客 && fishcpy # 作者网址 website: https://www.hcjike.com customTemplates: