You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
2.2 KiB
HTML
60 lines
2.2 KiB
HTML
<extend name="Public/base" />
|
|
<block name="body">
|
|
<div class="wrap_w">
|
|
<div class="crumbs"><em>当前位置:</em><a href="{:U('Index/index')}" target="_blank">{:C(APP_NAME)}游戏</a>
|
|
<span> > </span><a href="{:U('Subscriber/record')}">用户中心</a>
|
|
</div>
|
|
<div id="member" class="clearfix">
|
|
<div id="member_l">
|
|
<include file='Base' />
|
|
</div>
|
|
|
|
<div id="member_r">
|
|
<div class="other_s">
|
|
<h3 class="clearfix"><span>绑定手机</span></h3>
|
|
<div class="m-allineone-validatePass">
|
|
<link rel="stylesheet" href="__CSS__/safe.css" />
|
|
<div class="validate-pass-wrap">
|
|
<p class="tips">该操作需要验证登录密码</p>
|
|
<div class="input-optimize">
|
|
<input type="password" style="display: none;">
|
|
<input type="password" class="pass-input" id="validatePass" >
|
|
<span class="error-msg"></span>
|
|
</div>
|
|
<div class="operation-bar">
|
|
<a href="#" class="confirm">确定</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
$(function() {
|
|
$('.confirm').on('click',function() {
|
|
var vp = $.trim($('#validatePass').val());
|
|
if (vp == '') {$('.error-msg').text('必填项');return false;}
|
|
$.ajax({
|
|
type:'post',
|
|
dataType:'json',
|
|
data:'pwd='+vp,
|
|
url:'{:U("safe")}',
|
|
success:function(data) {
|
|
if (parseInt(data.status) == 1 ) {
|
|
$('.error-msg').text('密码正确,正在跳转。。。');
|
|
setTimeout(function() {
|
|
window.location.href='{:U("phone")}';
|
|
},1000);
|
|
} else {
|
|
$('.error-msg').text('密码错误');
|
|
}
|
|
},
|
|
error:function() {
|
|
alert('服务器故障,请稍候再试。。。。');
|
|
}
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
</div>
|
|
</div>
|
|
</block> |