- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/woai3c/vue-generate-form
- 软件文档: https://github.com/woai3c/vue-generate-form/blob/master/doc.md
- 官方下载: https://github.com/woai3c/vue-generate-form
软件介绍
项目地址
简介
Vue动态生成表单组件 可以根据数据配置表单 使用的UI库是iView
在Vue里 一般要用到什么组件或数据 都得提前声明
所以要根据数据来生成表单 只能使用Vue的render函数
要做这一个组件 其实并不难 看一下Vue官方示例 再找个UI组件库 差不多就能写出来
如果对项目有兴趣 可以fork或克隆项目 自行研究
有问题或BUG欢迎提issues
文档
表单组件
-
Input 输入框
-
Button 按钮
-
Radio 单选框
-
Checkbox 多选框
-
Icon 图标
-
Switch 开关
-
Select 选择器
-
Slider 滑块
-
DatePicker 日期选择器
-
TimePicker 时间选择器
-
Cascader 级联选择器
-
InputNumber 数字输入框
-
Rate 评分
-
Upload 上传
-
ColorPicker 颜色选择器
使用
在单文件组件中引用
npm i vue-generate-form
import iView from 'iview' import VueGenerateForm from 'vue-generate-form' import 'iview/dist/styles/iview.css' Vue.use(iView) Vue.use(VueGenerateForm)
<template> <div id="app"> <VueGenerateForm :options="options"/> // 或者 <vue-generate-form :options="options"/> </div> </template>
在HTML文件中直接引用
使用的是dist目录中的vue-generate-form.js
<link rel="stylesheet" type="text/css" href="iview.css">
<div id="app"> <vue-generate-form :options="options"/> </div>
<script src="vue.js"></script> <script src="iview.js"></script> <script src="vue-generate-form.js"></script>
Spark技术内幕
张安站 / 机械工业出版社 / 2015-9-1
Spark是不断壮大的大数据分析解决方案家族中备受关注的新增成员。它不仅为分布式数据集的处理提供一个有效框架,而且以高效的方式处理分布式数据集。它支持实时处理、流处理和批处理,提供了AllinOne的统一解决方案,使得Spark极具竞争力。 本书以源码为基础,深入分析Spark内核的设计理念和架构实现,系统讲解各个核心模块的实现,为性能调优、二次开发和系统运维提供理论支持;本文最后以项目实战......一起来看看 《Spark技术内幕》 这本书的介绍吧!