|
|
@@ -1,100 +1,95 @@
|
|
|
-let subpackages = [
|
|
|
- {
|
|
|
- root: 'layout',
|
|
|
- pages: ['pages/layout/index', 'pages/divider/index', 'pages/sticky/index', 'pages/grid/index']
|
|
|
- },
|
|
|
- {
|
|
|
- root: 'feedback',
|
|
|
- pages: [
|
|
|
- 'pages/swipe/index',
|
|
|
- 'pages/backtop/index',
|
|
|
- 'pages/actionsheet/index',
|
|
|
- 'pages/dialog/index',
|
|
|
- 'pages/toast/index',
|
|
|
- 'pages/notify/index',
|
|
|
- 'pages/switch/index',
|
|
|
- 'pages/drag/index',
|
|
|
- 'pages/infiniteloading/index'
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- root: 'base',
|
|
|
- pages: ['pages/cell/index', 'pages/icon/index', 'pages/button/index', 'pages/overlay/index', 'pages/popup/index']
|
|
|
- },
|
|
|
- {
|
|
|
- root: 'nav',
|
|
|
- pages: [
|
|
|
- 'pages/navbar/index',
|
|
|
- 'pages/tabbar/index',
|
|
|
- 'pages/tabs/index',
|
|
|
- 'pages/fixednav/index',
|
|
|
- 'pages/elevator/index',
|
|
|
- 'pages/menu/index',
|
|
|
- 'pages/pagination/index',
|
|
|
- 'pages/indicator/index',
|
|
|
- 'pages/sidenavbar/index'
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- root: 'dentry',
|
|
|
- pages: [
|
|
|
- 'pages/range/index',
|
|
|
- 'pages/inputnumber/index',
|
|
|
- 'pages/checkbox/index',
|
|
|
- 'pages/input/index',
|
|
|
- 'pages/uploader/index',
|
|
|
- 'pages/rate/index',
|
|
|
- 'pages/radio/index',
|
|
|
- 'pages/calendar/index',
|
|
|
- 'pages/form/index',
|
|
|
- 'pages/shortpassword/index',
|
|
|
- 'pages/picker/index',
|
|
|
- 'pages/datepicker/index',
|
|
|
- 'pages/textarea/index',
|
|
|
- 'pages/numberkeyboard/index',
|
|
|
- 'pages/cascader/index',
|
|
|
- 'pages/oldpicker/index',
|
|
|
- 'pages/searchbar/index'
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- root: 'exhibition',
|
|
|
- pages: [
|
|
|
- 'pages/avatar/index',
|
|
|
- 'pages/price/index',
|
|
|
- 'pages/imagepreview/index',
|
|
|
- 'pages/collapse/index',
|
|
|
- 'pages/empty/index',
|
|
|
- 'pages/noticebar/index',
|
|
|
- 'pages/steps/index',
|
|
|
- 'pages/progress/index',
|
|
|
- 'pages/circleprogress/index',
|
|
|
- 'pages/list/index',
|
|
|
- 'pages/countdown/index',
|
|
|
- 'pages/countup/index',
|
|
|
- 'pages/badge/index',
|
|
|
- 'pages/tag/index',
|
|
|
- 'pages/popover/index',
|
|
|
- 'pages/skeleton/index',
|
|
|
- 'pages/table/index',
|
|
|
- 'pages/swiper/index'
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- root: 'business',
|
|
|
- pages: [
|
|
|
- 'pages/address/index',
|
|
|
- 'pages/signature/index',
|
|
|
- 'pages/barrage/index',
|
|
|
- 'pages/timeselect/index',
|
|
|
- 'pages/sku/index',
|
|
|
- 'pages/card/index'
|
|
|
- ]
|
|
|
- }
|
|
|
-];
|
|
|
export default {
|
|
|
pages: ['pages/index/index'],
|
|
|
- subpackages,
|
|
|
+ subpackages: [
|
|
|
+ {
|
|
|
+ root: 'base',
|
|
|
+ pages: ['pages/button/index', 'pages/cell/index', 'pages/icon/index', 'pages/overlay/index', 'pages/popup/index']
|
|
|
+ },
|
|
|
+ { root: 'layout', pages: ['pages/layout/index', 'pages/sticky/index', 'pages/divider/index', 'pages/grid/index'] },
|
|
|
+ {
|
|
|
+ root: 'nav',
|
|
|
+ pages: [
|
|
|
+ 'pages/navbar/index',
|
|
|
+ 'pages/fixednav/index',
|
|
|
+ 'pages/menu/index',
|
|
|
+ 'pages/tabbar/index',
|
|
|
+ 'pages/elevator/index',
|
|
|
+ 'pages/pagination/index',
|
|
|
+ 'pages/tabs/index',
|
|
|
+ 'pages/indicator/index',
|
|
|
+ 'pages/sidenavbar/index'
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ root: 'dentry',
|
|
|
+ pages: [
|
|
|
+ 'pages/range/index',
|
|
|
+ 'pages/searchbar/index',
|
|
|
+ 'pages/cascader/index',
|
|
|
+ 'pages/calendar/index',
|
|
|
+ 'pages/checkbox/index',
|
|
|
+ 'pages/datepicker/index',
|
|
|
+ 'pages/inputnumber/index',
|
|
|
+ 'pages/input/index',
|
|
|
+ 'pages/radio/index',
|
|
|
+ 'pages/rate/index',
|
|
|
+ 'pages/picker/index',
|
|
|
+ 'pages/shortpassword/index',
|
|
|
+ 'pages/textarea/index',
|
|
|
+ 'pages/uploader/index',
|
|
|
+ 'pages/numberkeyboard/index',
|
|
|
+ 'pages/form/index'
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ root: 'feedback',
|
|
|
+ pages: [
|
|
|
+ 'pages/swipe/index',
|
|
|
+ 'pages/actionsheet/index',
|
|
|
+ 'pages/backtop/index',
|
|
|
+ 'pages/drag/index',
|
|
|
+ 'pages/dialog/index',
|
|
|
+ 'pages/infiniteloading/index',
|
|
|
+ 'pages/notify/index',
|
|
|
+ 'pages/switch/index',
|
|
|
+ 'pages/toast/index'
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ root: 'exhibition',
|
|
|
+ pages: [
|
|
|
+ 'pages/list/index',
|
|
|
+ 'pages/progress/index',
|
|
|
+ 'pages/circleprogress/index',
|
|
|
+ 'pages/noticebar/index',
|
|
|
+ 'pages/empty/index',
|
|
|
+ 'pages/steps/index',
|
|
|
+ 'pages/swiper/index',
|
|
|
+ 'pages/avatar/index',
|
|
|
+ 'pages/price/index',
|
|
|
+ 'pages/imagepreview/index',
|
|
|
+ 'pages/countup/index',
|
|
|
+ 'pages/countdown/index',
|
|
|
+ 'pages/badge/index',
|
|
|
+ 'pages/tag/index',
|
|
|
+ 'pages/popover/index',
|
|
|
+ 'pages/skeleton/index',
|
|
|
+ 'pages/collapse/index',
|
|
|
+ 'pages/table/index'
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ root: 'business',
|
|
|
+ pages: [
|
|
|
+ 'pages/address/index',
|
|
|
+ 'pages/barrage/index',
|
|
|
+ 'pages/signature/index',
|
|
|
+ 'pages/timeselect/index',
|
|
|
+ 'pages/sku/index',
|
|
|
+ 'pages/card/index'
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
window: {
|
|
|
backgroundTextStyle: 'light',
|
|
|
navigationBarBackgroundColor: '#fff',
|