ソースを参照

chore: 修改组件分类及排序 (#540)

* style: 文档样式细节修改

* docs: 修改官网taro文案

* docs: 修改组件名称

* fix: 修改swiper图片

* fix: 修改组件分类及排序
灰灰 4 年 前
コミット
04362a74c5
1 ファイル変更150 行追加147 行削除
  1. 150 147
      src/config.json

+ 150 - 147
src/config.json

@@ -91,6 +91,17 @@
       "packages": [
         {
           "version": "3.0.0",
+          "name": "Avatar",
+          "taro": true,
+          "sort": 7,
+          "cName": "头像",
+          "type": "component",
+          "show": true,
+          "desc": "头像",
+          "author": "ailululu"
+        },
+        {
+          "version": "3.0.0",
           "name": "Button",
           "taro": true,
           "sort": 1,
@@ -145,28 +156,7 @@
           "desc": "价格组件",
           "author": "ailululu"
         },
-        {
-          "version": "3.0.0",
-          "name": "Avatar",
-          "taro": true,
-          "sort": 7,
-          "cName": "头像",
-          "type": "component",
-          "show": true,
-          "desc": "头像",
-          "author": "ailululu"
-        },
-        {
-          "version": "3.0.0",
-          "name": "Popup",
-          "taro": true,
-          "sort": 8,
-          "cName": "弹出层",
-          "type": "component",
-          "show": true,
-          "desc": "弹出层容器,用于展示弹窗、信息提示等内容,支持多个弹出层叠加展示",
-          "author": "szg2008"
-        },
+       
         {
           "version": "3.0.0",
           "name": "OverLay",
@@ -223,49 +213,60 @@
       "packages": [
         {
           "version": "3.0.0",
-          "name": "Toast",
+          "name": "ActionSheet",
           "taro": true,
-          "tarodoc": true,
           "sort": "1",
-          "cName": "吐司",
-          "type": "methods",
+          "cName": "动作面板",
+          "type": "component",
           "show": true,
-          "desc": "轻提示",
-          "author": "undo"
+          "desc": "底部弹出动作菜单面板",
+          "author": "zhangyufei"
         },
         {
           "version": "3.0.0",
-          "name": "Notify",
-          "tarodoc": true,
+          "name": "BackTop",
           "taro": true,
-          "type": "methods",
-          "cName": "消息通知",
-          "desc": "在页面顶部展示消息提示,支持函数调用和组件调用两种方式",
-          "sort": 4,
+          "tarodoc": true,
+          "sort": "1",
+          "cName": "返回顶部",
+          "type": "component",
           "show": true,
-          "author": "wangyue217"
+          "desc": "较长页面快捷返回顶部",
+          "author": "liqiong43"
         },
         {
           "version": "3.0.0",
-          "name": "Swiper",
+          "name": "Collapse",
           "taro": true,
-          "tarodoc": true,
-          "sort": 6,
-          "cName": "轮播",
+          "sort": 2,
+          "cName": "折叠面板",
           "type": "component",
           "show": true,
-          "desc": "轮播",
-          "author": "suzigang"
+          "desc": "折叠面板",
+          "author": "Ymm0008"
         },
         {
           "version": "3.0.0",
-          "name": "SwiperItem",
-          "sort": 6,
-          "cName": "轮播图子组件",
+          "name": "CollapseItem",
+          "taro": true,
+          "sort": 3,
+          "cName": "折叠面板-item",
           "type": "component",
           "show": false,
-          "desc": "轮播图子组件",
-          "author": "suzigang"
+          "desc": "折叠面板-item",
+          "author": "Ymm0008"
+        },
+        {
+          "version": "3.0.0",
+          "name": "Drag",
+          "taro": true,
+          "tarodoc": true,
+          "type": "component",
+          "cName": "拖拽",
+          "desc": "拖拽组件",
+          "sort": 16,
+          "show": true,
+          "author": "Drjingfubo"
         },
         {
           "version": "3.0.0",
@@ -281,38 +282,38 @@
         },
         {
           "version": "3.0.0",
-          "name": "BackTop",
+          "name": "InfiniteLoading",
           "taro": true,
           "tarodoc": true,
-          "sort": "1",
-          "cName": "返回顶部",
           "type": "component",
+          "cName": "滚动加载",
+          "desc": "列表滚动到底部自动加载更多数据",
+          "sort": 15,
           "show": true,
-          "desc": "较长页面快捷返回顶部",
-          "author": "liqiong43"
+          "author": "yangxiaolu"
         },
         {
           "version": "3.0.0",
-          "name": "ActionSheet",
+          "name": "Notify",
+          "tarodoc": true,
           "taro": true,
-          "sort": "1",
-          "cName": "动作面板",
-          "type": "component",
+          "type": "methods",
+          "cName": "消息通知",
+          "desc": "在页面顶部展示消息提示,支持函数调用和组件调用两种方式",
+          "sort": 4,
           "show": true,
-          "desc": "底部弹出动作菜单面板",
-          "author": "zhangyufei"
+          "author": "wangyue217"
         },
         {
           "version": "3.0.0",
-          "name": "InfiniteLoading",
+          "name": "Range",
           "taro": true,
-          "tarodoc": true,
           "type": "component",
-          "cName": "滚动加载",
-          "desc": "列表滚动到底部自动加载更多数据",
-          "sort": 15,
+          "cName": "区间选择器",
+          "desc": "滑动输入条,用于在给定的范围内选择一个值。",
+          "sort": 16,
           "show": true,
-          "author": "yangxiaolu"
+          "author": "zy19940510"
         },
         {
           "version": "3.0.0",
@@ -324,18 +325,7 @@
           "show": false,
           "author": "yangxiaolu3"
         },
-        {
-          "version": "3.0.0",
-          "name": "Drag",
-          "taro": true,
-          "tarodoc": true,
-          "type": "component",
-          "cName": "拖拽",
-          "desc": "拖拽组件",
-          "sort": 16,
-          "show": true,
-          "author": "Drjingfubo"
-        },
+    
         {
           "version": "3.0.0",
           "name": "Video",
@@ -348,6 +338,17 @@
         },
         {
           "version": "3.0.0",
+          "name": "Popup",
+          "taro": true,
+          "sort": 8,
+          "cName": "弹出层",
+          "type": "component",
+          "show": true,
+          "desc": "弹出层容器,用于展示弹窗、信息提示等内容,支持多个弹出层叠加展示",
+          "author": "szg2008"
+        },
+        {
+          "version": "3.0.0",
           "name": "Steps",
           "taro": true,
           "sort": 17,
@@ -369,26 +370,50 @@
         },
         {
           "version": "3.0.0",
-          "name": "Collapse",
+          "name": "Swiper",
           "taro": true,
-          "sort": 2,
-          "cName": "折叠面板",
+          "tarodoc": true,
+          "sort": 6,
+          "cName": "轮播",
           "type": "component",
           "show": true,
-          "desc": "折叠面板",
-          "author": "Ymm0008"
+          "desc": "轮播",
+          "author": "suzigang"
         },
         {
           "version": "3.0.0",
-          "name": "CollapseItem",
-          "taro": true,
-          "sort": 3,
-          "cName": "折叠面板-item",
+          "name": "SwiperItem",
+          "sort": 6,
+          "cName": "轮播图子组件",
           "type": "component",
           "show": false,
-          "desc": "折叠面板-item",
-          "author": "Ymm0008"
+          "desc": "轮播图子组件",
+          "author": "suzigang"
+        },
+        {
+          "version": "3.0.0",
+          "name": "Switch",
+          "taro": true,
+          "type": "component",
+          "cName": "开关",
+          "desc": "用来打开或关闭选项",
+          "sort": 3,
+          "show": true,
+          "author": "zongyue3"
+        },
+        {
+          "version": "3.0.0",
+          "name": "Toast",
+          "taro": true,
+          "tarodoc": true,
+          "sort": "1",
+          "cName": "吐司",
+          "type": "methods",
+          "show": true,
+          "desc": "轻提示",
+          "author": "undo"
         }
+       
       ]
     },
     {
@@ -475,25 +500,14 @@
       "packages": [
         {
           "version": "3.0.0",
-          "name": "InputNumber",
           "taro": true,
-          "sort": 1,
-          "cName": "数字输入框",
-          "type": "component",
-          "show": true,
-          "desc": "数字输入框组件",
-          "author": "szg2008"
-        },
-        {
-          "version": "3.0.0",
-          "name": "Input",
-          "taro": true,
-          "sort": 2,
-          "cName": "输入框",
+          "name": "Calendar",
           "type": "component",
+          "cName": "日历",
+          "desc": "日历组件",
+          "sort": 5,
           "show": true,
-          "desc": "输入框组件",
-          "author": "gxx158"
+          "author": "songchenglin1"
         },
         {
           "version": "3.0.0",
@@ -518,6 +532,40 @@
         },
         {
           "version": "3.0.0",
+          "name": "DatePicker",
+          "taro": true,
+          "tarodoc": true,
+          "type": "component",
+          "cName": "日期选择器",
+          "desc": "提供多个选型集合供用户选择,支持单列选择和多列级联,通常与弹出层配合使用",
+          "sort": 5,
+          "show": true,
+          "author": "yangkaixuan"
+        },
+        {
+          "version": "3.0.0",
+          "name": "InputNumber",
+          "taro": true,
+          "sort": 1,
+          "cName": "数字输入框",
+          "type": "component",
+          "show": true,
+          "desc": "数字输入框组件",
+          "author": "szg2008"
+        },
+        {
+          "version": "3.0.0",
+          "name": "Input",
+          "taro": true,
+          "sort": 2,
+          "cName": "输入框",
+          "type": "component",
+          "show": true,
+          "desc": "输入框组件",
+          "author": "gxx158"
+        },
+        {
+          "version": "3.0.0",
           "name": "Radio",
           "taro": true,
           "type": "component",
@@ -550,28 +598,6 @@
         },
         {
           "version": "3.0.0",
-          "name": "Switch",
-          "taro": true,
-          "type": "component",
-          "cName": "开关",
-          "desc": "用来打开或关闭选项",
-          "sort": 3,
-          "show": true,
-          "author": "zongyue3"
-        },
-        {
-          "version": "3.0.0",
-          "taro": true,
-          "name": "Calendar",
-          "type": "component",
-          "cName": "日历",
-          "desc": "日历组件",
-          "sort": 5,
-          "show": true,
-          "author": "songchenglin1"
-        },
-        {
-          "version": "3.0.0",
           "name": "CalendarItem",
           "type": "component",
           "cName": "日历子组件",
@@ -594,18 +620,6 @@
         },
         {
           "version": "3.0.0",
-          "name": "DatePicker",
-          "taro": true,
-          "tarodoc": true,
-          "type": "component",
-          "cName": "日期选择器",
-          "desc": "提供多个选型集合供用户选择,支持单列选择和多列级联,通常与弹出层配合使用",
-          "sort": 5,
-          "show": true,
-          "author": "yangkaixuan"
-        },
-        {
-          "version": "3.0.0",
           "name": "ShortPassword",
           "taro": true,
           "type": "component",
@@ -617,17 +631,6 @@
         },
         {
           "version": "3.0.0",
-          "name": "Range",
-          "taro": true,
-          "type": "component",
-          "cName": "区间选择器",
-          "desc": "滑动输入条,用于在给定的范围内选择一个值。",
-          "sort": 16,
-          "show": true,
-          "author": "zy19940510"
-        },
-        {
-          "version": "3.0.0",
           "taro": true,
           "name": "TextArea",
           "type": "component",