You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
3.6 KiB
HTML

5 years ago
<extend name="Public/base"/>
<block name="body">
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
<div class="cf main-place top_nav_list navtab_list">
{:W('Index/navigation',array('value'=>'Site/media','compare'=>'Kefu/index'))}
<h3 class="page_title">新增客服问题</h3>
<p class="description_text"></p>
</div>
<div class="tab-content tabcon1711 tabcon17112">
<form action="{:U()}" method="post" class="form-horizontal form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo"><i class="mustmark" style="margin-left:-7px">*</i>标题分类</td>
<td class="r table_radio">
<select id="title" name="id">
<option value="0" selected="">请选择分类标题</option>
<volist name=':get_kefu_data()' id='vo'>
<option value="{$vo.id}">{$vo.title}</option>
</volist>
</select>
<input type="hidden" name="istitle" value="2">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo"><i class="mustmark" style="margin-left:-7px">*</i>子标题</td>
<td class="r table_radio">
<input type="text" class="" name="zititle" value="" placeholder="子标题">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">子标题参数</td>
<td class="r table_radio">
<input type="text" class="" name="zititleurl" value="" disabled="disabled" style="background: #cecece;" placeholder="自动生成">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo"><i class="mustmark" style="margin-left:-7px">*</i>内容</td>
<td class="r table_radio">
<textarea name="contend" placeholder="请输入内容"></textarea>
<span class="notice-text"></span>
</td>
</tr>
</tbody>
</table>
<div class="form-item cf">
<button class="submit_btn ajax-post mlspacing" id="submit" type="submit" target-form="form-horizontal">
保存
</button>
<a class="submit_btn " alt="返回上一页" title="返回上一页" href="javascript:window.history.back();" >
返回
</a>
</div>
</form>
</div>
<div class="common_settings">
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
<form class="addShortcutIcon">
<input type="hidden" name="title" value="{$m_title}">
<input type="hidden" name="url" value="Site/media">
</form>
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
</div>
</block>
<block name="script">
<script type="text/javascript" charset="utf-8">
//导航高亮
highlight_subnav('{:U('Site/media')}');
if($('.istitle').prop('checked')){
$('.zititle').attr('style','display:none');
}
$('.istitle').click(function(){
if($('.istitle').prop('checked')){
$('.zititle').attr('style','display:none');
}else{
$('.zititle').attr('style','');
}
});
</script>
</block>