1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
| import bar from '@/assets/mobimg/bar.png'
| import bar1 from '@/assets/mobimg/bar1.png'
| import line from '@/assets/mobimg/line.png'
| import line1 from '@/assets/mobimg/line1.png'
| import tabs from '@/assets/mobimg/tabs.png'
| import group from '@/assets/mobimg/group.png'
| import card1 from '@/assets/mobimg/card1.png'
| import card2 from '@/assets/mobimg/card2.png'
| import TableCard from '@/assets/mobimg/table-card.png'
| import NormalTable from '@/assets/mobimg/normal-table.png'
| import Pie from '@/assets/mobimg/pie.png'
| import Editor from '@/assets/mobimg/editor.png'
| import SandBox from '@/assets/mobimg/sandbox.png'
| import Pie1 from '@/assets/mobimg/ring.png'
| import Pie2 from '@/assets/mobimg/nightingale.png'
| import singlesearch from '@/assets/mobimg/singlesearch.png'
| import Navbar from '@/assets/mobimg/navbar-mob.png'
| import Carousel from '@/assets/mobimg/carousel.png'
| import Carousel1 from '@/assets/mobimg/carousel1.png'
| import form from '@/assets/mobimg/form.png'
| import tabForm from '@/assets/mobimg/tab-form.png'
| import Login from '@/assets/mobimg/moblogin.jpg'
| // import dashboard from '@/assets/mobimg/dashboard.png'
| import NavTop from '@/assets/mobimg/navtop-mob.png'
| import scatter from '@/assets/mobimg/scatter.png'
| import MenuBar from '@/assets/mobimg/menubar.png'
| import CommonBar from '@/assets/mobimg/commonbar.png'
| import timeline from '@/assets/mobimg/timeline.png'
| import officialAccount from '@/assets/mobimg/guanzhu.jpg'
|
| // 组件配置信息
| export const menuOptions = [
| { type: 'menu', url: NavTop, component: 'topbar', subtype: 'topbar', title: '导航栏' },
| { type: 'menu', url: Navbar, component: 'navbar', subtype: 'tabbar', title: '菜单栏' },
| { type: 'menu', url: MenuBar, component: 'menubar', subtype: 'menubar', title: '菜单' },
| { type: 'menu', url: CommonBar, component: 'menubar', subtype: 'commonbar', title: '常用菜单' },
| { type: 'menu', url: tabs, component: 'tabs', subtype: 'tabs', title: '标签页', width: 24 },
| { type: 'menu', url: singlesearch, component: 'search', subtype: 'mainsearch', title: '搜索条件', width: 24 },
| { type: 'menu', url: card1, component: 'card', subtype: 'datacard', title: '数据卡', width: 24 },
| { type: 'menu', url: card2, component: 'card', subtype: 'propcard', title: '属性卡', width: 24 },
| { type: 'menu', url: card2, component: 'balcony', subtype: 'balcony', title: '浮动卡', width: 24 },
| { type: 'menu', url: form, component: 'form', subtype: 'simpleform', title: '表单', width: 24 },
| { type: 'menu', url: form, component: 'form', subtype: 'stepform', title: '表单(分步)', width: 24 },
| { type: 'menu', url: tabForm, component: 'form', subtype: 'tabform', title: '表单(tab页)', width: 24 },
| { type: 'menu', url: Carousel, component: 'carousel', subtype: 'datacard', title: '轮播-动态数据', width: 24 },
| { type: 'menu', url: Carousel1, component: 'carousel', subtype: 'propcard', title: '轮播-静态数据', width: 24 },
| { type: 'menu', url: NormalTable, component: 'table', subtype: 'normaltable', title: '常用表', width: 24 },
| { type: 'menu', url: TableCard, component: 'table', subtype: 'tablecard', title: '表格(卡片)', width: 24 },
| { type: 'menu', url: timeline, component: 'timeline', subtype: 'timeline', title: '时间轴', width: 24 },
| { type: 'menu', url: line, component: 'line', subtype: 'line', title: '折线图', width: 24 },
| { type: 'menu', url: line1, component: 'line', subtype: 'line1', title: '阶梯折线图', width: 24 },
| { type: 'menu', url: bar, component: 'bar', subtype: 'bar', title: '柱状图', width: 24 },
| { type: 'menu', url: bar1, component: 'bar', subtype: 'bar1', title: '条形图', width: 24 },
| { type: 'menu', url: Pie, component: 'pie', subtype: 'pie', title: '饼图', width: 24 },
| { type: 'menu', url: Pie1, component: 'pie', subtype: 'ring', title: '环图', width: 24 },
| { type: 'menu', url: Pie2, component: 'pie', subtype: 'nightingale', title: '南丁格尔图', width: 24 },
| // { type: 'menu', url: dashboard, component: 'dashboard', subtype: 'dashboard', title: '仪表盘', width: 12 },
| { type: 'menu', url: scatter, component: 'scatter', subtype: 'scatter', title: '散点图', width: 24 },
| { type: 'menu', url: Editor, component: 'editor', subtype: 'brafteditor', title: '富文本', width: 24 },
| { type: 'menu', url: SandBox, component: 'code', subtype: 'sandbox', title: '自定义', width: 24 },
| { type: 'menu', url: group, component: 'group', subtype: 'normalgroup', title: '分组', width: 24 },
| { type: 'menu', url: Login, component: 'login', subtype: 'normallogin', title: '注册/登录', width: 24 },
| { type: 'menu', url: officialAccount, component: 'officialAccount', subtype: 'officialAccount', title: '关注公众号(小程序中)', width: 24, adapter: 'mini' },
| ]
|
|