Vcms表单控件
input
{:W('Common/Form/input', array('title', 'title', '文章标题', $article['title'], '请输入文章标题', ''))}{:W('Common/Form/input', array('id', 'name', 'label_name', $value, 'place_holder', 'help_block'))}
textarea
{:W('Common/Form/textarea', array('id', 'name', 'label_name', $value, 'place_holder', 'help_block'))}
single-select
{:W('Common/Form/single_select', array('id', 'name', 'label_name', $options, $value, 'place_holder', 'help_block'))}
multiple-select
{:W('Common/Form/multiple_select', array('id', 'name', 'label_name', $options, $values, 'place_holder', 'help_block'))}
spinner数字框
{:W('Common/Form/spinner', array('id',' name', 'label_name', $value, 'min', 'max', 'step', 'help_block'))}
ueditor
{:W('Common/Form/ueditor', array($id, $name, $label_name, $value, 'help_block'))}
checkbox
{:W('Common/Form/checkbox', array('id', 'name', 'label_name', 1, 'help_block'))}
date-picker
{:W('Common/Form/datepicker', array('id', 'name', 'label_name', $value, 'yyyy/mm/dd', 'help_block'))}
timer-picker
{:W('Common/Form/timerpicker', array('id', 'name', 'label_name', $value, 'yyyy/mm/dd', 'help_block'))}
hidden
{:W('Common/Form/hidden_input', array('id', 'name', $value))}
radio
{:W('Common/Form/radio', array($ids, 'name', 'label_name', $option_keys, $option_values, 'value', 'help_block', $js_fn))}
password
{:W('Common/Form/password', array('id', 'name', 'label_name', $value, 'place_holder', 'help_block'))}
phone
{:W('Common/Form/phone', array($id, $name, $label_name, $value, 'place_holder', 'help_block'))}
upload:
{:W('Common/Form/upload', array('id', 'name', 'label_name', $value, 'queue_id', 'help_block', 'image'))}
search-input
{:W('Common/Form/search_input', array($id, $name, 'place_holder', $value, 'direction', 'ico'))}
submit
{:W('Common/Form/submit', array('btn', 'back', 'back_link'))}
{:W('Common/Form/range', array('id', 'name', 'label_name', $value, 'min', 'max', 'step'))}
button
{:W('Common/Form/button', array('btn'))}
{:W('Common/Form/mutiple_upload', array('mul_img', 'mul_img', '上传多图文', $value, 'number'))}
{:W('Common/Form/colorpicker', array('colorpicker', 'colorpicker', '拾色器', $value, 'top', '请选择需要的颜色'))}
{:W('Common/Form/two_list_input', array('ul-wrap', 'label', 'name1', 'name2', 'placeholder1', 'placeholder2', $value))} //添加input框
{:W('Common/Form/ajax_multiple_select', array($id, $name, 'label_name', 'url', $value, 'column', 'place_holder', 'help_block', $select2_options, 'js_fn'))}
{:W('Common/Form/ajax_single_select', array($id, $name, 'label_name', 'url', $value, 'column', 'place_holder', 'help_block', $select2_options, 'js_fn'))}
{:W('Common/Util/ajax_single_select', array('/' . MANAGE . '/url', 'label_name', $single['id'], 'name', $options, $value, 'placeholder', 'top', $extra_post_data))}