@@ -6,90 +6,109 @@ const coreTag = {name: "核心", type: "info"}
6
6
const componentTag = {name: " 组件" , type: " success" }
7
7
8
8
const componentCards = [
9
- {
10
- name: " 核心库" ,
11
- tags: [officialTag, coreTag],
12
- shields: [
13
- { src: " https://img.shields.io/github/v/release/simple-robot/simpler-robot?label=version" , alt: " 核心库" },
14
- ],
15
- description: " 核心库是组件库的基础,也是绝大多数基本API存在的地方。" ,
16
- links: [
17
- [{name: " 前往仓库" , href: " https://github.com/simple-robot/simpler-robot" , type: " info" }],
18
- [
19
- {name: " KDoc" , href: " main" , type: " primary" },
20
- {name: " KDoc(快照)" , href: " snapshots/main" , type: " primary" },
21
- ],
22
- [{name: " 🍀官网" , href: " https://simbot.forte.love" , type: " default" }],
23
- ]
24
- },
25
-
26
- {
27
- name: " mirai组件" ,
28
- tags: [officialTag, componentTag],
29
- shields: [
30
- { src: " https://img.shields.io/maven-central/v/love.forte.simbot.component/simbot-component-mirai-core?&label=version" , alt: " mirai组件" },
31
- ],
32
- description: " Mirai组件基于核心库对 <a href='https://github.com/mamoe/mirai'>mirai框架</a> 进行实现,提供强大的QQ机器人平台功能。" ,
33
- links: [
34
- [{name: " 前往仓库" , href: " https://github.com/simple-robot/simbot-component-mirai" , type: " info" }],
35
- [
36
- {name: " KDoc" , href: " components/mirai" , type: " primary" },
37
- {name: " KDoc(快照)" , href: " snapshots/components/mirai" , type: " primary" },
38
- ],
39
- [{name: " 前往手册" , href: " https://component-mirai.simbot.forte.love" , type: " default" }],
40
- ]
41
- },
42
-
43
- {
44
- name: " KOOK组件" ,
45
- tags: [officialTag, componentTag],
46
- shields: [
47
- { src: " https://img.shields.io/maven-central/v/love.forte.simbot.component/simbot-component-kook-core?&label=version" , alt: " KOOK组件" },
48
- ],
49
- description: " KOOK组件基于核心库对 <a href='https://developer.kookapp.cn/doc/reference'>KOOK机器人</a> 进行实现,提供强大的KOOK机器人平台功能。" ,
50
- links: [
51
- [{name: " 前往仓库" , href: " https://github.com/simple-robot/simbot-component-kook" , type: " info" }],
52
- [
53
- {name: " KDoc" , href: " components/kook" , type: " primary" },
54
- {name: " KDoc(快照)" , href: " snapshots/components/kook" , type: " primary" },
55
- ],
56
- [{name: " 前往手册" , href: " https://component-kook.simbot.forte.love/" , type: " default" }],
57
- ]
58
- },
59
-
60
- {
61
- name: " QQ频道组件" ,
62
- tags: [officialTag, componentTag],
63
- shields: [
64
- { src: " https://img.shields.io/maven-central/v/love.forte.simbot.component/simbot-component-qq-guild-core?&label=version" , alt: " QQ频道组件" },
65
- ],
66
- description: " QQ频道组件基于核心库对 <a href='https://bot.q.qq.com/wiki'>QQ频道机器人</a> 进行实现,提供强大的QQ频道机器人平台功能。" ,
67
- links: [
68
- [{name: " 前往仓库" , href: " https://github.com/simple-robot/simbot-component-qq-guild" , type: " info" }],
69
- [
70
- {name: " KDoc" , href: " components/qq-guild" , type: " primary" },
71
- {name: " KDoc(快照)" , href: " snapshots/components/qq-guild" , type: " primary" }
72
- ],
73
- [{name: " 前往手册" , href: " http://component-qqguild.simbot.forte.love/" , type: " default" }],
74
- ]
75
- },
76
-
77
- {
78
- name: " 米游社大别野组件" ,
79
- tags: [officialTag, componentTag],
80
- shields: [
81
- { src: " https://img.shields.io/maven-central/v/love.forte.simbot.component/simbot-component-miyoushe-villa-core?&label=version" , alt: " 米游社大别野组件" },
82
- ],
83
- description: " 米游社大别野组件基于核心库对 <a href='https://open.miyoushe.com/'>米游社大别野机器人</a> 进行实现,提供强大的米游社大别野机器人平台功能。" ,
84
- links: [
85
- [{name: " 前往仓库" , href: " https://github.com/simple-robot/simbot-component-miyoushe-villa" , type: " info" }],
86
- [
87
- {name: " KDoc" , href: " components/miyoushe-villa" , type: " primary" },
88
- {name: " KDoc(快照)" , href: " snapshots/components/miyoushe-villa" , type: " primary" }
89
- ],
90
- [{name: " 前往手册" , href: " https://simple-robot.github.io/simbot-component-miyoushe-villa/" , type: " default" }],
91
- ]
92
- },
9
+ {
10
+ name: " 核心库" ,
11
+ tags: [officialTag, coreTag],
12
+ shields: [
13
+ {src: " https://img.shields.io/github/v/release/simple-robot/simpler-robot?label=version" , alt: " 核心库" },
14
+ ],
15
+ description: " 核心库是组件库的基础,也是绝大多数基本API存在的地方。" ,
16
+ links: [
17
+ [{name: " 前往仓库" , href: " https://github.com/simple-robot/simpler-robot" , type: " info" }],
18
+ [
19
+ {name: " V4 KDoc" , href: " main-v4" , type: " primary" },
20
+ {name: " V4 KDoc(快照)" , href: " snapshots/main-v4" , type: " primary" },
21
+ ], [
22
+ {name: " V3 KDoc" , href: " main" , type: " primary" },
23
+ {name: " V3 KDoc(快照)" , href: " snapshots/main" , type: " primary" },
24
+ ]
25
+ [{name: " 🍀官网" , href: " https://simbot.forte.love" , type: " default" }],
26
+ ]
27
+ },
28
+
29
+ {
30
+ name: " KOOK组件" ,
31
+ tags: [officialTag, componentTag],
32
+ shields: [
33
+ {
34
+ src: " https://img.shields.io/maven-central/v/love.forte.simbot.component/simbot-component-kook-core?&label=version" ,
35
+ alt: " KOOK组件"
36
+ },
37
+ ],
38
+ description: " KOOK组件基于核心库对 <a href='https://developer.kookapp.cn/doc/reference'>KOOK机器人</a> 进行实现,提供强大的KOOK机器人平台功能。" ,
39
+ links: [
40
+ [{name: " 前往仓库" , href: " https://github.com/simple-robot/simbot-component-kook" , type: " info" }],
41
+ [
42
+ {name: " KDoc" , href: " components/kook" , type: " primary" },
43
+ {name: " KDoc(快照)" , href: " snapshots/components/kook" , type: " primary" },
44
+ ],
45
+ [{name: " 前往手册" , href: " https://component-kook.simbot.forte.love/" , type: " default" }],
46
+ ]
47
+ },
48
+
49
+ {
50
+ name: " QQ频道组件" ,
51
+ tags: [officialTag, componentTag],
52
+ shields: [
53
+ {
54
+ src: " https://img.shields.io/maven-central/v/love.forte.simbot.component/simbot-component-qq-guild-core?&label=version" ,
55
+ alt: " QQ频道组件"
56
+ },
57
+ ],
58
+ description: " QQ频道组件基于核心库对 <a href='https://bot.q.qq.com/wiki'>QQ频道机器人</a> 进行实现,提供强大的QQ频道机器人平台功能。" ,
59
+ links: [
60
+ [{name: " 前往仓库" , href: " https://github.com/simple-robot/simbot-component-qq-guild" , type: " info" }],
61
+ [
62
+ {name: " V4 KDoc" , href: " components/qq-guild" , type: " primary" },
63
+ {name: " V4 KDoc(快照)" , href: " snapshots/components/qq-guild" , type: " primary" }
64
+ ],
65
+ [
66
+ {name: " V3 KDoc" , href: " components/qq-guild-v3" , type: " primary" },
67
+ {name: " V3 KDoc(快照)" , href: " snapshots/components/qq-guild-v3" , type: " primary" }
68
+ ],
69
+ [{name: " 前往手册" , href: " http://component-qqguild.simbot.forte.love/" , type: " default" }],
70
+ ]
71
+ },
72
+
73
+ {
74
+ name: " 米游社大别野组件" ,
75
+ tags: [officialTag, componentTag],
76
+ shields: [
77
+ {
78
+ src: " https://img.shields.io/maven-central/v/love.forte.simbot.component/simbot-component-miyoushe-villa-core?&label=version" ,
79
+ alt: " 米游社大别野组件"
80
+ },
81
+ ],
82
+ description: " 米游社大别野组件基于核心库对 <a href='https://open.miyoushe.com/'>米游社大别野机器人</a> 进行实现,提供强大的米游社大别野机器人平台功能。" ,
83
+ links: [
84
+ [{name: " 前往仓库" , href: " https://github.com/simple-robot/simbot-component-miyoushe-villa" , type: " info" }],
85
+ [
86
+ {name: " KDoc" , href: " components/miyoushe-villa" , type: " primary" },
87
+ {name: " KDoc(快照)" , href: " snapshots/components/miyoushe-villa" , type: " primary" }
88
+ ],
89
+ [{name: " 前往手册" , href: " https://simple-robot.github.io/simbot-component-miyoushe-villa/" , type: " default" }],
90
+ ]
91
+ },
92
+
93
+ {
94
+ name: " mirai组件" ,
95
+ tags: [officialTag, componentTag],
96
+ shields: [
97
+ {
98
+ src: " https://img.shields.io/maven-central/v/love.forte.simbot.component/simbot-component-mirai-core?&label=version" ,
99
+ alt: " mirai组件"
100
+ },
101
+ ],
102
+ description: " Mirai组件基于核心库对 <a href='https://github.com/mamoe/mirai'>mirai框架</a> 进行实现,提供强大的QQ机器人平台功能。" ,
103
+ links: [
104
+ [{name: " 前往仓库" , href: " https://github.com/simple-robot/simbot-component-mirai" , type: " info" }],
105
+ [
106
+ {name: " KDoc" , href: " components/mirai" , type: " primary" },
107
+ {name: " KDoc(快照)" , href: " snapshots/components/mirai" , type: " primary" },
108
+ ],
109
+ [{name: " 前往手册" , href: " https://component-mirai.simbot.forte.love" , type: " default" }],
110
+ ]
111
+ },
93
112
]
94
113
95
114
</script >
@@ -102,7 +121,7 @@ const componentCards = [
102
121
103
122
<n-image-group >
104
123
<n-space size =" small" >
105
- <n-image v-for =" shield in componentCard.shields" :alt =" shield.alt" :src =" shield.src" preview-disabled />
124
+ <n-image v-for =" shield in componentCard.shields" :alt =" shield.alt" :src =" shield.src" preview-disabled />
106
125
</n-space >
107
126
</n-image-group >
108
127
@@ -113,7 +132,6 @@ const componentCards = [
113
132
</n-space >
114
133
115
134
116
-
117
135
<n-p v-html =" componentCard.description" ></n-p >
118
136
119
137
<template #action >
0 commit comments