主题 : 分页地址BUG修复之后,第二页提示页面不存在 |
级别: 童生
![]() |
1# 发表于:2017-03-28 15:21:12 IP:221.178.*.*
|
||||
---|---|---|---|---|---|
级别: 童生
![]() |
7# 发表于:2017-03-28 15:38:51 IP:221.178.*.*
回复第6楼
<div class="main container clearfix"> <section class="tssj"> <p>当前位置:${channel.title!channel.name}</p> <!--<div class="tssjNav"></div>--> [@cms_content_page count='6' orderBy='4' titLen='18' channelId=channel.id channelOption='1' dateFormat='yyyy-MM-dd HH:mm:ss'] <div class="tssjList clearfix"> [#list tag_pagination.list as a] <div class="tssjItem" style="margin-left:0;width:150px;height:240px;"> <div class="biankuang biankuang_1"></div> <div class="biankuang biankuang_2"></div> <div class="biankuang biankuang_3"></div> <div class="biankuang biankuang_4"></div> <a class="tssjImg" style="width:150px;height:200px;" href="${a.url}"><img src="${a.typeImg!site.defImg}"></a> <h1><a href="${a.url}" style="font-size:15px;display:block;width:150px;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;">[@text_cut s=a.title len=titLen append='...'/]</a></h1> <p style="margin-top:6px;">${a.date?string(dateFormat)}</p> </div> [/#list] <script type="text/javascript"> //边框效果--移入 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); } ); </script> </div> [#include "../include/page.html"/] [/@cms_content_page] </section> </div> |
||
---|---|---|---|
1
共1页