list_version.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <!-- 禁止百度转码 -->
  8. <meta http-equiv="Cache-Control" content="no-siteapp">
  9. <!-- uc强制竖屏 -->
  10. <meta name="screen-orientation" content="portrait">
  11. <!-- QQ强制竖屏 -->
  12. <meta name="x5-orientation" content="portrait">
  13. <title>{dreamer-cms:category field="typenamecn" /}_{dreamer-cms:global name="title"/}</title>
  14. <meta name="Keywords" content="{dreamer-cms:global name="keywords"/}" />
  15. <meta name="Description" content="{dreamer-cms:global name="describe"/}" />
  16. <link rel="stylesheet" href="{dreamer-cms:template /}css/iconfont/iconfont.css">
  17. <link rel="stylesheet" href="{dreamer-cms:template /}css/reset.css">
  18. <link rel="stylesheet" href="{dreamer-cms:template /}css/animate.css">
  19. <link rel="stylesheet" href="{dreamer-cms:template /}css/style.css">
  20. <link rel="stylesheet" href="{dreamer-cms:template /}scripts/theme/default/layer.css">
  21. <script src="{dreamer-cms:template /}scripts/jquery-1.11.3.min.js"></script>
  22. <script src="{dreamer-cms:template /}scripts/jquery.SuperSlide.2.1.1.js"></script>
  23. <script src="{dreamer-cms:template /}scripts/js.js"></script>
  24. <script src="{dreamer-cms:template /}scripts/layer.js"></script>
  25. </head>
  26. <body>
  27. <div class="productNews" id="productNews">
  28. {dreamer-cms:include file='inc/header.html'/}
  29. {dreamer-cms:sql sql="select image_path as litpic from system_archives where id = [9eefb5b8aed845de99855f1d55d92a49]"}
  30. <div class="publicHeader2 min_wrapper_1200" style="background:url(/resources/uploads/[field:litpic /]) no-repeat;"></div>
  31. {/dreamer-cms:sql}
  32. <div class="wrapper_1200">
  33. {dreamer-cms:location lang="cn" /}
  34. </div>
  35. <div class="conter wrapper_1200" style="margin-top: 30px;">
  36. <div class="left">
  37. <div class="publicLists">
  38. <div class="publicList">
  39. {dreamer-cms:pagelist}
  40. <div class="item details" data-id="[field:id/]">
  41. <div class="text dis">
  42. <div class="name">
  43. <a href="[field:arcurl/]">[field:title/]</a>
  44. </div>
  45. <div class="icons">
  46. <span class="iconfont iconshijian"></span>[field:createtime function="format('yyyy-MM-dd hh:mm:ss')" /]
  47. <span class="iconfont iconliulan"></span>[field:clicks /]
  48. </div>
  49. <div class="infor"><a href="[field:arcurl/]">[field:remark function="substring(0,75,'...')" /]</a></div>
  50. </div>
  51. </div>
  52. {/dreamer-cms:pagelist}
  53. </div>
  54. <div class="listpages" >
  55. {dreamer-cms:pagination /}
  56. </div>
  57. </div>
  58. </div>
  59. <div class="right">
  60. <div class="newsHead">
  61. <div class="title">新闻头条</div>
  62. <div class="list">
  63. {dreamer-cms:list typeid="96nbp5pc" pagenum="1" pagesize="10" cascade="true"}
  64. <div class="item details" data-id="[field:id/]">
  65. <div class="dis num">[field:autoindex /]</div>
  66. <div class="dis text">
  67. <div class="line1"><a href="[field:arcurl/]">[field:title/]</a></div>
  68. <div class="infor">[field:remark function="substring(0,75,'...')" /]</div>
  69. </div>
  70. </div>
  71. {/dreamer-cms:list}
  72. </div>
  73. </div>
  74. <div class="advers" >
  75. {dreamer-cms:sql sql="select image_path as litpic from system_archives where id = [42bf4ceb852e4a1cb641db209a211439]"}
  76. <img src="/resources/uploads/[field:litpic /]">
  77. {/dreamer-cms:sql}
  78. </div>
  79. <div class="technology">
  80. <div class="title">行业新闻</div>
  81. <div class="list">
  82. {dreamer-cms:list typeid="6j0r9qzq" pagenum="1" pagesize="10"}
  83. <div class="item details" data-id="[field:id/]">
  84. <div class="name line1"><a href="[field:arcurl/]">[field:title/]</a></div>
  85. <div class="time">[field:createtime function="format('MM-dd hh:mm:ss')" /]</div>
  86. </div>
  87. {/dreamer-cms:list}
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. <div class="clearfix"></div>
  93. <div id="advers" class="min_wrapper_1200">
  94. <div class="wrapper_1200 wrapper1">免费体验后台管理系统<a href="/admin" target="_blank" title="立即体验">立即体验</a></div>
  95. </div>
  96. {dreamer-cms:include file="inc/footer.html" /}
  97. </div>
  98. {dreamer-cms:include file="inc/service.html" /}
  99. <script>
  100. $(function () {
  101. $('.newsHead .list .item').on('mouseenter',function () {
  102. $(this).addClass('on').siblings().removeClass('on');
  103. });
  104. $('.sortNav .item').on('click',function () {
  105. $(this).addClass('on').siblings().removeClass('on');
  106. $(this).find('.active').addClass('on').parent().siblings().find('.active').removeClass('on');
  107. $(this).find('.active1').hide();
  108. var content_idnex = $('.sortNav .item').index(this);
  109. $('.publicLists').eq(content_idnex).show().siblings().hide();
  110. var c=$('.publicLists .publicList').eq(content_idnex).children().length;
  111. var str=c/pageSize;
  112. var r = /^[0-9]*[1-9][0-9]*$/;  //正整数
  113. var s=r.test(str); //str为你要判断的字符 执行返回结果 true 或 false
  114. if(!s){
  115. $('.publicLists .no_more').eq(content_idnex).show();
  116. $('.publicLists .outline').eq(content_idnex).hide();
  117. }else{
  118. $('.publicLists .outline').eq(content_idnex).show();
  119. $('.publicLists .no_more').eq(content_idnex).hide();
  120. }
  121. });
  122. $('.sortNav .item').hover(function () {
  123. $(this).find('.active').removeClass('on');
  124. $(this).find('.active1').addClass('slideInDown').show();
  125. },function () {
  126. $(this).find('.active1').removeClass('slideInDown').hide();
  127. });
  128. });
  129. </script>
  130. </body>
  131. </html>