{extend name='public/base' /} {block name="content"}
表单各种元素封装选择
{:widget('common/forms/Pic',array('name|缩略图|请上传文字缩略图|required|上传图片','',700,600))}
{:widget('common/forms/uploadImg',array('avatars','','90x90','头像','300x300'))}
{:widget('common/forms/Files',array('fik|上传附件|请上传附件|required|上传附件','地址'))} {lv:textarea label="摘要:" style="width: 450px;" name="description" place="请输入摘要" /}
{:widget('common/forms/uploadMultImg',array('pic',[],'图片提示'))}
一次性可以选择多个图片上传
{:widget('common/forms/Layedit',array('content|Layedit|Layedit','欢迎使用Layedit编辑器'))} {:widget('common/forms/Ueditor',array('content|文章内容|文章内容|420','欢迎使用ueditor编辑器'))}
{/block} {block name="js"} {/block}