|
|
|
|
<extend name="Public/base3" />
|
|
|
|
|
<block name="body" >
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/news.css">
|
|
|
|
|
|
|
|
|
|
<!----中间---->
|
|
|
|
|
<div class="g-main">
|
|
|
|
|
<div class="news_list" style="margin-left: 17%;">
|
|
|
|
|
<div class="left_news">
|
|
|
|
|
<div class="text">
|
|
|
|
|
<div class="text_top">
|
|
|
|
|
<h3>{$docu.title}</h3>
|
|
|
|
|
<p>发布时间:{:date('Y-m-d',$docu['update_time'])}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 文章内容 -->
|
|
|
|
|
{$article}
|
|
|
|
|
<!-- 文章内容 -->
|
|
|
|
|
<div class="article_next">
|
|
|
|
|
|
|
|
|
|
<if condition="$data neq ''">
|
|
|
|
|
<ul class="prev_next">
|
|
|
|
|
<li><if condition="$data['datatype'] eq 1">下一篇:<else/>上一篇:</if><a href="{:U('Article/detail',array('id'=>$data['id']))}">{$data.title}</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</if>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!----中间---->
|
|
|
|
|
<script type="text/javascript" src="__JS__/jquery-1.11.2.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="__JS__/jquery.SuperSlide.2.1.1.js"></script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//添加收藏夹
|
|
|
|
|
function addBookmark(url,title){
|
|
|
|
|
url = url || window.location.href;;
|
|
|
|
|
title = title || document.title;
|
|
|
|
|
if (window.sidebar) {
|
|
|
|
|
window.sidebar.addPanel(title, url,"");
|
|
|
|
|
} else if( document.all ) {
|
|
|
|
|
window.external.AddFavorite( url, title);
|
|
|
|
|
} else {
|
|
|
|
|
alert('加入收藏失败,请使用 Ctrl+D 进行添加');
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
$(".collect").click(function(){addBookmark();})
|
|
|
|
|
$(function(){
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
jQuery(".sideMenu").slide({
|
|
|
|
|
titCell:"h3", //鼠标触发对象
|
|
|
|
|
targetCell:"ul", //与titCell一一对应,第n个titCell控制第n个targetCell的显示隐藏
|
|
|
|
|
effect:"slideDown", //targetCell下拉效果
|
|
|
|
|
delayTime:200 , //效果时间
|
|
|
|
|
triggerTime:150, //鼠标延迟触发时间(默认150)
|
|
|
|
|
defaultPlay:true,//默认是否执行效果(默认true)
|
|
|
|
|
returnDefault:false //鼠标从.sideMen移走后返回默认状态(默认false)
|
|
|
|
|
});
|
|
|
|
|
},500);
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
</block>
|