Skip to content

Commit e4d24fe

Browse files
committed
fix: 重新整理组件列表
1 parent 871e569 commit e4d24fe

File tree

1 file changed

+74
-95
lines changed

1 file changed

+74
-95
lines changed

sites/config.json

+74-95
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
{
5757
"name": "Image",
5858
"type": "component",
59-
"tarodoc": true,
6059
"cName": "图片",
6160
"desc": "增强版的 img 标签,提供多种图片填充模式,支持图片加载中提示、加载失败提示。",
6261
"sort": 8,
@@ -71,6 +70,15 @@
7170
"sort": 5,
7271
"show": true,
7372
"author": ""
73+
},
74+
{
75+
"name": "Popup",
76+
"sort": 9,
77+
"cName": "弹出层",
78+
"type": "component",
79+
"show": true,
80+
"desc": "弹出层容器,用于展示弹窗、信息提示等内容,支持多个弹出层叠加展示",
81+
"author": ""
7482
}
7583
]
7684
},
@@ -150,15 +158,6 @@
150158
"name": "导航组件",
151159
"enName": "nav",
152160
"packages": [
153-
{
154-
"name": "BackTop",
155-
"type": "component",
156-
"cName": "返回顶部",
157-
"desc": "提供较长的页面快捷返回顶部功能。",
158-
"sort": 2,
159-
"show": false,
160-
"author": ""
161-
},
162161
{
163162
"name": "Elevator",
164163
"type": "component",
@@ -177,30 +176,39 @@
177176
"show": true,
178177
"author": ""
179178
},
179+
{
180+
"name": "Indicator",
181+
"type": "component",
182+
"cName": "指示器",
183+
"desc": "显示一个任务或流程的进度,常用于开通流程。",
184+
"sort": 16,
185+
"show": true,
186+
"author": ""
187+
},
180188
{
181189
"name": "NavBar",
182190
"type": "component",
183191
"cName": "头部导航",
184192
"desc": "提供导航功能。",
185193
"sort": 1,
186-
"show": false,
194+
"show": true,
187195
"author": ""
188196
},
189197
{
190-
"name": "SideNavBar",
198+
"name": "Pagination",
191199
"type": "component",
192-
"cName": "侧边栏导航",
193-
"desc": "用于内容选择和切换",
194-
"sort": 9,
200+
"cName": "分页",
201+
"desc": "当数据量较多时,采用分页的形式分隔长列表。",
202+
"sort": 6,
195203
"show": true,
196204
"author": ""
197205
},
198206
{
199-
"name": "NavBar",
207+
"name": "SideNavBar",
200208
"type": "component",
201-
"cName": "头部导航",
202-
"desc": "提供导航功能。",
203-
"sort": 5,
209+
"cName": "侧边栏导航",
210+
"desc": "用于内容选择和切换",
211+
"sort": 9,
204212
"show": true,
205213
"author": ""
206214
},
@@ -275,7 +283,6 @@
275283
"desc": "地址组件",
276284
"sort": 3,
277285
"show": false,
278-
"taro": true,
279286
"author": ""
280287
},
281288
{
@@ -451,7 +458,7 @@
451458
"cName": "搜索栏",
452459
"desc": "用于搜索场景的输入框组件",
453460
"sort": 16,
454-
"show": false,
461+
"show": true,
455462
"author": ""
456463
},
457464
{
@@ -472,22 +479,13 @@
472479
"show": false,
473480
"author": ""
474481
},
475-
{
476-
"name": "Switch",
477-
"type": "component",
478-
"cName": "开关",
479-
"desc": "用来打开或关闭选项。",
480-
"sort": 11,
481-
"show": false,
482-
"author": ""
483-
},
484482
{
485483
"name": "TextArea",
486484
"type": "component",
487485
"cName": "文本域",
488486
"desc": "文本框内输入或编辑文字,支持限制输入数量。",
489487
"sort": 2,
490-
"show": true,
488+
"show": false,
491489
"author": ""
492490
},
493491
{
@@ -523,22 +521,13 @@
523521
"show": true,
524522
"author": ""
525523
},
526-
{
527-
"name": "Badge",
528-
"type": "component",
529-
"cName": "徽标",
530-
"desc": "在图标或文字右上角的红色圆点、数字或者文字,表示有新内容或者待处理的信息。",
531-
"sort": 4,
532-
"show": false,
533-
"author": ""
534-
},
535524
{
536525
"name": "Dialog",
537526
"type": "component",
538527
"cName": "对话框",
539528
"desc": "模态对话框",
540529
"sort": 12,
541-
"show": false,
530+
"show": true,
542531
"author": ""
543532
},
544533
{
@@ -550,15 +539,6 @@
550539
"show": true,
551540
"author": ""
552541
},
553-
{
554-
"name": "Empty",
555-
"type": "component",
556-
"cName": "空状态",
557-
"desc": "空状态时的占位提示",
558-
"sort": 16,
559-
"show": false,
560-
"author": ""
561-
},
562542
{
563543
"name": "InfiniteLoading",
564544
"type": "component",
@@ -568,15 +548,6 @@
568548
"show": false,
569549
"author": ""
570550
},
571-
{
572-
"name": "NoticeBar",
573-
"type": "component",
574-
"cName": "公告栏",
575-
"desc": "用于循环播放展示一组消息通知。",
576-
"sort": 11,
577-
"show": false,
578-
"author": ""
579-
},
580551
{
581552
"name": "Notify",
582553
"type": "component",
@@ -604,15 +575,6 @@
604575
"show": false,
605576
"author": ""
606577
},
607-
{
608-
"name": "Skeleton",
609-
"type": "component",
610-
"cName": "骨架屏",
611-
"desc": "在页面上待加载区域填充灰色的占位图,本质上是界面加载过程中的过渡效果。",
612-
"sort": 15,
613-
"show": true,
614-
"author": ""
615-
},
616578
{
617579
"name": "Swipe",
618580
"type": "component",
@@ -623,18 +585,17 @@
623585
"author": ""
624586
},
625587
{
626-
"name": "Popup",
627-
"sort": 9,
628-
"cName": "弹出层",
588+
"name": "Switch",
629589
"type": "component",
590+
"cName": "开关",
591+
"desc": "用来打开或关闭选项。",
592+
"sort": 11,
630593
"show": true,
631-
"desc": "弹出层容器,用于展示弹窗、信息提示等内容,支持多个弹出层叠加展示",
632594
"author": ""
633595
},
634596
{
635597
"name": "Toast",
636598
"type": "component",
637-
"tarodoc": true,
638599
"cName": "吐司",
639600
"desc": "轻提示",
640601
"sort": 1,
@@ -693,6 +654,15 @@
693654
"exportEmpty": true,
694655
"author": ""
695656
},
657+
{
658+
"name": "Badge",
659+
"type": "component",
660+
"cName": "徽标",
661+
"desc": "在图标或文字右上角的红色圆点、数字或者文字,表示有新内容或者待处理的信息。",
662+
"sort": 4,
663+
"show": true,
664+
"author": ""
665+
},
696666
{
697667
"name": "CircleProgress",
698668
"type": "component",
@@ -739,6 +709,15 @@
739709
"show": true,
740710
"author": ""
741711
},
712+
{
713+
"name": "Empty",
714+
"type": "component",
715+
"cName": "空状态",
716+
"desc": "空状态时的占位提示",
717+
"sort": 16,
718+
"show": true,
719+
"author": ""
720+
},
742721
{
743722
"name": "ImagePreview",
744723
"type": "component",
@@ -749,11 +728,11 @@
749728
"author": ""
750729
},
751730
{
752-
"name": "Indicator",
731+
"name": "NoticeBar",
753732
"type": "component",
754-
"cName": "指示器",
755-
"desc": "显示一个任务或流程的进度,常用于开通流程",
756-
"sort": 16,
733+
"cName": "公告栏",
734+
"desc": "用于循环播放展示一组消息通知",
735+
"sort": 11,
757736
"show": true,
758737
"author": ""
759738
},
@@ -766,15 +745,6 @@
766745
"show": true,
767746
"author": ""
768747
},
769-
{
770-
"name": "Pagination",
771-
"type": "component",
772-
"cName": "分页",
773-
"desc": "当数据量较多时,采用分页的形式分隔长列表。",
774-
"sort": 6,
775-
"show": true,
776-
"author": ""
777-
},
778748
{
779749
"name": "Price",
780750
"type": "component",
@@ -793,6 +763,15 @@
793763
"show": true,
794764
"author": ""
795765
},
766+
{
767+
"name": "Skeleton",
768+
"type": "component",
769+
"cName": "骨架屏",
770+
"desc": "在页面上待加载区域填充灰色的占位图,本质上是界面加载过程中的过渡效果。",
771+
"sort": 15,
772+
"show": true,
773+
"author": ""
774+
},
796775
{
797776
"name": "Step",
798777
"sort": 17,
@@ -849,6 +828,15 @@
849828
"show": true,
850829
"author": ""
851830
},
831+
{
832+
"name": "TrendArrow",
833+
"type": "component",
834+
"cName": "趋势箭头",
835+
"desc": "带有箭头指示的百分比数字,用以展示指标趋势",
836+
"sort": 25,
837+
"show": true,
838+
"author": ""
839+
},
852840
{
853841
"name": "Video",
854842
"type": "component",
@@ -901,15 +889,6 @@
901889
"show": true,
902890
"author": ""
903891
},
904-
{
905-
"name": "TrendArrow",
906-
"type": "component",
907-
"cName": "趋势箭头",
908-
"desc": "带有箭头指示的百分比数字,用以展示指标趋势",
909-
"sort": 25,
910-
"show": true,
911-
"author": ""
912-
},
913892
{
914893
"name": "WaterMark",
915894
"type": "component",

0 commit comments

Comments
 (0)