主题 : 分页 |
级别: 论坛管理员
|
11# 发表于:2019-04-16 09:30:29 IP:117.152.*.*
|
||||
---|---|---|---|---|---|
级别: 论坛管理员
|
13# 发表于:2019-04-16 09:34:11 IP:117.152.*.*
您好 具体的写法需要您研究下 我这边只能给您个建议 您可以通过获取分页内容的下标之类的值来进行判断
|
||
---|---|---|---|
级别: 贡士
|
17# 发表于:2019-04-16 10:11:34 IP:222.245.*.*
回复第16楼
[@cms_content_page count='8' orderBy='2' channelId='113' channelOption='1'] [#list tag_pagination.list as a] <div class="product-wrapper"> [#if "${a_index+1}"="1" || "${a_index+1}"="2" || "${a_index+1}"="4" || "${a_index+1}"="5"] <div class="col-xs-8 col-md-8 col-lg-8 product-list-left"> <div class="col-xs-6 col-md-6 col-lg-6 product-list product"> <img src="${a.attr.listImage!}" alt=""> <div class="product-list-title"> ${a.title} <img style="float: right;margin-right: 31px;margin-top: 5px;display: none" src="/${res}/images/jiantouhong.png" alt=""> </div> </div> </div> [#ifelse "${a_index+1}"="5" ] <div class="col-xs-4 col-md-4 col-lg-4 product-list-right product"> <img src="${a.attr.listImage!}" alt=""> <div class="product-list-title"> ${a.title} <img style="float: right;margin-right: 31px;margin-top: 5px;display: none" src="/${res}/images/jiantouhong.png" alt=""> </div> </div> [/#if] <div class="clear" style="clear: both"></div> </div> [/#list] 你好,我这样判断下标 报错服务请求发生了错误 |
||
---|---|---|---|