3# 发表于:2017-05-27 16:46:46 IP:182.217.*.*
[@cms_content_page count='6' typeId='2' orderBy='4' titLen='18' channelId=channel.id channelOption='1' dateFormat='yyyy-MM-dd HH:mm:ss']
[#list tag_pagination.list as a]
[@text_cut s=a.title len=titLen append='...'/]
${a.date?string(dateFormat)}
[/#list]
//边框效果--移入
function biankuang(obj){
$(obj).find('.biankuang_1').stop(true).animate({
height:'310px'
},300)
$(obj).find('.biankuang_2').stop(true).delay(300).animate({
width:'370px'
},300)
$(obj).find('.biankuang_3').stop(true).animate({
height:'310px'
},300)
$(obj).find('.biankuang_4').stop(true).delay(300).animate({
width:'370px'
},300)
}
//边框效果--移出
function biankuang1(obj){
$(obj).find('.biankuang_1').stop(true).delay(100).animate({
height:'0px'
},100)
$(obj).find('.biankuang_2').stop(true).animate({
width:'0px'
},100)
$(obj).find('.biankuang_3').stop(true).delay(100).animate({
height:'0px'
},100)
$(obj).find('.biankuang_4').stop(true).animate({
width:'0px'
},100)
}
//触发
$('.tssjItem').hover(
function () {
var obj = $(this);
biankuang(obj);
},
function () {
var obj = $(this);
biankuang1(obj);
}
);
[#include "../include/page.html"/]
[/@cms_content_page]