1234567891011121314151617181920 |
- 1.图片上传
- {:widget_view('common/upimg',['name'=>'img(表单名)','multi'=>0(0=单张 1=多张),'val'=>'默认值以逗号分隔','type'=>'0','max'=>'0最多文件数')}
- 2.百度富文本编辑器
- {:widget_view('common/ueditor',['name'=>'content(表单名)','height'=>300(高度),'val'=>'默认值')}
- 3.多选且可筛选
- {:widget_view('common/multiselect',['name'=>'labels(表单名)','lists' => $labellist(选项数组), 'val' => [](默认值)])}
- 4.多级联选择器(具体几级根据传的数组)
- {:widget_view('common/cascader',['name'=>'labels(表单名)','lists' => $labellist(选项数组), 'val' => [](默认值)])}
- 5.高德地图标注组件
- {:widget_view('common/gdmap',['name'=>'labels(表单名)', 'val' => 'lat-lng'(默认值)])}
- 6.选择月份组件
- {:widget_view('common/month',['name'=>'labels(表单名)', 'val' => ''(默认值)])}
- 7.时间范围组件
- {:widget_view('common/timerangepicker',['name'=>'labels(表单名)', 'val' => ''(默认值)])}
- 8.选择日期组件
- {:widget_view('common/datepicker',['name'=>'labels(表单名)', 'val' => ''(默认值)])}
- 9.选择日期h:i组件
- {:widget_view('common/datehipicker',['name'=>'labels(表单名)', 'val' => ''(默认值)])}
- 10.选择分组用户
- {:widget_view('common/user-group-select',['name'=>'labels(表单名)','multi'=>0(0多选1单选), 'val' => ''(默认值:多选为数组,单选为字符串),'msg']=>'注释说明')}
|