| 输入字段 | 说明 | 生成代码 |
| info | 普通类型的消息提示 (ElMessage) | ```js ElMessage.info({ message: '', showClose: true, }); ``` |
| success | 成功类型的消息提示 (ElMessage) | ```js ElMessage.success({ message: '', showClose: true, }); ``` |
| warning | 警告类型的消息提示 (ElMessage) | ```js ElMessage.warning({ message: '', showClose: true, }); ``` |
| error | 错误类型的消息提示 (ElMessage) | ```js ElMessage.error({ message: '', showClose: true, }); ``` |
| alert | alert消息弹出框 (ElMessageBox) | ```js ElMessageBox.alert('内容', '标题', { confirmButtonText: '确定', callback: action => { if (action === 'confirm') { } } }); ``` |
| confirm | confirm消息弹出框 (ElMessageBox) | ```js ElMessageBox.confirm('内容', '标题', { { confirmButtonText: '确定' cancelButtonText: '取消' } }).then(() => { }).catch(() => { }); ``` |
| prompt | prompt消息弹出框 (ElMessageBox) | ```js ElMessageBox.prompt('内容', '标题', { { confirmButtonText: '确定' cancelButtonText: '取消' } }).then(() => { }).catch(() => { }); ``` |
| info | 普通类型的消息通知 (ElNotification) | ```js ElNotification.info({ title: '温馨提示', message: '', }); ``` |
| success | 成功类型的消息通知 (ElNotification) | ```js ElNotification.success({ title: '成功', message: '', }); ``` |
| warning | 警告类型的消息通知 (ElNotification) | ```js ElNotification.warning({ title: '警告', message: '', }); ``` |
| error | 错误类型的消息通知 (ElNotification) | ```js ElNotification.error({ title: '错误', message: '', }); ``` |
| 输入字段 | 说明 | 生成代码 |
| template | 模板 | ```html ``` |
| slot | 插槽 |
```html
|
| el-button | 按钮组件 |
```html
|
| el-container | 布局组件 |
```html
|
| el-confirm | 确认按钮组件 |
```html
|
| el-cancel | 取消按钮组件 |
```html
|
| el-link | 路由跳转组件 |
```html
|
| el-scrollbar | 滚动条组件 |
```html
|
| el-space | 间距组件 |
```html
|
| el-config-provider | 间距组件 |
```html
|
| el-autocomplete | 自动补全输入框组件 |
```html
|
| el-icon | 图标组件 |
```html
|
| el-tabs | 标签页组件 |
```html
|
| el-tab-pane | 面包屑子组件 |
```html
|
| el-aside | 布局侧边栏组件 |
```html
|
| el-header | 布局顶部组件 |
```html
|
| el-main | 布局内容组件 |
```html
|
| el-footer | 布局底部组件 |
```html
|
| el-breadcrumb | 面包屑组件 |
```html
|
| el-breadcrumb-item | 面包屑子组件 |
```html
|
| el-menu | 菜单组件 |
```html
|
| el-sub-menu | 子菜单组件 |
```html
|
| el-menu-item | 菜单子组件 |
```html
|
| el-timeline | 时间轴组件 |
```html
|
| el-timeline-item | 时间轴子组件 |
```html
|
| el-tour | 漫游式引导 |
```html
Put you files here.
|
| el-tour-step | 漫游式引导步骤 |
```html
Put you files here.
|
| el-collapse | 折叠面板组件 |
```html
|
| el-collapse-item | 折叠面板子组件 |
```html
|
| el-descriptions | 描述列表组件 |
```html
|
| el-descriptions-item | 描述列表子组件 |
```html
|
| el-result | 结果组件 |
```html
|
| el-empty | 空状态组件 |
```html
|
| el-dropdown | 下拉菜单父组件 |
```html
|
| el-dropdown-menu | 下拉菜单子组件 |
```html
|
| el-dropdown-item | 下拉菜单子组件 |
```html
|
| el-pagination | 分页组件 |
```html
|
| el-checkbox-group | 多选框 el-checkbox形式编码 |
```html
|
| el-checkbox | 复选框组件 |
```html
|
| el-radio-group | 单选框组件 el-radio形式编码 |
```html
|
| el-radio | 复选框组件 |
```html
|
| el-badge | 徽标数组件 |
```html
|
| el-calendar | 日历组件 |
```html
|
| el-image | 图片组件 |
```html
|
| el-backtop | 返回顶部组件 |
```html
|
| el-card | 卡片组件 |
```html
|
| el-carousel | 走马灯组件 |
```html
|
| el-carousel-item | 走马灯子组件 |
```html
|
| el-switch | 开关组件 |
```html
|
| el-input | 输入框组件 |
```html
|
| el-select | 下拉框组件 |
```html
|
| el-select-v2 | 虚拟化选择器 |
```html
|
| el-input-number | 数字输入框组件 |
```html
|
| el-avatar | 头像组件 |
```html
|
| el-spin | 加载中组件 |
```html
|
| el-divider | 分割线组件 |
```html
|
| el-skeleton | 骨架屏组件 |
```html
|
| el-alert | 警告提示组件 |
```html
|
| el-popconfirm | 气泡二次确认组件 |
```html
|
| el-popover | 气泡组件 |
```html
|
| el-tooltip | 文字提示组件 |
```html
|
| el-tag | 标签组件 |
```html
|
| el-slider | 滑动输入条 |
```html
|
| el-progress | 进度条组件 |
```html
|
| el-time-select | 时间选择器 |
```html
|
| el-time-picker | 时间选择器 |
```html
|
| el-date-picker | 日期选择器 |
```html
|
| el-date-picker | 日期范围选择器 |
```html
|
| el-rate | 评分组件 |
```html
|
| el-color-picker | 颜色选择器 |
```html
|
| el-steps | 步骤条组件 |
```html
|
| el-dialog | 弹窗组件 |
```html
|
| el-transfer | 穿梭框组件 |
```html
|
| el-cascader | 级联选择组件 |
```html
|
| el-cascader-panel | 级联选择面板组件 |
```html
|
| el-upload | 上传文件组件 |
```html
只能上传jpg/png文件,且不超过500kb
|
| el-drawer | 抽屉组件 |
```html
|
| el-tree | 树形结构组件 |
```html
|
| el-tree-select | 树形选择器组件 |
```html
|
| el-tree-v2 | 虚拟化树形控件 |
```html
|
| el-statistic | 统计组件 |
```html
|
| el-countdown | 倒计时组件 |
```html
|
| el-affix | 固钉组件 |
```html
|
| el-anchor | 锚点组件 |
```html
|
| el-anchor-link | 锚点链接组件 |
```html
|
| el-page-header | 页头组件 |
```html
|
| el-table | 表格组件 |
```html
|
| el-table-v2 | 虚拟化表格 |
```html
|
| el-form | 表单组件 |
```html
|
| el-form-item | 表单子组件 |
```html
|
| el-row | 栅格布局组件 |
```html
|
| el-col | 栅格布局子组件 |
```html
|
| el-watermark | 水印组件 |
```html
|