| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857 |
- <html>
- <head>
- <meta charset="utf-8" />
- <title>{ms:global.name/}</title>
- <meta http-equiv="content-type" content="text/html" />
- <META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
- <meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no,width=device-width"/>
- <meta name="format-detection" content="telephone=no"/>
- <meta name="app-mobile-web-app-capable" content="yes"/>
- <meta name="app-mobile-web-app-status-bar-style" content="black-translucent"/>
- <meta name="keywords" content="{ms:global.keyword/}" />
- <meta name="description" content="{ms:global.descrip/}" />
- <script type="text/javascript" src="{ms:global.host/}/static/plugins/vue/2.6.9/vue.min.js"></script>
- <link rel="stylesheet" href="{ms:global.host/}/static/plugins/minireset/0.0.2/minireset.min.css" />
- <link rel="stylesheet" href="https://cdn.mingsoft.net/iconfont/iconfont.css" />
- <link rel="stylesheet" href="{ms:global.host/}/static/plugins/animate/4.1.0/animate.min.css">
- <script src="{ms:global.host/}/static/plugins/element-ui/2.12.0/index.js"></script>
- <link rel="stylesheet" href="{ms:global.host/}/static/plugins/element-ui/2.12.0/index.css" />
- <link rel="stylesheet" href="{ms:global.host/}/{ms:global.style/}/css/app.css" />
- <!--网络请求框架-->
- <script src="{ms:global.host/}/static/plugins/axios/0.18.0/axios.min.js"></script>
- <script src="{ms:global.host/}/static/plugins/qs/6.6.0/qs.min.js"></script>
- <script src="{ms:global.host/}/static/plugins/ms/1.0.0/ms.js"></script>
- <script src="{ms:global.host/}/static/plugins/ms/1.0.0/ms.http.js"></script>
- <script src="{ms:global.host/}/static/plugins/ms/1.0.0/ms.util.js"></script>
- <script>
- ms.base = "";
- </script>
- <style>
- [v-cloak]{
- display: none;
- }
- </style>
- </head>
- <body>
- <div id="app" v-cloak>
- <#include "header.htm"/>
- <div class="ms-content">
- <div class="ms-channel-path">
- <span class="ms-channel-path-label">
- 当前位置:
- </span>
- <a href="/" class="ms-channel-path-index">
- 首页
- </a>
- {ms:channel type="path"}
- <i class="iconfont icon-youjiantou"></i>
- <a href="{ms:global.url/}${field.typelink}" class="ms-channel-path-link">
- ${field.typetitle}
- </a>
- {/ms:channel}
- </div>
- <div class="detail">
- <div class="body">
- <a href="${global.url}${field.typelink}"
- class="type-title">
- ${field.typetitle}
- </a>
- </div> <!--新闻列表(一行)-start-->
- {ms:arclist size=15 ispaging=true}
- <div class="ms-news-one-line">
- <i class="iconfont icon-fangkuai ms-news-one-line-dot" ></i>
- <a href="${global.url}${field.link}"
- class="ms-news-one-line-link">
- ${field.title}
- </a>
- <span class="ms-news-one-line-date" >
- ${field.date?string("yyyy-MM-dd")}
- </span>
- </div>
- {/ms:arclist} <!--新闻列表(一行)-end-->
- <#assign pagerCount=3 />
- <#assign pageCount=page.total />
- <#assign currentPage=page.cur />
- <#assign halfPagerCount=(pagerCount-1)/2/>
- <#assign showPrevMore=false />
- <#assign showNextMore=false />
- <#assign arr=[] />
- <#--判断是否有翻页-->
- <#if pageCount gt pagerCount>
- <#if currentPage gt pagerCount - halfPagerCount>
- <#assign showPrevMore=true />
- </#if>
- <#if currentPage lt pageCount - halfPagerCount>
- <#assign showNextMore=true />
- </#if>
- </#if>
- <#--计算页码-->
- <#if showPrevMore&&!showNextMore>
- <#assign startPage=pageCount - (pagerCount - 2) />
- <#list startPage..pageCount-1 as x>
- <#assign arr=arr+[x] />
- </#list>
- <#elseif !showPrevMore && showNextMore>
- <#list 2..pagerCount as x>
- <#assign arr=arr+[x] />
- </#list>
- <#elseif showPrevMore && showNextMore>
- <#assign offset=(pagerCount / 2)?floor - 1 />
- <#list currentPage - offset..currentPage + offset as x>
- <#assign arr=arr+[x] />
- </#list>
- <#else>
- <#list 2..pageCount as x>
- <#if x lt pageCount>
- <#assign arr=arr+[x] />
- </#if>
- </#list>
- </#if>
- <div class="ms-page">
- <a href="{ms:global.url/}{ms:page.pre/}">
- <i class="iconfont icon-zuojiantou ms-page-pre"></i>
- </a>
- <#--第一页-->
- <#if pageCount gt 0>
- <a href="{ms:global.url/}{ms:page.index/}">
- <#if 1==currentPage>
- <span class="ms-page-no-sel">1</span>
- <#else>
- <span class="ms-page-no">1</span>
- </#if>
- </a>
- </#if>
- <#--翻页的省略号-->
- <#if showPrevMore>
- <span class="ms-page-dot">
- ...
- </span>
- </#if>
- <#--中间的页码-->
- <#list arr as x>
- <a href="{ms:global.url/}${field.categoryPath}/list-${x}.html">
- <#if x==currentPage>
- <span class="ms-page-no-sel">${x}</span>
- <#else>
- <span class="ms-page-no">${x}</span>
- </#if>
- </a>
- </#list>
- <#-- 最后一页-->
- <#if pageCount gt 1>
- <a href="{ms:global.url/}${field.categoryPath}/list-${pageCount}.html">
- <#if pageCount==currentPage>
- <span class="ms-page-no-sel">${pageCount}</span>
- <#else>
- <span class="ms-page-no">${pageCount}</span>
- </#if>
- </a>
- </#if>
- <a href="{ms:global.url/}{ms:page.next/}">
- <i class="iconfont icon-youjiantou ms-page-next"></i>
- </a>
- <#--span>
- 前往
- <input type="number" onchange="location.href='{ms:global.url/}${field.categoryPath}/'+((this.value<=1?'index':('list-'+(this.value>${pageCount}?${pageCount}:this.value)))+'.html')">
- 页
- </span-->
- </div>
- </div> </div> <!--返回顶部-start-->
- <div class="ms-right-fixed-top">
- <!--内容区域-start-->
- <div class="content">
- <i class="iconfont icon-shang" ></i>
- <span >
- 回到顶部
- </span>
- </div> <!--内容区域-end-->
- </div> <!--返回顶部-end-->
- <#include "footer.htm"/>
- </div>
- </body>
- </html>
- <script>
- var app = new Vue({
- el: '#app',
- watch:{
- },
- data: {
- },
- methods: {
- switchShow:function(arr){
- var that = this
- arr.forEach(function(x){
- let e = that.$el.querySelector("#key_"+x)
- if(e){
- e.style.display=e.style.display=='none'?'flex':'none'
- }
- })
- },
- },
- created(){
- }
- })
- </script>
- <style>
- body {
- background-color:#f5f5f5;
- box-sizing:border-box;
- font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Segoe UI", "Helvetica Neue", "PingFang SC", "Noto Sans", "Noto Sans CJK SC", "Microsoft YaHei", 微软雅黑, sans-serif;
- moz-box-sizing:border-box;
- webkit-box-sizing:border-box;
- }
- .ms-content
- {
- align-items:center;
- flex-direction:column;
- display:flex;
- padding-right:0px;
- box-sizing:border-box;
- justify-content:center;
- padding-bottom:0px;
- flex-wrap:nowrap;
- width:100%;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- margin-top:0px;
- }
- .ms-content .ms-channel-path
- {
- align-items:center;
- flex-direction:row;
- display:flex;
- padding-right:0px;
- box-sizing:border-box;
- margin-left:auto;
- margin-right:auto;
- padding-bottom:0px;
- flex-wrap:nowrap;
- width:1170px;
- margin-bottom:10px;
- padding-top:0px;
- padding-left:0px;
- margin-top:10px;
- height:30px;
- }
- .ms-content .ms-channel-path .ms-channel-path-label
- {
- flex-direction:row;
- word-wrap:break-word;
- display:inline-block;
- font-size:14PX;
- margin-bottom:0px;
- margin-top:0px;
- }
- .ms-content .ms-channel-path .ms-channel-path-index
- {
- cursor:pointer;
- color:#000;
- font-size:14PX;
- text-decoration:none;
- margin-bottom:0px;
- margin-top:0px;
- }
- .ms-content .ms-channel-path >i
- {
- margin-bottom:0px;
- margin-top:0px;
- }
- .ms-content .ms-channel-path .ms-channel-path-link
- {
- cursor:pointer;
- color:#000;
- font-size:14PX;
- text-decoration:none;
- margin-bottom:0px;
- margin-top:0px;
- }
- .ms-content .detail
- {
- background-color:#FFFFFF;
- align-items:flex-start;
- flex-direction:column;
- display:flex;
- padding-right:20px;
- box-sizing:border-box;
- margin-left:0px;
- min-height:800px;
- margin-right:0px;
- padding-bottom:20px;
- flex-wrap:nowrap;
- width:1170px;
- margin-bottom:10px;
- padding-top:20px;
- position:relative;
- padding-left:20px;
- margin-top:0px;
- }
- .ms-content .detail .body
- {
- align-items:center;
- flex-direction:row;
- display:flex;
- padding-right:0px;
- box-sizing:border-box;
- justify-content:flex-start;
- margin-left:0px;
- margin-right:0px;
- padding-bottom:10px;
- flex-wrap:nowrap;
- width:100%;
- margin-bottom:10px;
- padding-top:10px;
- padding-left:20px;
- margin-top:0px;
- }
- .ms-content .detail .body .type-title
- {
- cursor:pointer;
- padding-bottom:0px;
- color:#000;
- font-size:18PX;
- text-decoration:none;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- }
- .ms-content .detail .ms-news-one-line
- {
- align-items:center;
- flex-direction:row;
- display:flex;
- padding-right:0px;
- box-sizing:border-box;
- background-position:20px center;
- justify-content:flex-start;
- margin-left:0px;
- margin-right:0px;
- padding-bottom:10px;
- flex-wrap:nowrap;
- width:100%;
- margin-bottom:0px;
- padding-top:10px;
- padding-left:20px;
- background-repeat:no-repeat;
- background-position-x:20px;
- margin-top:0px;
- }
- .ms-content .detail .ms-news-one-line .ms-news-one-line-dot
- {
- padding-bottom:0px;
- padding-right:0px;
- font-size:12PX;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- }
- .ms-content .detail .ms-news-one-line .ms-news-one-line-link
- {
- cursor:pointer;
- color:#000;
- padding-right:0px;
- text-decoration:none;
- margin-left:0px;
- margin-right:0px;
- padding-bottom:0px;
- font-size:16PX;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- background-position-x:20px;
- }
- .ms-content .detail .ms-news-one-line .ms-news-one-line-date
- {
- margin-right:10px;
- padding-bottom:0px;
- color:#9C9C9C;
- flex-direction:row;
- word-wrap:break-word;
- display:inline-block;
- font-size:14px;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- margin-left:10px;
- }
- .ms-content .detail .ms-page
- {
- align-items:center;
- flex-direction:row;
- bottom:0px;
- display:flex;
- padding-right:0px;
- box-sizing:border-box;
- justify-content:center;
- margin-left:0px;
- padding-bottom:0px;
- flex-wrap:nowrap;
- left:0px;
- width:100%;
- margin-bottom:0px;
- padding-top:0px;
- position:absolute;
- padding-left:0px;
- margin-top:0px;
- height:40px;
- }
- .ms-content .detail .ms-page .ms-page-pre
- {
- cursor:pointer;
- padding-bottom:0px;
- color:#000000;
- padding-right:0px;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- margin-top:0px;
- margin-left:0px;
- }
- .ms-content .detail .ms-page .ms-page-pre:hover
- {
- color:#409EFF;
- }
- .ms-content .detail .ms-page .ms-page-no
- {
- cursor:pointer;
- color:#000000;
- text-align:center;
- flex-direction:row;
- word-wrap:break-word;
- display:inline-block;
- padding-right:0px;
- margin-left:0px;
- padding-bottom:0px;
- width:40px;
- font-size:16PX;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- margin-top:0px;
- }
- .ms-content .detail .ms-page .ms-page-no:hover
- {
- color:#409EFF;
- }
- .ms-content .detail .ms-page .ms-page-no-sel
- {
- color:#409EFF;
- text-align:center;
- flex-direction:row;
- word-wrap:break-word;
- display:inline-block;
- width:40px;
- font-size:16PX;
- margin-top:0px;
- margin-left:0px;
- }
- .ms-content .detail .ms-page .ms-page-dot
- {
- text-align:center;
- flex-direction:row;
- word-wrap:break-word;
- display:inline-block;
- width:40px;
- font-size:16PX;
- margin-top:0px;
- margin-left:0px;
- }
- .ms-content .detail .ms-page .ms-page-next
- {
- cursor:pointer;
- padding-bottom:0px;
- color:#000000;
- padding-right:0px;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- margin-top:0px;
- margin-left:0px;
- }
- .ms-right-fixed-top
- {
- margin:0 auto;
- align-items:center;
- flex-direction:row;
- display:flex;
- padding-right:0px;
- box-sizing:border-box;
- justify-content:center;
- margin-left:0px;
- padding-bottom:0px;
- flex-wrap:nowrap;
- width:1200px;
- margin-bottom:0px;
- position:relative;
- padding-top:0px;
- padding-left:0px;
- margin-top:0px;
- height:0px;
- }
- .ms-right-fixed-top >.content
- {
- align-items:center;
- flex-direction:column;
- display:flex;
- padding-right:0px;
- box-sizing:border-box;
- margin-left:600px;
- padding-bottom:0px;
- top:400px;
- flex-wrap:nowrap;
- left:50%;
- width:40px;
- position:fixed;
- padding-top:0px;
- padding-left:0px;
- z-index:1;
- }
- .ms-right-fixed-top >.content i
- {
- padding-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- padding-right:0px;
- margin-left:0px;
- }
- .ms-right-fixed-top >.content span
- {
- background-color:#909399;
- color:#FFFFFF;
- text-align:center;
- flex-direction:row;
- word-wrap:break-word;
- display:inline-block;
- padding-right:5px;
- margin-left:0px;
- padding-bottom:5px;
- width:50px;
- font-size:14px;
- padding-top:5px;
- padding-left:5px;
- height:40%;
- }
- @media (max-width: 768px){
- .ms-content
- {
- align-items:center;
- flex-direction:column;
- display:flex;
- padding-right:0px;
- box-sizing:border-box;
- justify-content:center;
- padding-bottom:0px;
- flex-wrap:nowrap;
- width:100%;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- margin-top:0px;
- height:unset;
- }
- .ms-content .ms-channel-path
- {
- margin-right:auto;
- align-items:center;
- flex-wrap:nowrap;
- flex-direction:row;
- display:flex;
- width:100%;
- margin-bottom:10px;
- box-sizing:border-box;
- margin-top:10px;
- height:30px;
- margin-left:auto;
- }
- .ms-content .ms-channel-path .ms-channel-path-label
- {
- font-size:14PX;
- flex-direction:row;
- word-wrap:break-word;
- display:inline-block;
- }
- .ms-content .ms-channel-path .ms-channel-path-index
- {
- cursor:pointer;
- color:#000;
- font-size:14PX;
- text-decoration:none;
- margin-bottom:0px;
- margin-top:0px;
- }
- .ms-content .ms-channel-path .ms-channel-path-link
- {
- cursor:pointer;
- color:#000;
- font-size:14PX;
- text-decoration:none;
- margin-bottom:0px;
- margin-top:0px;
- }
- .ms-content .detail
- {
- background-color:#FFFFFF;
- align-items:flex-start;
- flex-direction:column;
- display:flex;
- padding-right:8px;
- box-sizing:border-box;
- margin-left:0px;
- min-height:800px;
- margin-right:0px;
- padding-bottom:8px;
- flex-wrap:nowrap;
- width:100%;
- margin-bottom:10px;
- padding-top:8px;
- position:relative;
- padding-left:8px;
- margin-top:0px;
- }
- .ms-content .detail .body
- {
- align-items:center;
- flex-direction:row;
- display:flex;
- padding-right:0px;
- box-sizing:border-box;
- justify-content:flex-start;
- padding-bottom:10px;
- flex-wrap:nowrap;
- width:100%;
- margin-bottom:10px;
- padding-top:10px;
- padding-left:10px;
- margin-top:0px;
- }
- .ms-content .detail .body .type-title
- {
- cursor:pointer;
- padding-bottom:0px;
- color:#000;
- font-size:18PX;
- text-decoration:none;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- }
- .ms-content .detail .ms-news-one-line
- {
- align-items:center;
- flex-direction:row;
- display:flex;
- padding-right:0px;
- box-sizing:border-box;
- justify-content:space-between;
- margin-left:0px;
- margin-right:0px;
- padding-bottom:0px;
- flex-wrap:nowrap;
- width:100%;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- background-repeat:no-repeat;
- background-position-x:10px;
- margin-top:0px;
- }
- .ms-content .detail .ms-news-one-line .ms-news-one-line-dot
- {
- padding-bottom:0px;
- padding-right:0px;
- font-size:12PX;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- }
- .ms-content .detail .ms-news-one-line .ms-news-one-line-link
- {
- cursor:pointer;
- white-space:nowrap;
- color:#000;
- padding-right:0px;
- text-decoration:none;
- margin-left:0px;
- margin-right:0px;
- padding-bottom:0px;
- overflow:hidden;
- width:70%;
- font-size:16PX;
- margin-bottom:0px;
- padding-top:0px;
- text-overflow:ellipsis;
- padding-left:10px;
- background-position-x:20px;
- }
- .ms-content .detail .ms-news-one-line .ms-news-one-line-date
- {
- color:#9C9C9C;
- flex-direction:row;
- word-wrap:break-word;
- display:inline-block;
- padding-right:0px;
- margin-left:10px;
- margin-right:10px;
- padding-bottom:0px;
- font-size:14px;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- }
- .ms-content .detail .ms-page
- {
- align-items:center;
- flex-direction:row;
- bottom:0px;
- display:flex;
- padding-right:0px;
- box-sizing:border-box;
- justify-content:center;
- margin-left:0px;
- padding-bottom:0px;
- flex-wrap:nowrap;
- left:0px;
- width:100%;
- margin-bottom:0px;
- padding-top:0px;
- position:absolute;
- padding-left:0px;
- margin-top:0px;
- height:40px;
- }
- .ms-content .detail .ms-page .ms-page-pre
- {
- cursor:pointer;
- padding-bottom:0px;
- color:#000000;
- padding-right:0px;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- margin-top:0px;
- margin-left:0px;
- }
- .ms-content .detail .ms-page .ms-page-no
- {
- cursor:pointer;
- color:#000000;
- text-align:center;
- flex-direction:row;
- word-wrap:break-word;
- display:inline-block;
- padding-right:0px;
- margin-left:0px;
- padding-bottom:0px;
- width:40px;
- font-size:16PX;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- margin-top:0px;
- }
- .ms-content .detail .ms-page .ms-page-no-sel
- {
- color:#409EFF;
- text-align:center;
- flex-direction:row;
- word-wrap:break-word;
- display:inline-block;
- width:40px;
- font-size:16PX;
- margin-top:0px;
- margin-left:0px;
- }
- .ms-content .detail .ms-page .ms-page-dot
- {
- text-align:center;
- flex-direction:row;
- word-wrap:break-word;
- display:inline-block;
- width:40px;
- font-size:16PX;
- margin-top:0px;
- margin-left:0px;
- }
- .ms-content .detail .ms-page .ms-page-next
- {
- cursor:pointer;
- padding-bottom:0px;
- color:#000000;
- padding-right:0px;
- margin-bottom:0px;
- padding-top:0px;
- padding-left:0px;
- margin-top:0px;
- margin-left:0px;
- }
- .ms-right-fixed-top
- {
- margin:0 auto;
- align-items:center;
- flex-direction:row;
- display:flex;
- box-sizing:border-box;
- justify-content:center;
- margin-left:0px;
- flex-wrap:nowrap;
- width:100%;
- margin-bottom:0px;
- position:relative;
- margin-top:0px;
- height:0px;
- }
- .ms-right-fixed-top >.content
- {
- align-items:center;
- flex-direction:column;
- display:flex;
- padding-right:0px;
- box-sizing:border-box;
- margin-left:600px;
- padding-bottom:0px;
- top:400px;
- flex-wrap:nowrap;
- left:50%;
- width:40px;
- position:fixed;
- padding-top:0px;
- padding-left:0px;
- z-index:1;
- }
- .ms-right-fixed-top >.content i
- {
- margin-left:0px;
- }
- .ms-right-fixed-top >.content span
- {
- background-color:#909399;
- color:#FFFFFF;
- text-align:center;
- flex-direction:row;
- word-wrap:break-word;
- display:inline-block;
- padding-right:5px;
- margin-left:0px;
- padding-bottom:5px;
- width:50px;
- font-size:14px;
- padding-top:5px;
- padding-left:5px;
- height:40%;
- }
- }</style>
|