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.

47 lines
2.3 KiB
HTML

2 years ago
<extend name="Public/base" />
<block name="head" >
<link href="__CSS__/affiche.css" rel="stylesheet">
</block>
<block name="body" >
<div class="main clearfix">
<div class="affiche_banner">
<div class="innerwrap clearfix">
<div class="img clearfix">
<img src="__IMG__/affiche.png">
<h2 class="title">NEWS</h2>
<h5 class="column1">公告</h5>
<h5 class="column2">通知</h5>
</div>
<div class="affiche_nav jsan clearfix">
<a class="<eq name='Think.const.ACTION_NAME' value='index'>active</eq>" href="{:U('Notice/index')}" ><i class="iconfont icon-sdk"></i><span>全部</span></a>
<a class="<eq name='Think.const.ACTION_NAME' value='notice'>active</eq>" href="{:U('Notice/notice')}" ><i class="iconfont icon-voice"></i><span>公告</span></a>
<a class="<eq name='Think.const.ACTION_NAME' value='inform'>active</eq>" href="{:U('Notice/inform')}" ><i class="iconfont icon-bell"></i><span>通知</span></a>
</div>
</div>
</div>
<div class="affiche clearfix">
<div class="innerwrap">
<div class="affichelistwrap">
<div class="affichelist tab-pane fade active in" id="all">
<ul>
<volist name="data" id="vo">
<li><a href="{:U('detail',['id'=>$vo['id']])}"><span class="mark1">【{$vo['category_id'] == '69' ? '公告' : '通知'}】</span><span class="title">{$vo.title}</span><span class="time">{:time_format($vo['create_time'])}</span></a></li>
</volist>
</ul>
<div class="pagination_wrap">
{$_page}
</div>
</div>
</div>
</div>
</div>
</div>
<script>
$(function() {
$('.jsan a').click(function(){
$('.jsan a').removeClass('active');
$(this).addClass('active');
});
});
</script>
</block>