signup.php 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <style>
  2. .yv2_signup{
  3. width: 86%;
  4. position: fixed;
  5. left: 50%;
  6. margin-left: -43%;
  7. top: 20%;
  8. height: auto;
  9. background: #fff;
  10. z-index: 305;
  11. }
  12. .yv2_signup_bg{
  13. width: 100%;
  14. height:100%;
  15. background: rgba(0,0,0,0.5);
  16. z-index: 300;
  17. position: fixed;
  18. left: 0;
  19. top: 0;
  20. }
  21. .yv2_signupBox{
  22. width: 85%;
  23. margin: 0 auto;
  24. position: relative;
  25. padding: 20px 0;
  26. }
  27. .yv2_signup_gb{
  28. position: absolute;
  29. z-index: 2;
  30. top: 10px;
  31. right: -10px;
  32. width: 15px;
  33. height: 15px;
  34. }
  35. .yv2_signup_gb img{
  36. width: 100%;
  37. height: 100%;
  38. }
  39. .yv2_signupBox_title{
  40. font-size: 1.125rem;
  41. color: #333;
  42. font-weight: bold;
  43. }
  44. .yv2_signupBox_ico{
  45. width: 100%;
  46. height: auto;
  47. margin-top: 10px;
  48. }
  49. .yv2_signupBox_ico img{
  50. width: 100%;
  51. height: 100%;
  52. }
  53. .yv2_signupBox_text{
  54. font-size: 0.875rem;
  55. color:#666;
  56. line-height: 20px;
  57. margin-top: 10px;
  58. }
  59. .yv2_signupBox_form{
  60. width: 100%;
  61. height: auto;
  62. margin-top: 25px;
  63. }
  64. .yv2_signupBox_form p.text_input{
  65. width: 100%;
  66. height: 40px;
  67. border: 1px solid #eee;
  68. border-radius: 2px;
  69. display: -webkit-flex; /* Safari */
  70. display: flex;
  71. justify-content:flex-start;
  72. align-items:center;
  73. }
  74. .yv2_signupBox_form p.text_input img{
  75. display: inline-block;
  76. width: 18px;
  77. height: 18px;
  78. margin-left: 5px;
  79. }
  80. .yv2_signupBox_form p.text_input input{
  81. display: inline-block;
  82. width: 85%;
  83. height: 35px;
  84. font-size: 0.875rem;
  85. color: #666;;
  86. border: none;
  87. background: #fff;
  88. margin-left: 8px;
  89. }
  90. .yv2_signupBox_form a{
  91. margin-top: 15px;
  92. margin-bottom: 5px;
  93. display: block;
  94. height: 40px;
  95. width: 100%;
  96. background: #43A6F5;
  97. color: #fff;
  98. text-align: center;
  99. line-height: 40px;
  100. font-size: 0.937rem;
  101. font-weight: bold;
  102. border-radius: 2px;
  103. }
  104. </style>
  105. <div class="yv2_signup">
  106. <div class="yv2_signupBox">
  107. <div class="yv2_signup_gb"><a href="javasscript:;"><img src="/overseas/img/v2image/sign_ico1.png" alt=""></a></div>
  108. <div class="yv2_signupBox_title">报名看房</div>
  109. <div class="yv2_signupBox_ico"><img src="/overseas/img/v2image/sign_bm1.png" alt=""></div>
  110. <div class="yv2_signupBox_text">我们将为您保密个人信息!专业团队,一对一服务,让您全程无忧看房!</div>
  111. <div class="yv2_signupBox_form">
  112. <form class="submit_area">
  113. <input type="hidden" name="hid" value="0"> <!-- 0 为公共报名,其它为楼盘ID-->
  114. <input type="hidden" name="source" value="3"> <!--报名来源 具体查看applyVerify.js文件中SourceModule 标识说明-->
  115. <input type="hidden" name="equipment" value="1"> <!--来源设备 ( PC端 2,手机端 1 )-->
  116. <p class="text_input">
  117. <img src="/overseas/img/v2image/sign_ico2.png" alt="">
  118. <input type="text" name="mobile" onfocus="move();" type="text" placeholder="请输入您的手机号码">
  119. </p>
  120. <a href="javascript:;" class="apply_submit">立即提交</a>
  121. </form>
  122. </div>
  123. </div>
  124. </div>
  125. <div class="yv2_signup_bg"></div>
  126. <script>
  127. // bm_title,bm_hid,bm_text,bm_source; //为了这些变量在其它地方用;
  128. $('.yv2_signup .yv2_signupBox_title').html(bm_title)
  129. $('.yv2_signup input[name="source"]').html(bm_source)
  130. $('.yv2_signup input[name="hid"]').html(bm_hid)
  131. $('.yv2_signup .yv2_signupBox_text').html(bm_text)
  132. // 修改弹窗标题图片
  133. // console.log(bm_title);
  134. switch(bm_title)
  135. {
  136. case '报名看房':
  137. $('.yv2_signupBox_ico img').attr('src','/overseas/img/v2image/sign_bm1.png');
  138. break;
  139. case '询首付月供':
  140. $('.yv2_signupBox_ico img').attr('src','/overseas/img/v2image/sign_bm2.png');
  141. break;
  142. case '开盘通知':
  143. $('.yv2_signupBox_ico img').attr('src','/overseas/img/v2image/sign_bm3.png');
  144. break;
  145. case '预约直播':
  146. $('.yv2_signupBox_ico img').attr('src','/overseas/img/v2image/sign_bm4.png');
  147. break;
  148. case '领取优惠':
  149. $('.yv2_signupBox_ico img').attr('src','/overseas/img/v2image/sign_bm5.png');
  150. break;
  151. case '户型报价':
  152. $('.yv2_signupBox_ico img').attr('src','/overseas/img/v2image/sign_bm2.png');
  153. break;
  154. case '锁定优惠':
  155. $('.yv2_signupBox_ico img').attr('src','/overseas/img/v2image/sign_bm5.png');
  156. break;
  157. default:
  158. $('.yv2_signupBox_ico img').attr('src','/overseas/img/v2image/sign_bm1.png');
  159. }
  160. $('.yv2_signup_gb a,.yv2_signup_bg').on('click',function(){
  161. RemoveDiv();
  162. })
  163. function move(){
  164. $(".yv2_signup").css("top", "15%");
  165. }
  166. </script>