diff --git a/settings.yaml b/settings.yaml index 3751861..2b6cbd1 100644 --- a/settings.yaml +++ b/settings.yaml @@ -1435,11 +1435,17 @@ 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_title if: $get(enable_security_link).value label: 安全链接页面-站点标题 - value: '{title}' + value: '{title}-安全中心' placeholder: '请输入/选择安全链接页面站点的标题' help: '请输入/选择安全链接页面站点的标题,留空不显示,“ {title} ”表示站点主标题。' - $formkit: text @@ -1449,12 +1455,6 @@ 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 @@ -1470,7 +1470,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..d9790cf 100644 --- a/templates/security_link.html +++ b/templates/security_link.html @@ -7,36 +7,378 @@ contributor = ${contributorFinder.getContributor(theme.config.basic_info.metadata_name)}, enableComment = false, isPost = false, canonical = ${theme.config.security_link_config.security_link_url}"> - - - - - - - + + + + + [[${site.title}]]-安全中心 + -
-
- 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}]] +
+
-
-
- 继续 +
+
+
+
+
+ ⚡将在4秒后跳转,请自行确认链接安全性 +
+
-
+ \ No newline at end of file diff --git a/theme.yaml b/theme.yaml index a5e7aa3..f89e2e1 100644 --- a/theme.yaml +++ b/theme.yaml @@ -5,10 +5,10 @@ metadata: name: theme-dream2-plus spec: # 主题名称 - displayName: Dream2.0 Plus + displayName: Dream2.0 Plus 仅供fishcpy测试 author: # 作者名称 - name: 宏尘极客 + name: 宏尘极客 && fishcpy # 作者网址 website: https://www.hcjike.com customTemplates: @@ -18,7 +18,7 @@ spec: screenshot: file: security_link.html # 主题描述 - description: '梦之城,童话梦境' + description: '仅供fishcpy测试' # 主题logo地址 logo: /themes/theme-dream2-plus/assets/img/logo.png # 主题地址