- group: sns
label: 社交资料
formSchema:
- $formkit: repeater
name: index_sns
label: 首页社交资料展示
value: []
children:
- $formkit: select
name: type
label: 类型
placeholder: "选择你要展示的社交资料"
options:
- label: X
help: "只需填入 X 用户名即可"
value: { url: "https://x.com/", aria-label: "Find me on X", data-icon: mdi:twitter }
- label: Facebook
help: "只需填入 Facebook 用户名即可"
value:
{
url: "https://www.facebook.com/",
aria-label: "Find me on facebook",
data-icon: ic:baseline-facebook,
}
- label: Instagram
help: "只需填入 Instagram 用户名即可"
value:
{ url: "https://www.instagram.com/", aria-label: "Find me on instagram", data-icon: mdi:instagram }
- label: Dribbble
help: "只需填入 Dribbble 用户名即可"
value: { url: "https://dribbble.com/", aria-label: "Find me on dribbble", data-icon: mdi:dribbble }
- label: 微博
help: "只需填入微博 Id 即可"
value: { url: "https://weibo.com/", aria-label: "Find me on weibo", data-icon: bi:sina-weibo }
- label: Email
help: "只需填入邮箱地址即可"
value: { url: "mailto:", aria-label: "Find me on email", data-icon: ph:envelope-simple-bold }
- label: Github
help: "只需填入 Github 用户名即可"
value: { url: "https://github.com/", aria-label: "Find me on github", data-icon: mdi:github }
- label: QQ
help: "只需填入 QQ 号即可"
value:
{
url: "tencent://message/?Site=&Menu=yes&uin=",
aria-label: "Find me on QQ",
data-icon: ant-design:qq-circle-filled,
}
- label: Telegram
help: "只需填入 Telegram Id 即可"
value: { url: "https://t.me/", aria-label: "Find me on telegram", data-icon: ic:baseline-telegram }
- $formkit: text
name: input_value
label: 值
validation: "required"
如题,我脑补似的写出了这样的内容,显然这样加 help 是没有用的,完全不显示