content_customers.html 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. <#include "_layout.html"/>
  2. <#macro script_import>
  3. <script src="${CPATH}/counter?cid=${content.id!}"></script>
  4. </#macro>
  5. <#macro css>
  6. h3{
  7. margin: 0;
  8. padding:0;
  9. }
  10. .warp{
  11. width: 100%;
  12. margin-top: 72px;
  13. text-align: center;
  14. }
  15. .warp .content{
  16. margin: 0 auto;
  17. display: inline-block;
  18. width: 1190px;
  19. text-align: center;
  20. overflow: hidden;
  21. }
  22. .solution .section{
  23. margin-bottom: 0;
  24. display: flex;
  25. background: #fff;
  26. }
  27. .solution .section-1{
  28. background: #418eff;
  29. height: 240px;
  30. }
  31. .solution .section-1 .section-text{
  32. float: left;
  33. margin-top: 80px;
  34. width: 315px;
  35. font-size: 36px;
  36. font-weight: bold;
  37. text-align: left;
  38. color: #fff;
  39. }
  40. .solution .section-1 .section-text h3{
  41. font-size: 36px;
  42. }
  43. .solution .section-1 .section-text h3:nth-child(2){
  44. text-align: right;
  45. margin-top: 20px;
  46. }
  47. .solution .section-1 .dot{
  48. float: right;
  49. margin-top: 32px;
  50. }
  51. .section-2 .content{
  52. margin-bottom: 60px;
  53. overflow: hidden;
  54. }
  55. .sort-item ul {
  56. list-style: none;
  57. padding: 0;
  58. margin: 0;
  59. height: 68px;
  60. line-height: 68px;
  61. }
  62. .sort-item ul li {
  63. float: left;
  64. }
  65. .sort-item li a {
  66. padding: 0 8px 0 0;
  67. }
  68. .sort-item:after {
  69. content: '';
  70. display: table;
  71. clear: both;
  72. }
  73. .section-2 .content-left{
  74. float: left;
  75. width: 278px;
  76. border: 1px solid #dcdcdc;
  77. }
  78. .section-2 .content-left .sort-list{
  79. text-align: center;
  80. margin: 0 auto;
  81. line-height: 30px;
  82. font-size: 14px;
  83. }
  84. .section-2 .content-left p:first-child{
  85. margin-top: 0;
  86. }
  87. .section-2 .content-left p{
  88. margin: 10px 0;
  89. height: 30px;
  90. font-weight: bold;
  91. color: #323232;
  92. background: #f4f4f4;
  93. }
  94. .section-2 .content-left li{
  95. margin-left: 20px;
  96. list-style: none;
  97. text-align: left;
  98. height: 30px;
  99. line-height: 30px;
  100. }
  101. .section-2 li a{
  102. color: #5a5a5a;
  103. text-decoration: none;
  104. }
  105. .section-2 .content-right {
  106. float: right;
  107. width: 850px;
  108. text-align: left;
  109. }
  110. .content-right .content-toggle{
  111. /*float: left;*/
  112. overflow: hidden;
  113. }
  114. .content-right .content-toggle .p-toggle{
  115. color: #1e1e1e;
  116. float: left;
  117. }
  118. .content-right .content-toggle .p2-toggle{
  119. color: #1e1e1e;
  120. float: right;
  121. }
  122. .content-right>h1 {
  123. margin: 40px 0;
  124. font-size: 30px;
  125. color: #204da9;
  126. }
  127. .content-right>p {
  128. margin-top: 0;
  129. margin-bottom: 32px;
  130. font-size: 14px;
  131. color: #969696;
  132. }
  133. .content-right .content-toggle{
  134. display:inline-block;
  135. margin-top: 75px;
  136. }
  137. .content-right .content-toggle p{
  138. float: left;
  139. margin-left: 0px;
  140. text-align: left;
  141. }
  142. .content-right .content-toggle p.p2-toggle{
  143. float: right;
  144. }
  145. .content-right .content-toggle a{
  146. font-size: 14px;
  147. color: #1e1e1e;
  148. }
  149. .content-detail>p {
  150. text-indent: 2em;
  151. margin-top: 40px;
  152. }
  153. .content-detail {
  154. position: relative;
  155. color: #646464;
  156. }
  157. .content-detail ul {
  158. margin: 30px 0;
  159. }
  160. .content-detail div p {
  161. display: inline-block;
  162. position: absolute;
  163. bottom: -175%;
  164. }
  165. .content-detail div p a {
  166. text-decoration: none;
  167. color: #1e1e1e;
  168. }
  169. .content-detail div {
  170. margin: 50px 0 20px 0;
  171. }
  172. .section-2 .content-left li.active a{color: #lelele; font-weight: bold; cursor: pointer;}
  173. .section-2 .content-left li:hover a{text-decoration: underline; cursor: pointer;}
  174. </#macro>
  175. <head>
  176. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  177. <link rel="stylesheet" href="${CTPATH}/assets/css/customerDeMo.css" />
  178. </head>
  179. <@layout>
  180. <!-- content here -->
  181. <div class="warp solution" style="margin-top:0;">
  182. <div class="section section-1">
  183. <div class="content">
  184. <div class="section-text">
  185. <h3>让管理不再难</h3>
  186. <h3>令生意更简单</h3>
  187. </div>
  188. <div class="dot"><img src="${CTPATH}/images/cases/banner2.png" alt=""></div>
  189. </div>
  190. </div>
  191. <div class="section section-2">
  192. <div class="content">
  193. <div class="sort-item">
  194. <ul>
  195. <li><a href="#">当前位置:</a></li>
  196. <li><a href="${CPATH}/">首页</a>&gt;</li>
  197. <li><a href="${CPATH}/customerCase">企业案例</a>&gt;</li>
  198. <li><a href="#">${(content.getMetadataByKey("company_name"))!}(
  199. <@jp.taxonomys module="customers">
  200. <#list taxonomys as taxonomy>
  201. <#if taxonomy.type=="category">
  202. <@jp.contents module="customers" typeSlug="${taxonomy.title}">
  203. <#list contents as cont>
  204. <#if cont == content>
  205. ${taxonomy.title}
  206. </#if>
  207. </#list>
  208. </@jp.contents>
  209. </#if>
  210. </#list>
  211. </@jp.taxonomys>
  212. )</a></li>
  213. </ul>
  214. </div>
  215. <div class="content-left">
  216. <div class="sort-list">
  217. <@jp.taxonomys module="customers">
  218. <#list taxonomys as taxonomy>
  219. <#if taxonomy.type=="category">
  220. <P>${taxonomy.title}</P>
  221. <@jp.contents module="customers" typeSlug="${taxonomy.title}" orderBy="order_number desc">
  222. <ul class="pageNav">
  223. <#list contents as con>
  224. <li class="<#if con==content>active</#if>"><a href="${con.url}">${(con.getMetadataByKey("company_name"))!}</a></li>
  225. </#list>
  226. </ul>
  227. </@jp.contents>
  228. </#if>
  229. </#list>
  230. </@jp.taxonomys>
  231. </div>
  232. </div>
  233. <div class="content-right">
  234. <div class="content-detail">
  235. ${content.text!}
  236. </div>
  237. <div class="content-toggle">
  238. <p class="p-toggle">
  239. <@jp.previous>
  240. 上一篇:<a href="${previous.url!}">${(previous.getMetadataByKey("company_name"))!}</a>
  241. </@jp.previous>
  242. </p>
  243. <p class="p2-toggle">
  244. <@jp.next>
  245. 下一篇:<a href="${next.url!}">${(next.getMetadataByKey("company_name"))!}</a>
  246. </@jp.next>
  247. </p>
  248. </div>
  249. </div>
  250. </div>
  251. </div>
  252. </div>
  253. </@layout>
  254. <#macro script>
  255. $(function() {
  256. $(".sort-list li").click(function(){
  257. $(this).addClass("active").siblings().removeClass("active");
  258. })
  259. })
  260. </#macro>