/* eslint-disable */ const version = require('../../package.json').version; module.exports = { 'zh-CN': { header: { logo: { image: 'https://img.yzcdn.cn/public_files/2017/12/18/fd78cf6bb5d12e2a119d0576bedfd230.png', title: 'Vant', version, href: '#/' }, nav: { lang: { text: 'En', from: 'zh-CN', to: 'en-US' }, github: 'https://github.com/youzan/vant' } }, nav: [ { name: '开发指南', groups: [ { list: [ { path: '/intro', title: '介绍' }, { path: '/quickstart', title: '快速上手' }, { path: '/changelog', title: '更新日志' }, { path: '/vant-css', title: '内置样式' }, { path: '/theme', title: '定制主题' }, { path: '/contribution', title: '开发指南' }, { path: '/style-guide', title: '风格指南' }, { path: '/demo', title: '示例页面' }, { path: '/locale', title: '国际化' } ] } ] }, { name: '组件', showInMobile: true, groups: [ { groupName: '基础组件', list: [ { path: '/col', title: 'Layout 布局' }, { path: '/badge', title: 'Badge 徽章' }, { path: '/button', title: 'Button 按钮' }, { path: '/cell', title: 'Cell 单元格' }, { path: '/circle', title: 'Circle 环形进度条' }, { path: '/collapse', title: 'Collapse 折叠面板' }, { path: '/icon', title: 'Icon 图标' }, { path: '/lazyload', title: 'Lazyload 图片懒加载' }, { path: '/list', title: 'List 列表' }, { path: '/loading', title: 'Loading 加载' }, { path: '/nav-bar', title: 'NavBar 导航栏' }, { path: '/notice-bar', title: 'NoticeBar 通告栏' }, { path: '/pagination', title: 'Pagination 分页' }, { path: '/panel', title: 'Panel 面板' }, { path: '/popup', title: 'Popup 弹出层' }, { path: '/progress', title: 'Progress 进度条' }, { path: '/steps', title: 'Steps 步骤条' }, { path: '/swipe', title: 'Swipe 轮播' }, { path: '/tab', title: 'Tab 标签页' }, { path: '/tabbar', title: 'Tabbar 标签栏' }, { path: '/tag', title: 'Tag 标记' }, { path: '/waterfall', title: 'Waterfall 瀑布流' } ] }, { groupName: '表单组件', list: [ { path: '/checkbox', title: 'Checkbox 复选框' }, { path: '/field', title: 'Field 输入框' }, { path: '/number-keyboard', title: 'NumberKeyboard 数字键盘' }, { path: '/password-input', title: 'PasswordInput 密码输入框' }, { path: '/radio', title: 'Radio 单选框' }, { path: '/rate', title: 'Rate 评分' }, { path: '/search', title: 'Search 搜索' }, { path: '/slider', title: 'Slider 滑块' }, { path: '/stepper', title: 'Stepper 步进器' }, { path: '/switch', title: 'Switch 开关' }, { path: '/uploader', title: 'Uploader 图片上传' } ] }, { groupName: '操作反馈', list: [ { path: '/actionsheet', title: 'Actionsheet 上拉菜单' }, { path: '/datetime-picker', title: 'DatetimePicker 时间选择' }, { path: '/dialog', title: 'Dialog 弹出框' }, { path: '/picker', title: 'Picker 选择器' }, { path: '/pull-refresh', title: 'PullRefresh 下拉刷新' }, { path: '/toast', title: 'Toast 轻提示' } ] }, { groupName: '高阶组件', list: [ { path: '/cell-swipe', title: 'CellSwipe 滑动单元格' }, { path: '/image-preview', title: 'ImagePreview 图片预览' }, { path: '/switch-cell', title: 'SwitchCell 开关单元格' }, { path: '/tree-select', title: 'TreeSelect 分类选择' } ] }, { groupName: '业务组件', list: [ { path: '/address-edit', title: 'AddressEdit 地址编辑' }, { path: '/address-list', title: 'AddressList 地址列表' }, { path: '/area', title: 'Area 省市区选择' }, { path: '/card', title: 'Card 卡片' }, { path: '/contact-card', title: 'Contact 联系人' }, { path: '/coupon-list', title: 'Coupon 优惠券' }, { path: '/goods-action', title: 'GoodsAction 商品页行动点' }, { path: '/submit-bar', title: 'SubmitBar 提交订单栏' }, { path: '/sku', title: 'Sku 商品规格弹层' } ] } ] } ] }, 'en-US': { header: { logo: { image: 'https://img.yzcdn.cn/public_files/2017/12/18/fd78cf6bb5d12e2a119d0576bedfd230.png', title: 'Vant', version, href: '#/' }, nav: { lang: { text: '中文', from: 'en-US', to: 'zh-CN' }, github: 'https://github.com/youzan/vant' } }, nav: [ { name: 'Essentials', groups: [ { list: [ { path: '/intro', title: 'Introduction' }, { path: '/quickstart', title: 'Quickstart' }, { path: '/changelog', title: 'Changelog' }, { path: '/vant-css', title: 'Built-in style' }, { path: '/theme', title: 'Custom Theme' }, { path: '/demo', title: 'Demo pages' }, { path: '/locale', title: 'Internationalization' } ] } ] }, { name: 'Components', showInMobile: true, groups: [ { groupName: 'Basic Components', list: [ { path: '/col', title: 'Layout' }, { path: '/badge', title: 'Badge' }, { path: '/button', title: 'Button' }, { path: '/cell', title: 'Cell' }, { path: '/circle', title: 'Circle' }, { path: '/collapse', title: 'Collapse' }, { path: '/icon', title: 'Icon' }, { path: '/lazyload', title: 'Lazyload' }, { path: '/list', title: 'List' }, { path: '/loading', title: 'Loading' }, { path: '/nav-bar', title: 'NavBar' }, { path: '/notice-bar', title: 'NoticeBar' }, { path: '/pagination', title: 'Pagination' }, { path: '/panel', title: 'Panel' }, { path: '/popup', title: 'Popup' }, { path: '/progress', title: 'Progress' }, { path: '/steps', title: 'Steps' }, { path: '/swipe', title: 'Swipe' }, { path: '/tab', title: 'Tab' }, { path: '/tabbar', title: 'Tabbar' }, { path: '/tag', title: 'Tag' }, { path: '/waterfall', title: 'Waterfall' } ] }, { groupName: 'Form Components', list: [ { path: '/checkbox', title: 'Checkbox' }, { path: '/field', title: 'Field' }, { path: '/number-keyboard', title: 'NumberKeyboard' }, { path: '/password-input', title: 'PasswordInput' }, { path: '/radio', title: 'Radio' }, { path: '/rate', title: 'Rate' }, { path: '/search', title: 'Search' }, { path: '/slider', title: 'Slider' }, { path: '/stepper', title: 'Stepper' }, { path: '/switch', title: 'Switch' }, { path: '/uploader', title: 'Uploader' } ] }, { groupName: 'Action Components', list: [ { path: '/actionsheet', title: 'Actionsheet' }, { path: '/datetime-picker', title: 'DatetimePicker' }, { path: '/dialog', title: 'Dialog' }, { path: '/picker', title: 'Picker' }, { path: '/pull-refresh', title: 'PullRefresh' }, { path: '/toast', title: 'Toast' } ] }, { groupName: 'Advanced Components', list: [ { path: '/cell-swipe', title: 'CellSwipe' }, { path: '/image-preview', title: 'ImagePreview' }, { path: '/switch-cell', title: 'SwitchCell' }, { path: '/tree-select', title: 'TreeSelect' } ] }, { groupName: 'Business Components', list: [ { path: '/address-edit', title: 'AddressEdit' }, { path: '/address-list', title: 'AddressList' }, { path: '/area', title: 'Area' }, { path: '/card', title: 'Card' }, { path: '/contact-card', title: 'Contact' }, { path: '/coupon-list', title: 'Coupon' }, { path: '/goods-action', title: 'GoodsAction' }, { path: '/submit-bar', title: 'SubmitBar' }, { path: '/sku', title: 'Sku' } ] } ] } ] } };