1<#-- 公共模板,公共变量 -->
2 <#include "${templatesPath}/26204" />
3<style>
4 .zhezhao{
5 width:50px;
6 height:25px;
7 position:relative;
8 left: 64px;
9 top: -25px;
10 }
11</style>
12<link rel="stylesheet" href="${themeDisplay.getPathThemeRoot()}/css/Honor.css">
13
14
15<main>
16 <div class="topContainer" onclick="handleToTop()"></div>
17 <!-- 顶部大图 -->
18 <div class="header-pic">
19 <img src="${themeDisplay.getPathThemeRoot()}/images/honor/header.png" alt="">
20 </div>
21 <div class="honor-container section clearfix">
22 <#-- 获取关于我们子栏目 -->
23 <#assign currentFolderId = folderId ! g_folderId_gywm>
24 <#assign currentFolder = hirisunArticleUtil.getFolder(currentFolderId)!'/'>
25 <#if currentFolder = "">
26 <h3>栏目ID参数不正确!</h3>
27 <#else>
28 <#-- 当前文件夹对应的一级目录,用于生成左侧菜单 -->
29 <#assign matchedFolder = hirisunArticleUtil.getMatchedFolder(currentFolder)>
30 <#assign subFolderList = hirisunArticleUtil.getFolders(scopeGroupId, matchedFolder.folderId)>
31
32 <#include "${templatesPath}/32601" />
33 </#if>
34 <div class="honor section-right">
35 <h3 class="content-title wow bounceInRight">
36 <img class="showMenus-mobile" src="static/picture/menu.png" alt="" style="width:40px;height:40px;float: left;margin: 10px auto;">
37 金年会资质荣誉
38 <small class="hidden-xs hidden-sm"><img src="${themeDisplay.getPathThemeRoot()}/images/icon/house.png" alt="">
39 <a href="${baseUrl}/index.html">首页</a> >
40 <a href="${gywm}">${matchedFolder.name}</a> > 金年会资质荣誉</small>
41 </h3>
42 <div class="honor-content section-right-conn clearfix wow fadeInUp">
43 <div class="license">
44 <img src="${themeDisplay.getPathThemeRoot()}/images/aboutus/license1.png">
45 <img src="${themeDisplay.getPathThemeRoot()}/images/aboutus/license2.png">
46 </div>
47 <div class="syFocusThumb">
48 <#assign folderList = g_folderId_wmdzzry >
49
50 <div id="paginate-syFocusThumb" class="pagination">
51 <i id="prev" class="prev" title="上一年"></i>
52 <div class="thumbWrap">
53 <div class="holder">
54 <#assign n = 0>
55 <#list folderList?sort_by("folderId") as folder>
56 <#if folder_index = 0>
57 <#assign n = n + 1>
58 <i class="toc tran300 selected" rel="${n}" style="float: left;">
59 <a href="#">${folder.name}</a>
60 <b class="cir1 tran300"></b>
61 <b class="cir2 tran300"></b>
62 </i>
63 <#else>
64 <i class="toc tran300" rel="${n}" style="float: left;">
65 <a href="#">${folder.name}</a>
66 <b class="cir1 tran300"></b>
67 <b class="cir2 tran300"></b>
68 </i>
69 </#if>
70 </#list>
71 </div>
72 </div>
73 <i id="next" class="next" title="下一年"></i>
74 </div>
75 <div id="syFocusThumb" class="sliderwrapper clearfix">
76 <#list folderList?sort_by("folderId") as folder>
77 <#assign articleList = hirisunArticleUtil.getArticles(scopeGroupId, folder.folderId, 0, 20, "Sortnumber", "desc", false) >
78 <#if folder_index = 0>
79 <div class="contentdiv detail clearfix" year="${folder.name}"
80 style="display: block; overflow: hidden; z-index: 1; visibility: visible;">
81 <div class="wrap detail-container clearfix">
82 <div class="detail-left">
83 <#list articleList as article>
84 <#if article_index = 0>
85 <#assign img = hirisunPortletUtil.getValueFromXML(article.content,"dynamic-element[@name='img']")>
86 <img class="${folder.name}" id="img" src="${img}" style="display: block;">
87 </#if>
88 </#list>
89 </div>
90 <div id="${folder.name}" class="detail-right">
91 <#assign length1 = (articleList?size / 6)?ceiling>
92 <#assign num1 = -1>
93 <#assign num2 = 5>
94 <#list 1..length1 as le2>
95 <ul >
96 <#list articleList as article>
97 <#if article_index gt num1 && article_index lte num2>
98 <#--标题-->
99 <#assign title = article.titleCurrentValue>
100 <li class="active-item"><a href="${detail_wmdzzry_URL}/v/${article.articleId}/">
101
102${title}</a>
103 </li>
104 </#if>
105 </#list>
106 <#assign num1 = num2>
107 <#assign num2 = num2 + 6>
108 </ul>
109 </#list>
110 <#if articleList?size gt 6>
111 <div class="detail-pagination">
112 <span class="prep-page"><img src="${themeDisplay.getPathThemeRoot()}/images/icon/preP.png"
113
114></span>
115 <span class="next-page"><img src="${themeDisplay.getPathThemeRoot()}/images/icon/nextP.png"
116
117></span> <div class='zhezhao'></div>
118 </div>
119 </#if>
120 </div>
121 </div>
122 </div>
123 <#else>
124 <div class="contentdiv detail clearfix" year="${folder.name}"
125 style="display: none; overflow: hidden;">
126 <div class="wrap detail-container clearfix">
127 <div class="detail-left">
128 <#list articleList as article>
129 <#if article_index = 0>
130 <#assign img = hirisunPortletUtil.getValueFromXML(article.content,"dynamic-element[@name='img']")>
131 <img class="${folder.name}" id="img" src="${img}" >
132 </#if>
133 </#list>
134 </div>
135 <div id="${folder.name}" class="detail-right">
136 <#assign length1 = (articleList?size / 6)?ceiling>
137 <#assign num1 = -1>
138 <#assign num2 = 5>
139 <#list 1..length1 as le2>
140 <ul >
141 <#list articleList as article>
142
143 <#if article_index gt num1 && article_index lte num2>
144 <#--标题-->
145 <#assign title = article.titleCurrentValue>
146 <li class="active-item"><a href="${detail_wmdzzry_URL}/v/${article.articleId}/">
147
148${title}</a>
149 </li>
150 </#if>
151 </#list>
152 <#assign num1 = num2>
153 <#assign num2 = num2 + 6>
154 </ul>
155 </#list>
156 <#if articleList?size gt 6>
157 <div class="detail-pagination">
158 <span class="prep-page"><img src="${themeDisplay.getPathThemeRoot()}/images/icon/preP.png"
159
160></span>
161 <span class="next-page"><img src="${themeDisplay.getPathThemeRoot()}/images/icon/nextP.png"
162
163></span> <div class='zhezhao'></div>
164 </div>
165 </#if>
166 </div>
167 </div>
168 </div>
169 </#if>
170 </#list>
171 </div>
172 </div>
173 </div>
174 </div>
175 </div>
176</main>
177<#-- 底部模板 -->
178<#include "${templatesPath}/64807" />
179<script src="${themeDisplay.getPathThemeRoot()}/js/lib/jquery.min.js"></script>
180<script src="${themeDisplay.getPathThemeRoot()}/js/lib/develop.js"></script>
181<script src="${themeDisplay.getPathThemeRoot()}/js/Honor.js"></script>
182<#include "${templatesPath}/95691" />
183<script>
184 $('.holder').on('click', 'i', function () {
185 var year= $(this).children('a').text()
186 var xzid='#'+year
187
188 var len=$(xzid).children('ul').children('li').length
189 console.log(xzid,len)
190 console.log(typeof(len))
191 if(len <= 6){
192 console.log('ture')
193 $('.zhezhao').css('display','block')
194 }else{
195 $('.zhezhao').css('display','none')
196 }
197 // console.log($('.detail-right').children("ul").children('li').length)
198 })
199</script>