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.
83 lines
3.3 KiB
HTML
83 lines
3.3 KiB
HTML
5 years ago
|
<extend name="Public/promote_base"/>
|
||
|
<block name="css">
|
||
|
<link href="__CSS__/20180207/mixed.css" rel="stylesheet">
|
||
|
<style>
|
||
|
.trunk-list {position: relative;min-height: 66vh;}
|
||
|
.pagenation{position: relative;line-height: 5vh;}
|
||
|
|
||
|
</style>
|
||
|
</block>
|
||
|
|
||
|
<block name="body">
|
||
|
<div class="page-list normal_list siteGift-index-list">
|
||
|
<div class="trunk-title">
|
||
|
<div class="location">
|
||
|
<div class="location-container">当前位置:<span>联盟站点></span><span>{$meta_title}</span></div>
|
||
|
</div>
|
||
|
<img src="__IMG__/20180207/icon_normal_qqqun.png"><span class="title_main">{$meta_title}</span>
|
||
|
</div>
|
||
|
<div class="trunk-content article">
|
||
|
<div class="trunk-search clearfix">
|
||
|
<div class="tab">
|
||
|
<a href="{:U('add')}" class="submit" >添加广告</a>
|
||
|
<a href="{:U('del')}" class="submit ajax-post confirm " target-form="ids" >删除</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="trunk-list">
|
||
|
<div class="tabulation">
|
||
|
<table class="table normal_table">
|
||
|
<tr class="odd">
|
||
|
<th><input type="checkbox" class="checkitem check-all" ></th>
|
||
|
<th>广告标题</th>
|
||
|
<th>广告链接</th>
|
||
|
<th>开始时间</th>
|
||
|
<th>结束时间</th>
|
||
|
<th>打开方式</th>
|
||
|
<th>展示状态</th>
|
||
|
<th>操作</th>
|
||
|
</tr>
|
||
|
<empty name="data">
|
||
|
<tr><td colspan="9" style="text-align: center;height: 45vh;"><img src="__IMG__/20180207/icon_wushujv2.png"/><p style="line-height: 40px;color: #A5A5A5;">暂无数据</p></td></tr>
|
||
|
<else />
|
||
|
<volist name="data" id="vo">
|
||
|
<tr id = "{$vo['id']}">
|
||
|
<td><input type="checkbox" class="checkitem ids" value="{$vo.id}" name="id[]" ></td>
|
||
|
<td>{$vo.title}</td>
|
||
|
<td>{$vo.url}</td>
|
||
|
<td><gt name="vo.start_time" value="0">{$vo.start_time|date='Y-m-d h:i',###}<else />--</gt></td>
|
||
|
<td><gt name="vo.end_time" value="0">{$vo.end_time|date='Y-m-d h:i',###}<else />--</gt></td>
|
||
|
<td>{:get_target_name($vo['target'])}</td>
|
||
|
<td>{:get_info_status($vo['status'])}</td>
|
||
|
<td class="op">
|
||
|
<a class="edit" href="{:U('edit',['id'=>$vo['id']])}">编辑</a>
|
||
|
<a class="del_group" href="javascript:;" data-id ="{$vo['id']}">删除</a>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</volist>
|
||
|
</empty>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div class="pagenation clearfix">
|
||
|
<a class="sch-btn" id="export_data" href="{:U('Export/siteadv',array(
|
||
|
'xlsname'=>'联盟站点_广告列表'
|
||
|
))}" >导出</a>
|
||
|
{$_page}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</block>
|
||
|
<block name="script">
|
||
|
<script type="text/javascript">
|
||
|
setValue('row','{:I("get.row",10)}');
|
||
|
|
||
|
//删除操作
|
||
|
$('.del_group').click(function(){
|
||
|
var val = $(this).attr("data-id");
|
||
|
var url = "{:U('del')}";
|
||
|
del_action(val,url);
|
||
|
});
|
||
|
|
||
|
</script>
|
||
|
</block>
|