150 lines
3.3 KiB
JavaScript
150 lines
3.3 KiB
JavaScript
/**
|
|
* 此文件的作用为统一配置所有组件的props参数
|
|
* 借此用户可以全局覆盖组件的props默认值
|
|
* 无需在每个引入组件的页面中都配置一次
|
|
*/
|
|
import config from './config'
|
|
|
|
import actionSheet from './props/actionSheet.js'
|
|
import album from './props/album.js'
|
|
import alert from './props/alert.js'
|
|
import avatar from './props/avatar'
|
|
import avatarGroup from './props/avatarGroup'
|
|
import backtop from './props/backtop'
|
|
import badge from './props/badge'
|
|
import button from './props/button'
|
|
import calendar from './props/calendar'
|
|
import carKeyboard from './props/carKeyboard'
|
|
import cell from './props/cell'
|
|
import cellGroup from './props/cellGroup'
|
|
|
|
import columnNotice from './props/columnNotice'
|
|
import countDown from './props/countDown'
|
|
import countTo from './props/countTo'
|
|
import datetimePicker from './props/datetimePicker'
|
|
import divider from './props/divider'
|
|
import empty from './props/empty'
|
|
import form from './props/form'
|
|
import formItem from './props/formItem'
|
|
import gap from './props/gap'
|
|
import grid from './props/grid'
|
|
import gridItem from './props/gridItem'
|
|
import icon from './props/icon'
|
|
import image from './props/image'
|
|
import indexAnchor from './props/indexAnchor'
|
|
import indexList from './props/indexList'
|
|
import input from './props/input'
|
|
import keyboard from './props/keyboard'
|
|
|
|
import link from './props/link'
|
|
import list from './props/list'
|
|
import listItem from './props/listItem'
|
|
import loadingIcon from './props/loadingIcon'
|
|
import loadingPage from './props/loadingPage'
|
|
import loadmore from './props/loadmore'
|
|
import modal from './props/modal'
|
|
import navbar from './props/navbar'
|
|
|
|
import numberBox from './props/numberBox'
|
|
import numberKeyboard from './props/numberKeyboard'
|
|
import overlay from './props/overlay'
|
|
import parse from './props/parse'
|
|
import picker from './props/picker'
|
|
import popup from './props/popup'
|
|
|
|
import row from './props/row'
|
|
|
|
import scrollList from './props/scrollList'
|
|
|
|
import statusBar from './props/statusBar'
|
|
|
|
import sticky from './props/sticky'
|
|
import subsection from './props/subsection'
|
|
|
|
import _switch from './props/switch'
|
|
import tabbar from './props/tabbar'
|
|
import tabbarItem from './props/tabbarItem'
|
|
import tabs from './props/tabs'
|
|
|
|
import text from './props/text'
|
|
|
|
import toast from './props/toast'
|
|
import toolbar from './props/toolbar'
|
|
import tooltip from './props/tooltip'
|
|
import transition from './props/transition'
|
|
|
|
|
|
const {
|
|
color
|
|
} = config
|
|
|
|
export default {
|
|
...actionSheet,
|
|
...album,
|
|
...alert,
|
|
...avatar,
|
|
...avatarGroup,
|
|
...backtop,
|
|
...badge,
|
|
...button,
|
|
|
|
...carKeyboard,
|
|
...cell,
|
|
...cellGroup,
|
|
|
|
...columnNotice,
|
|
...countDown,
|
|
...countTo,
|
|
...datetimePicker,
|
|
...divider,
|
|
...empty,
|
|
...form,
|
|
...formItem,
|
|
...gap,
|
|
...grid,
|
|
...gridItem,
|
|
...icon,
|
|
...image,
|
|
...indexAnchor,
|
|
...indexList,
|
|
...input,
|
|
...keyboard,
|
|
|
|
...link,
|
|
...list,
|
|
...listItem,
|
|
...loadingIcon,
|
|
...loadingPage,
|
|
...loadmore,
|
|
...modal,
|
|
...navbar,
|
|
|
|
...numberBox,
|
|
...numberKeyboard,
|
|
...overlay,
|
|
...parse,
|
|
...picker,
|
|
...popup,
|
|
|
|
...row,
|
|
|
|
...scrollList,
|
|
|
|
...statusBar,
|
|
|
|
...sticky,
|
|
...subsection,
|
|
|
|
...tabbar,
|
|
...tabbarItem,
|
|
...tabs,
|
|
|
|
...text,
|
|
|
|
...toast,
|
|
...toolbar,
|
|
...tooltip,
|
|
...transition,
|
|
|
|
}
|