hlw-cqass-web/template/通用列表-无左侧/2007160/2007160.html

114 lines
5.0 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<trs_template tempname="meta通用概览" />
<title>
<trs_channel FIELD="chnldesc" id="owner" autolink="false"></trs_channel>_<trs_website field="sitedesc">
</trs_website>
</title>
<!--站点类meta结束-->
<hlx-template component-type="column" component-query-option="{}" component-variable="column"></hlx-template>
<!-- 分页 -->
<hlx-template component-type="selfPosition" component-query-option="{'showMedium':'PC'}"
component-variable="selfPosition"></hlx-template>
<!-- 数据列表 -->
<hlx-template component-type="newsPageTotal"
component-query-option="{'columnIds':[],'start':0,'page':20,'count':20,'showMedium':'PC'}"
component-variable="newsList"></hlx-template>
</head>
<body>
<!-- 头部 开始 -->
<!--#include virtual="/web/column/col1916114.html"-->
<!-- 头部 结束 -->
<link rel="stylesheet" type="text/css" href="./2007160/lb/lb.css" />
<!-- 主体 开始 -->
<main>
<div class="centerWidth">
<div class="lb-box">
<div class="lb-box-r">
<div class="lb-con">
<div class="lb-con-tit">
<div class="lb-con-tit-l">
<img src="./2007160/lb/docctitarr1.png" alt="" srcset="">
<p>[(${column.name})]</p>
</div>
<ul class="lb-con-tit-r">
<li>
<img src="./2007158/common/docctitarr2.png" alt="" srcset="">
<span>您的位置:</span>
</li>
<li><a href="/">首页</a></li>
<th:block th:each="item: ${selfPosition}">
-
<a th:href="${item.urlPc}" th:title="${item.name}">[(${item.name})]</a>
</th:block>
</ul>
</div>
<ul class="lb-con-list">
<li class="lb-con-list-item" th:each="news: ${newsList.list}">
<a th:href="${news.article.pcUrl}" target="_blank"
th:title="${news.listTitle}">[(${news.listTitle})]</a>
<span>[(${#strings.substring(news.pubTime,0,10)})]</span>
</li>
</ul>
<th:block
th:if="${newsList.pageData != null and newsList.pageData.pages != null and newsList.pageData.pages > 1}">
<div class="pages" id="page">
<ul>
<li th:if="${newsList.pageData.current != 1}">
<a th:href="${newsList.pageData.href[0]}">上一页</a>
</li>
<li th:if="${newsList.pageData.current} ==1">
<a th:class="'active'" th:href="${newsList.pageData.href[0]}">1</a>
</li>
<li th:each="href : ${newsList.pageData.href}">
<th:block th:if="${newsList.pageData.current} ==1">
<a th:if="${hrefStat.index!=0 && hrefStat.count != hrefStat.size}"
th:href="${href}">[(${hrefStat.count})]</a>
</th:block>
<th:block
th:if="${newsList.pageData.current} !='1' and ${newsList.pageData.pages != newsList.pageData.current}">
<a th:if="${hrefStat.index!=0 && hrefStat.count != hrefStat.size && hrefStat.index == newsList.pageData.current}"
th:class="'active'" th:href="${href}">[(${hrefStat.index})]</a>
<a th:if="${hrefStat.index!=0 && hrefStat.count != hrefStat.size && hrefStat.index != newsList.pageData.current}"
th:href="${href}">[(${hrefStat.index})]</a>
</th:block>
<th:block th:if="${newsList.pageData.pages == newsList.pageData.current}">
<a th:if="${hrefStat.index!=0 && hrefStat.count != hrefStat.size}"
th:href="${href}">[(${hrefStat.index})]</a>
</th:block>
</li>
<li th:if="${newsList.pageData.pages == newsList.pageData.current}">
<a th:class="'active'"
th:href="${newsList.pageData.href[__${#lists.size(newsList.pageData.href)}__-1]}">[(${newsList.pageData.current})]</a>
</li>
<li th:if="${newsList.pageData.pages != newsList.pageData.current}">
<a th:href="${newsList.pageData.href[__${#lists.size(newsList.pageData.href)}__-1 ]}">下一页</a>
</li>
</ul>
</div>
</th:block>
</div>
</div>
</div>
</div>
</main>
<!-- 主体 结束 -->
<!-- 底部 开始 -->
<!--#include virtual="/web/column/col1916115.html"-->
<!-- 底部 结束 -->
</body>
</html>