unita-techui-snippets
基于 unita + techui 常用的代码模板,可以快速生成页面,组件,路由等模块代码。
模板格式
{
"unita-xxx": {
"scope": "javascript,typescript,typescriptreact",
"prefix": "unita-xxx",
"body": ["console.log('模板代码')"],
"description": ""
}
}
现有模板
模板名称 |
快捷 prefix |
介绍 |
空页面 |
unita-page |
空页面 |
空组件 |
unita-component |
空组件 |
CRUD 页 |
unita-crud-page |
CRUD 查询页 |
新增修改弹框 |
unita-add-or-update-modal |
新增修改弹框 |
ModalForm 页 |
unita-modal-form |
快速搭建的 ModalForm 页 |
DrawerForm 页 |
unita-drawer-form |
快速搭建的 DrawerForm 页 |
ProFormText |
unita-proform-text |
基本配置参数 |
ProFormTextArea |
unita-proform-textarea |
基本配置参数 |
ProFormSelect |
unita-proform-select |
基本配置参数 |
ProFormDigit |
unita-proform-digit |
基本配置参数 |
ProFormDatePicker |
unita-proform-date |
基本配置参数 |
ProFormDateTimePicker |
unita-proform-datetime |
基本配置参数 |
ProFormDateRangePicker |
unita-proform-daterange |
基本配置参数 |
ProFormDateTimeRangePicker |
unita-proform-datetimerange |
基本配置参数 |
router 路由 |
unita-router |
路由配置 |
serviece 请求 |
unita-service |
请求接口 |
useRequest |
unita-use-request |
请求接口 |
Feedback |
unita-Feedback |
快速搭建的 反馈组件 |
H5Robot |
unita-H5Robot |
快速搭建的 网页机器人 |
IicAvataCard |
unita-IicAvataCard |
快速搭建的 头像组件 |
IicClassifyTree |
unita-IicClassifyTree |
快速搭建的 部门树组件 |
IicCropImageUpload |
unita-IicCropImageUpload |
快速搭建的 图片上传裁剪组件 |
IicDeptTreeSelect |
unita-IicDeptTreeSelect |
快速搭建的 通用部门搜索组件 |
IicDragableTree |
unita-IicDragableTree |
快速搭建的 拖动排序树组件 |
IicEmpCircle |
unita-IicEmpCircle |
快速搭建的 选人组件 |
| |