|
@@ -15,95 +15,32 @@
|
|
|
<script src="../static/js/vender/toastr/toastr.min.js"></script>
|
|
|
<script src="../static/js/vender/config.js"></script>
|
|
|
<script>
|
|
|
- window.onload = window.onresize = function () {
|
|
|
- verticalAlign()
|
|
|
- }
|
|
|
-
|
|
|
- function verticalAlign() {
|
|
|
- // alert($('body').css('font-size'));
|
|
|
- var logo_w = $('body').width();
|
|
|
- var logo_t = $('#bottom_img').height() * 0.05;
|
|
|
- if (logo_w <= 640) {
|
|
|
- $('#logo').css('top', '50px');
|
|
|
- $('#logo').width('25%');
|
|
|
- } else {
|
|
|
- $('#logo').css('top', logo_t);
|
|
|
- $('#logo').width(logo_w * 0.1178);
|
|
|
- }
|
|
|
-
|
|
|
- var ipt_w = $('#recv_ipt').width();
|
|
|
- var ipt_h = ipt_w * 0.18;
|
|
|
- var font_sz = ipt_w * 0.06 + 'px';
|
|
|
- $('#recv_ipt').height(ipt_h);
|
|
|
- $('#recv_ipt').css('font-size', font_sz);
|
|
|
- $('#recv_btn').css('font-size', font_sz);
|
|
|
- $('#recv_btn2').css('font-size', font_sz);
|
|
|
- // $('#recv_ipt').css('line-height', ipt_h);
|
|
|
- $('#icon').height(ipt_h);
|
|
|
- var icon_w = $('#recv_cont').width() * 0.053333
|
|
|
- $('#icon').width(icon_w);
|
|
|
- var icon_t = 'calc(' + ipt_h / 6 + 'px' + ' + 3rem)';
|
|
|
- $('#icon').css('top', icon_t);
|
|
|
- $('#recv_btn').css('padding', ipt_w * 0.01 + 'px');
|
|
|
- $('#recv_btn2').css('padding', ipt_w * 0.01 + 'px');
|
|
|
- var btn_h = $('#recv_ipt').height() - ipt_w * 0.01 - 15;
|
|
|
- $('#recv_btn').height(btn_h);
|
|
|
- $('#recv_btn').css('line-height', btn_h + 'px');
|
|
|
- $('#recv_btn2').height(btn_h);
|
|
|
- }
|
|
|
- </script>
|
|
|
- <script>
|
|
|
toastr.options.positionClass = 'toast-center-center';
|
|
|
</script>
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
+ <div class="top free-code-con" style="position:relative;">
|
|
|
+ <div>
|
|
|
+ <img src="../static/img/experienceBg1.png" alt="" class="bottom-img">
|
|
|
+ </div>
|
|
|
|
|
|
- <header>
|
|
|
- <div class="top free-code-con" style="position:relative;">
|
|
|
- <div>
|
|
|
- <div>
|
|
|
- <picture>
|
|
|
- <source media="(max-width: 640px)" srcset="../static/img/experienceBg1.png 640w" />
|
|
|
- <source media="(min-width: 640px)" srcset="../static/img/experienceBg2.png 1366w" />
|
|
|
- <img src="../static/img/experienceBg1.png" alt="" class="bottom-img" id="bottom_img">
|
|
|
- </picture>
|
|
|
+ <div class="center-pic">
|
|
|
+ <div class="recv-cont" id="recv_cont">
|
|
|
+ <div style="position: relative;">
|
|
|
+ <input type="tel" class="recv-ipt" id="recv_ipt" placeholder="请输入手机号码">
|
|
|
</div>
|
|
|
-
|
|
|
- <div class="center-pic">
|
|
|
- <div class="recv-cont" id="recv_cont">
|
|
|
- <div style="padding: 0 8%">
|
|
|
- <div style="position: relative;">
|
|
|
- <input type="tel" class="recv-ipt" id="recv_ipt" placeholder="请输入手机号码">
|
|
|
- </div>
|
|
|
- <div onclick="handleClick()" style="position: relative">
|
|
|
- <div class="recv-btn" id="recv_btn">
|
|
|
- <img src="../static/img/experienceBtn.png" alt="" style="width: 100%">
|
|
|
- <span class="btn-bg-style">
|
|
|
- <span>领取体验时长并下载</span>
|
|
|
- <img src="../static/img/xing_icon.png" alt="">
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <div onclick="handleClick()" style="position: relative">
|
|
|
+ <div class="recv-btn" id="recv_btn">
|
|
|
+ <span style="position: relative;">
|
|
|
+ 领取体验时长并下载
|
|
|
+ <img src="../static/img/xing_icon.png" alt="">
|
|
|
+ </span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
- </div>
|
|
|
- <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
|
|
|
- aria-hidden="true">
|
|
|
- <div class="modal-dialog tip-suc-con">
|
|
|
- <div class="modal-content">
|
|
|
- <div class="tip-suc-title">领取成功</div>
|
|
|
- <!--<div class="modal-body tip-suc-context">
|
|
|
- 激活码将以短信的形式发送至领取手机号,请留意短信。
|
|
|
- </div>
|
|
|
- <button type="button" class="btn btn-default tip-suc-btn" data-dismiss="modal">知道了</button>-->
|
|
|
- </div>
|
|
|
- </div>
|
|
|
</div>
|
|
|
- </header>
|
|
|
+ </div>
|
|
|
<script type="text/javascript" th:inline="javascript">
|
|
|
var parameters = GetRequest();
|
|
|
var phone = parameters["phone"];
|