Try_show.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!-- banner 开始 -->
  2. <div class="global_banner">
  3. <div class="img"><img src="/img/global_banner_bg.jpg" alt=""></div>
  4. <div class="mask">
  5. <div class="p1 animateTop">免费使用,马上搭建您的专属小程序</div>
  6. <div class="p2 animateTop">您选择的小程序的类型是:</div>
  7. </div>
  8. </div>
  9. <!-- banner 结束 -->
  10. <!-- 免费试用 开始 -->
  11. <div class="try_detail_w w100">
  12. <div class="try_detail w1200">
  13. <div class="tab clearfix">
  14. <div class="li current" data-type="0">
  15. <div class="title">我要深度定制</div>
  16. <div class="text">专业一对一开发,让您的小程序与众不同</div>
  17. <div class="dui"><i class="iconfont icon-dui"></i></div>
  18. </div>
  19. <div class="li" data-type="1">
  20. <div class="title">我要可视化定制</div>
  21. <div class="text">300+套模板任您选择,不满意可自由编辑</div>
  22. <div class="dui"><i class="iconfont icon-dui"></i></div>
  23. </div>
  24. </div>
  25. <div class="form">
  26. <form action="index.php?a=apply" method="post" id="myform">
  27. <input type="hidden" name="type" value="0" />
  28. <div class="input"><input type="text" name="name" placeholder="您的姓名:" /><span>*</span></div>
  29. <div class="input"><input type="text" name="phone" placeholder="您的手机号码:" /><span>*</span></div>
  30. <div class="input"><input type="text" name="qq" placeholder="您的QQ/微信:" /><span>*</span></div>
  31. <div class="tips"><span>请确认以上信息的准确性</span></div>
  32. <div class="button"><button type="submit">马上提交</button></div>
  33. </form>
  34. </div>
  35. </div>
  36. </div>
  37. <!-- 免费试用 结束 -->
  38. <script src="js/validate.js" type="text/javascript"></script>
  39. <script>
  40. $("#myform").validate({
  41. rules: {
  42. name: {
  43. required: true
  44. },
  45. phone: {
  46. required: true,
  47. minlength: 11,
  48. number: true
  49. },
  50. qq: {
  51. required: true
  52. },
  53. },
  54. messages: {
  55. name: {
  56. required: "姓名不能为空"
  57. },
  58. phone: {
  59. required: "手机号码不能为空",
  60. minlength: "手机号码不正确",
  61. number: "手机号码为纯数字"
  62. },
  63. qq: {
  64. required: "QQ/微信不能为空"
  65. }
  66. }
  67. });
  68. </script>