Keine Beschreibung

enlist_three.html 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta content="yes" name="apple-mobile-web-app-capable">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,minimum-scale=1.0,user-scalable=0" />
  7. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8. <title>招募令</title>
  9. <script src="./js/jquery.js"></script>
  10. <!--<script type="text/javascript" src="js/enlist_three.js"></script>-->
  11. <link rel="stylesheet" type="text/css" href="./font/iconfont.css">
  12. <link rel="stylesheet" type="text/css" href="css/enlist_three.css">
  13. <script>
  14. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
  15. window.onresize = function(){
  16. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
  17. }
  18. </script>
  19. </head>
  20. <body>
  21. <div class="warp">
  22. <div class="enlist_img">
  23. <img src="images/KX01.png?v=1" style="display: block;">
  24. </div>
  25. <form class="enlist_form">
  26. <!--<p class="enlist_form_p">姓名<span class="fbc_required">*</span></p>
  27. <div class="enlist_form_input">
  28. <div class="enlist_form_input_icon">
  29. <i class="iconfont icon-icon1"></i>
  30. </div>
  31. <input type="text" class="enlist_form_input_item" id="user">
  32. </div>-->
  33. <p class="enlist_form_p">手机<span class="fbc_required">*</span></p>
  34. <div class="enlist_form_input">
  35. <div class="enlist_form_input_icon">
  36. <i class="iconfont icon-icon"></i>
  37. </div>
  38. <input type="tel" class="enlist_form_input_item" id="tel" >
  39. </div>
  40. <!--<p class="enlist_form_p">邮箱<span class="fbc_required">*</span></p>
  41. <div class="enlist_form_input">
  42. <div class="enlist_form_input_icon">
  43. <i class="iconfont icon-email-outline"></i>
  44. </div>
  45. <input type="email" class="enlist_form_input_item" id="email">
  46. </div>-->
  47. <p class="enlist_form_p">微信<span class="fbc_required">*</span></p>
  48. <div class="enlist_form_input">
  49. <div class="enlist_form_input_icon">
  50. <i class="iconfont icon-weixin"></i>
  51. </div>
  52. <input type="text" class="enlist_form_input_item" id="vx">
  53. </div>
  54. <!--<p class="enlist_form_p">QQ<span class="fbc_required">*</span></p>
  55. <div class="enlist_form_input">
  56. <div class="enlist_form_input_icon">
  57. <i class="iconfont icon-qq"></i>
  58. </div>
  59. <input type="number" class="enlist_form_input_item" id="qq">
  60. </div>-->
  61. <div class="enlist_form_button" >立即报名</div>
  62. </form>
  63. <!--弹层-->
  64. <div class="mask" style="z-index:989;" >
  65. <div class="content">
  66. <p class="con_tit">报名成功 <img src="images/close1.png" onclick="shut()" alt=""/></p>
  67. <p class="con_con" style="height:0.3rem">欢迎加入“猎豆优选代理群”</p>
  68. <p class="con_con">免费获取全套营销课程,还能与创始人面对面交流。</p>
  69. <div class="code"><img id="evm_zml" src="https://kx-youhuiquan.oss-cn-beijing.aliyuncs.com/H5-liedou/evm_zml.jpg" alt="二维码" id="code"/></div>
  70. <!--<div id="save" onclick="downloadIamge('canvas', '001')">保存二维码</div>-->
  71. <p class="con_con" style="line-height: 0.3rem;text-align: center;">截图保存二维码</p>
  72. <p class="con_course" onclick="goCourse()">查看使用教程</p>
  73. </div>
  74. </div>
  75. <!--教程弹层-->
  76. <div class="mask_two" style="z-index:989;" >
  77. <div class="content_two" >
  78. <p class="con_tit_two">
  79. <img src="images/back1.png" alt="返回" " onclick="back()" />
  80. 淘口令使用教程 <img src="images/close1.png" onclick="shut()" alt="关闭" />
  81. </p>
  82. <div class="course_item">
  83. <p class="p_text">1.保存进群二维码图片</p>
  84. <img src="images/1.png" alt="" />
  85. <p class="p_text">2.打开微信右上方的“+”</p>
  86. <img src="images/2.png" alt="" />
  87. <p class="p_text">3.点击【扫一扫】</p>
  88. <img src="images/3.png" alt="" />
  89. <p class="p_text">4.点击右上角【相册】</p>
  90. <img src="images/4.png" alt="" />
  91. <p class="p_text">5.选择刚才保存的群二维码图片</p>
  92. <img src="images/5.png" alt="" />
  93. <p class="p_text">6.点击右上角的【完成】</p>
  94. <img src="images/6.png" alt=""/>
  95. <p class="p_text">7.成功加入“猎豆优选代理群”</p>
  96. <img src="images/7.png" alt=""/>
  97. </div>
  98. </div>
  99. </div>
  100. <!--失败弹层-->
  101. <div class="fail">
  102. <div class="content_fail">
  103. <h3>提示</h3>
  104. <p>提示内容</p>
  105. <div onclick="iknow()">我知道了</div>
  106. </div>
  107. </div>
  108. </div>
  109. </body>
  110. <script type="text/javascript">
  111. $().ready(function () {
  112. $("#evm_zml").attr("src","https://kx-youhuiquan.oss-cn-beijing.aliyuncs.com/H5-liedou/evm_zml.jpg?time=" + new Date().getTime())
  113. })
  114. //弹层
  115. function iknow() {
  116. $(".fail").css("visibility","hidden");
  117. }
  118. //获取焦点时 改变图片颜色 边框颜色
  119. $("input").focus(function(e){
  120. $(e.currentTarget).parent().css("border-color","#a5a5a5");
  121.         $(e.currentTarget).prev().find('i').css('color', '#2c8ad0');
  122.     });
  123.     $("input").blur(function(e){
  124. $(e.currentTarget).parent().css("border-color","#D3D3D3");
  125.         $(e.currentTarget).prev().find('i').css('color', '#7fbceb');
  126.     });
  127. $('.enlist_form_button').click(function(){
  128. getData();
  129. })
  130. //请求数据
  131. function getData(){
  132. $.ajax({
  133. type: "GET",
  134. url: "https://tbk.726p.com/api/v2/signUp/insertInfo",
  135. data:{
  136. user:new Date().getTime(),
  137. tel:$('#tel').val(),
  138. email:'00000@163.com',
  139. vx:$('#vx').val(),
  140. qq:'00000',
  141. source:'1000'
  142. },
  143. success:function(msg){
  144. console.log(msg)
  145. //判断返回值
  146. if(msg.errno==4003){
  147. // $('.mask .content p').html(msg.err)
  148. $('.mask').css("visibility","visible");
  149. $('input').val('');
  150. }else if(msg.errno==10009){
  151. $('.fail').css("visibility","visible");
  152. $('.fail .content_fail p').html(msg.rst.msg)
  153. }
  154. },
  155. fail:function (err){
  156. console.log(err)
  157. }
  158. });
  159. }
  160. function back(){
  161. $(".mask_two").css('visibility','hidden')
  162. $(".mask").css('visibility','visible')
  163. }
  164. function goCourse(){
  165. $(".mask").css('visibility','hidden')
  166. $(".mask_two").css('visibility','visible')
  167. }
  168. function shut(){
  169. $(".mask_two").css('visibility','hidden')
  170. $(".mask").css('visibility','hidden')
  171. }
  172. </script>
  173. </html>