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.

70 lines
2.3 KiB
HTML

5 years ago
<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>
5 years ago
</div>
</div>
5 years ago
</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>
5 years ago
<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>
5 years ago
</block>