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.

85 lines
2.0 KiB
HTML

4 years ago
<extend name="Public/base" />
<block name="body">
<!-- 标题栏 -->
<div class="cf main-place top_nav_list navtab_list">
<h3 class="page_title">制单账号</h3>
<p class="description_text">说明:可设置制单账号</p>
</div>
<div class="cf top_nav_list">
<div class="fl button_list">
<a class="" href="{:U('add')}"><span class="button_icon button_icon1"></span>新增</a>
</div>
</div>
<!-- 数据列表 -->
<div class="data_list">
<table class="">
<thead>
<tr>
<th class="">姓名</th>
<th class="">手机号码</th>
<th class="" style="width:8%;min-width:110px;">操作</th>
</tr>
</thead>
<tbody>
<notempty name="data">
<volist name="data" id="vo">
<tr>
<td>{$vo.real_name}</td>
<td>{$vo.mobile} </td>
<td>
<a href="{:U('User/delete',['id'=>$vo['id']])}" class="confirm ajax-get">删除</a>
</td>
</tr>
</volist>
<else/>
<td colspan="9" class="text-center">aOh! 暂时还没有内容!</td>
</notempty>
</tbody>
</table>
</div>
<div class="page">
{$_page}
</div>
</block>
<block name="script">
<script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>
<script type="text/javascript">
Think.setValue('status',"{:I('status')}");
Think.setValue('row',"{:I('row',10)}");
//搜索功能
$("#search").click(function(){
var url = $(this).attr('url');
var query = $('.jssearch').find('input').serialize();
query += "&"+$('.jssearch').find('select').serialize();
query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g,'');
query = query.replace(/^&/g,'');
if( url.indexOf('?')>0 ){
url += '&' + query;
}else{
url += '?' + query;
}
window.location.href = url;
});
//回车搜索
$(".search-input").keyup(function(e){
if(e.keyCode === 13){
$("#search").click();
return false;
}
});
//导航高亮
highlight_subnav('{:U('User/index')}');
</script>
</block>