103 lines
4.6 KiB
HTML
103 lines
4.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="renderer" content="webkit">
|
|
<title>若依系统首页</title>
|
|
<!-- 避免IE使用兼容模式 -->
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<link href="../../static/portal/css/swiper.min.css" th:href="@{/portal/css/swiper.min.css}" rel="stylesheet" />
|
|
<link href="../../static/portal/css/style.css" th:href="@{/portal/css/style.css}" rel="stylesheet"/>
|
|
<link href="../../static/portal/css/index.css" th:href="@{/portal/css/index.css}" rel="stylesheet"/>
|
|
<link href="../../static/portal/css/text.css" th:href="@{/portal/css/text.css}" rel="stylesheet" />
|
|
<link href="../../static/portal/css/_sitegray_d.css" th:href="@{/portal/css/_sitegray_d.css}" rel="stylesheet" />
|
|
<!-- <link href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:100,300,400,500,700,900" rel="stylesheet" >-->
|
|
|
|
<script src="static/portal/js/jquer3y6.min.js" th:src="@{/portal/js/jquer3y6.min.js}"></script>
|
|
<!-- [if lte IE 9]>
|
|
<script src="../../static/portal/js/jquery_ie8.js" th:src="@{/portal/js/jquery_ie8.js}"></script>
|
|
<![endif] -->
|
|
<!-- <link rel="stylesheet" type="text/css" href="static/css/swiper.css" /> -->
|
|
<script src="../../static/portal/js/_sitegray.js" th:src="@{/portal/js/_sitegray.js}"></script>
|
|
<script src="../../static/portal/js/flexible.js" th:src="@{/portal/js/flexible.js}"></script>
|
|
<script src="../../static/portal/js/detectZoom.js" th:src="@{/portal/js/detectZoom.js}"></script>
|
|
<script src="../../static/portal/js/counter.js" th:src="@{/portal/js/counter.js}"></script>
|
|
</head>
|
|
<body>
|
|
<div class="swiper-container">
|
|
<div class="main-wrapper">
|
|
<div class="full_width homea">
|
|
<div class="container">
|
|
<th:block th:include="portal/headerAndFooter :: header" />
|
|
</div>
|
|
<div class="listacon portal_list">
|
|
<div class="listaright">
|
|
<div class="con">
|
|
<script src="../../static/portal/js/centercutimg.js" th:src="@{/portal/js/centercutimg.js}"></script>
|
|
<script src="../../static/portal/js/ajax.js" th:src="@{/portal/js/ajax.js}"></script>
|
|
|
|
<ul class="dataSource" style="min-height:600px">
|
|
<li class="clearfix" th:each="item : ${list}">
|
|
<a th:href="${item.type=='2'}?${item.linkUrl}:'/portal/details?id='+${item.id}" target="_blank" th:title="${item.title}" class="clearfix">
|
|
<div class="left txt">
|
|
<div class="fnt_22 title">[[${item.title}]]</div>
|
|
<div class="des">[[${item.abstracts}]]</div>
|
|
</div>
|
|
<div class="right time">
|
|
<div class="ta">[[${#dates.format(item.publishTime, 'YYYY-MM-dd')}]]</div>
|
|
<div>发布时间</div>
|
|
</div>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<th:block th:include="portal/headerAndFooter :: footer" />
|
|
</div>
|
|
|
|
<th:block th:include="portal/headerAndFooter :: search" />
|
|
|
|
<script src="../../static/js/public.js" th:src="@{/portal/js/public.js}"></script>
|
|
<script th:src="@{/portal/js/page.js}"></script>
|
|
<script th:inline="javascript">
|
|
|
|
|
|
//if($(window).width()<1024){
|
|
//判断手机横竖屏状态:
|
|
if (window.orientation == 180 || window.orientation == 0) {
|
|
//alert("竖屏状态!")
|
|
$(".stips").hide();
|
|
}
|
|
if (window.orientation == 90 || window.orientation == -90) {
|
|
//alert("横屏状态!")
|
|
$(".stips").css({
|
|
display: "flex"
|
|
});
|
|
}
|
|
|
|
function hengshuping() {
|
|
if (window.orientation == 180 || window.orientation == 0) {
|
|
//alert("竖屏状态!")
|
|
$(".stips").hide();
|
|
}
|
|
if (window.orientation == 90 || window.orientation == -90) {
|
|
//alert("横屏状态!")
|
|
$(".stips").css({
|
|
display: "flex"
|
|
});
|
|
}
|
|
}
|
|
//}
|
|
window.addEventListener(
|
|
"onorientationchange" in window ? "orientationchange" : "resize",
|
|
hengshuping,
|
|
false
|
|
);
|
|
</script>
|
|
</body>
|
|
</html>
|