list_case.html 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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. <style>
  26. .wrapper_1200 .caseList .more {
  27. font-size: 14px;
  28. color: #999999;
  29. width: 120px;
  30. height: 36px;
  31. text-align: center;
  32. line-height: 36px;
  33. margin: 36px auto 40px auto;
  34. cursor: pointer;
  35. display: block;
  36. }
  37. </style>
  38. </head>
  39. <body crt-type-code="{dreamer-cms:category field="typecode" /}">
  40. <div class="case-center">
  41. {dreamer-cms:include file='inc/header.html'/}
  42. {dreamer-cms:sql sql="select image_path as litpic from system_archives where id = [1f7da4c6706c48ab8f9e223dbdfb80b4]"}
  43. <div class="publicHeader2 min_wrapper_1200" style="background:url(/resources/uploads/[field:litpic /]) no-repeat;"></div>
  44. {/dreamer-cms:sql}
  45. <div class="nav">
  46. <div class="wrapper_1200">
  47. {dreamer-cms:channel typeid="he9g4d0j" type="son"}
  48. <div class="item" type-code="[field:typecode/]"><a href="[field:typeurl/]">[field:typenamecn /]</a></div>
  49. {/dreamer-cms:channel}
  50. </div>
  51. </div>
  52. <div class="wrapper_1200">
  53. {dreamer-cms:location lang="cn" /}
  54. <div class="caseList">
  55. <div class="customer" style="text-align: center;">
  56. {dreamer-cms:pagelist}
  57. <div class="item">
  58. <div class="one">
  59. <div class="pictrue">
  60. <a href="[field:arcurl/]">
  61. <img src="[field:litpic/]" title="[field:title/]" class="caseBg" />
  62. </a>
  63. <div class="ewm">
  64. <a href="[field:arcurl/]">
  65. <img src="[field:litpic/]" title="[field:title/]" />
  66. </a>
  67. </div>
  68. </div>
  69. <div class="text">
  70. <div class="name"><a href="[field:arcurl/]" title="[field:title/]">[field:title/]</a></div>
  71. <div class="infor"><a href="[field:arcurl/]" title="[field:title/]">[field:remark function="substring(0,60,'...')"/]</a></div>
  72. <div class="industry">查看详情</div>
  73. </div>
  74. </div>
  75. <div class="two">
  76. <div class="ewm animated" style="margin:30px auto 0 auto;">
  77. <img src="[field:litpic/]" title="[field:title/]" />
  78. </div>
  79. <div class="industry animated"><a href="[field:arcurl/]" title="[field:title/]">详情查看</a></div>
  80. </div>
  81. </div>
  82. {/dreamer-cms:pagelist}
  83. </div>
  84. <div class="clearfix"></div>
  85. <!--<div class="more set_8_button outline" data-type="1">查看更多<span class="lines"></span></div>
  86. <div class="more no_more" >没有更多了</div>-->
  87. <div class="listpages" >
  88. {dreamer-cms:pagination /}
  89. </div>
  90. </div>
  91. </div>
  92. <div class="clearfix"></div>
  93. <div class="wrapper_1200">
  94. <div class="formMember">
  95. <div class="form">
  96. <div class="name">快速咨询客服</div>
  97. <div class="infor">想拥有您的定制化官网么?您可将自己的需求提交给客服。</div>
  98. <form id="Form" action="/input" method="post">
  99. <input type="hidden" name="typeid" value="wqz18j7q" />
  100. <input type="hidden" name="formkey" value="8t2lkr8d" />
  101. <div class="item">
  102. <input type="text" id="title" placeholder="填写您的姓名" name="title">
  103. </div>
  104. <div class="item">
  105. <input type="text" id="telephone" placeholder="填写您的联系电话" name="telephone">
  106. </div>
  107. <div class="item">
  108. <textarea id="content" name="content" class="form-control" placeholder="填写您的需求"></textarea>
  109. </div>
  110. <div class="captcha">
  111. <div class="login-form-vcode"><img alt="图片验证码" width="120" height="46" src="" id="vcode"></div>
  112. <div class="login-form-vcode-input"><input type="text" name="captcha" placeholder="验证码" required="required" class="form-control" /></div>
  113. <div class="clearFix"></div>
  114. </div>
  115. <div class="form-btn-group-left">
  116. <div class="submission set_5_button" id="essentialInformation">提交</div>
  117. </div>
  118. </form>
  119. </div>
  120. </div>
  121. </div>
  122. <div id="advers" class="min_wrapper_1200">
  123. <div class="wrapper_1200 wrapper1">免费体验后台管理系统<a href="/admin" target="_blank" title="立即体验">立即体验</a></div>
  124. </div>
  125. {dreamer-cms:include file='inc/footer.html'/}
  126. </div>
  127. {dreamer-cms:include file="inc/service.html" /}
  128. <script src="{dreamer-cms:template /}scripts/jquery.serializejson.js"></script>
  129. <script src="{dreamer-cms:template /}scripts/coco-message.js"></script>
  130. <script>
  131. $(function () {
  132. $("#vcode").attr("src","/getKaptcha?t=" + new Date().getTime());
  133. $("#vcode").click(function(){
  134. var t = new Date().getTime();
  135. $(this).attr("src","/getKaptcha?t=" + t);
  136. });
  137. $("body").on("mouseenter", ".caseList .item", function() {
  138. $(this).find('.one').hide();
  139. $(this).addClass('on');
  140. $(this).find('.two').show();
  141. $(this).find('.two .ewm').addClass('bounceInDown');
  142. $(this).find('.two .industry').addClass('lightSpeedIn');
  143. });
  144. $("body").on("mouseleave", ".caseList .item", function() {
  145. $(this).find('.one').show();
  146. $(this).removeClass('on');
  147. $(this).find('.two').hide();
  148. $(this).find('.two .ewm').removeClass('bounceInDown');
  149. $(this).find('.two .industry').removeClass('lightSpeedIn');
  150. });
  151. $("#essentialInformation").click(function(){
  152. var username=$("input[name='title']").val();
  153. var phone=$("input[name='telephone']").val();
  154. var content=$("textarea[name='content']").val();
  155. var captcha=$("input[name='captcha']").val();
  156. var rsd=/^1[3|4|5|6|7|8|9]\d{9}$/;
  157. var regex=new RegExp(rsd);
  158. if(!username){
  159. layer.msg('填写您的姓名', {icon: 5});
  160. return false;
  161. }
  162. if(!phone){
  163. layer.msg('填写您的联系电话', {icon: 5});
  164. return false;
  165. }
  166. if(!regex.test(phone)){
  167. layer.msg('手机号有误', {icon: 5});
  168. return false;
  169. }
  170. if(!content){
  171. layer.msg('填写您的需求', {icon: 5});
  172. return false;
  173. }
  174. if(!captcha){
  175. layer.msg('填写您的验证码', {icon: 5});
  176. return false;
  177. }
  178. var formData = $("#Form").serializeJSON();
  179. $.ajax({
  180. url : "/input",
  181. data : formData,
  182. type : "post",
  183. dataType : "JSON",
  184. success : (result) => {
  185. if(result.state === '200'){
  186. cocoMessage.success(5000, "提交成功!", function (){});
  187. }else{
  188. cocoMessage.error(5000, result.info, function (){});
  189. }
  190. }
  191. });
  192. })
  193. })
  194. </script>
  195. </body>
  196. </html>