12345678910111213141516171819202122232425262728293031323334353637383940 |
- <{include file="header.html"}>
- <{include file="nav.html"}>
- <div class="wrapper jsc-sidebar-content jsc-sidebar-pulled">
- <div class="article_title center">绑定手机号</div>
- <div class="clear"></div>
- <div class="join_submit_box">
- <div class="ac_content center">请输入您的手机号,获得更多活动服务。</div>
- <div class="submit_cell"><input name="mobile" type="text" style="text-align:center; padding:0" class="input_style" placeholder="手机号码"></div>
- <div class="user_tips center"></div>
- <div class="clear"></div>
- <div class="common_btn_style3 com_btn_style3"><a class="send" href="javascript:;">确认并发送验证码</a></div>
- </div>
- <br>
- </div>
- <{include file="left.html"}>
- <script>
- KISSY.use('node', function (S, Node) {
- var $ = S.all;
- $('.send').on('click', function () {
- var mobile = S.trim($('input[name=mobile]').val());
- if (mobile == '') {
- $('.user_tips').html('请输入手机号码');
- return false;
- }
- var regex = /^(13[0-9]|15[0-9]|18[02-9]|14[57])[0-9]{8}$/;
- if(!regex.test(mobile)) {
- $('.user_tips').html('手机号输入有误,请重新输入');
- return false;
- }
-
- location.href = '<{$web_cfg.domain}>/member/verifyMobile?mobile='+mobile;
- });
- });
- </script>
- <{include file="bottom.html"}>
|