{CSS href="__STATIC__/admin/css/admin_base.css" /} {js href='__STATIC__/jquery/jquery-1.11.0.min.js' /} {js href='__STATIC__/layui/layui.js' /} {CSS href="__STATIC__/layui/css/layui.css" /} {CSS href="__STATIC__/icon/icon.css" /}

{if condition="$data.status=='1'"} {else/} {/if}
{switch $type} {case text}
{/case} {case news}
{:hook('Upload',['type'=>'image','name'=>'picurl','material'=>true,'value'=>$data.url])}
{/case} {case addon}
{/case} {case voice}
{:hook('Upload',['type'=>'voice','name'=>'voice','bt_title'=>'上传语音','material'=>true,'value'=>$data.url])}

临时语音只支持amr/mp3格式,大小不超过为2M,长度不超过60秒,永久语音只支持mp3/wma/wav/amr格式,大小不超过为5M,长度不超过60秒

{/case} {case image}
{:hook('Upload',['type'=>'image','name'=>'reply_image','material'=>true,'value'=>$data.url])}
{/case} {case video}
{:hook('Upload',['type'=>'video','name'=>'reply_video','bt_title'=>'上传视频','material'=>true,'value'=>$data.url])}

临时视频只支持mp4格式,大小不超过为10M,永久视频只支持rm/rmvb/wmv/avi/mpg/mpeg/mp4格式,大小不超过为20M

{/case} {case music}
{:hook('Upload',['type'=>'media','name'=>'music','bt_title'=>'上传音乐','value'=>$data.url])}
{/case} {/switch}