-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.yaml
95 lines (94 loc) · 2.67 KB
/
settings.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
apiVersion: v1alpha1
kind: Setting
metadata:
name: theme-yoyo-setting
spec:
forms:
- group: cdns
label: CDN配置
formSchema:
- $formkit: radio
name: jquery
id: jquery
label: jquery
value: false
options:
- label: 开启
value: true
- label: 关闭
value: false
- $formkit: text
if: "$get(jquery).value"
name: jquery_url
label: jquery cdn地址
value: https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js
- group: fotter
label: 社交
formSchema:
- $formkit: repeater
name: social_media
label: 社交媒体
value: [ ]
children:
- $formkit: select
name: icon
label: 图标
options:
- label: 电子邮箱
value: ri-mail-fill
- label: 微信
value: ri-wechat-fill
- label: 腾讯 QQ
value: ri-qq-fill
- label: 新浪微博
value: ri-weibo-fill
- label: Facebook
value: ri-facebook-circle-fill
- label: Twitter
value: ri-twitter-fill
- label: GitHub
value: ri-github-fill
- label: RSS
value: ri-rss-fill
- $formkit: text
name: name
label: 名称
- $formkit: text
name: url
label: 链接
validation: "required"
- $formkit: radio
name: url_type
label: 链接类型
value: normal
help: "如果选择了图片类型,那么在访客点击之后会使用弹框的形式加载"
options:
- label: 跳转链接
value: normal
- label: 图片
value: image
- group: beian
label: 备案设置
formSchema:
- $formkit: text
name: icp_text
label: ICP备案号
- $formkit: text
name: icp_link
label: ICP备案跳转链接
value: https://beian.miit.gov.cn/
- group: Projects
label: 项目
formSchema:
- $formkit: text
name: Projects_name
label: 项目名称
- $formkit: text
name: Projects_links
label: 项目链接
- $formkit: text
name: Projects_ms
label: 项目描述
- $formkit: text
name: Projects_icon
label: 项目图标