<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>个人中心</title>
|
[#include "/business/pages/include/static.html" /]
|
<script type="text/javascript">
|
function bindPhone(){
|
window.top.openDialog("0","手机绑定",
|
{},
|
{"width":50,"height":50},
|
[{btnId:"btnSure", btnName:"绑定", btnStyle:"bluebtn"}],
|
"${base}/business/pages/loginuser/phoneBind.html");
|
}
|
//邮箱绑定
|
function bindEmail(){
|
window.top.openDialog("0","邮箱绑定",
|
{},
|
{"width":50,"height":50},
|
[{btnId:"btnSure", btnName:"绑定", btnStyle:"bluebtn"}],
|
"${base}/business/pages/loginuser/emailBind.html");
|
}
|
|
function queryBindMsg(){
|
setTimeout('window.location.reload(true);', 1000);
|
}
|
|
|
//email取消绑定
|
function cancelEmail(){
|
window.top.confirmInfo('提示','确定取消邮箱绑定吗?', function(){
|
$.post("${base}/business/pages/loginuser/cancelEmail.html",{},function(data){
|
if(data=='${SysConstants.Ajax_login_Time_Out_Key}') {
|
window.location.href="${base}/business/login.html";
|
} else {
|
if(data==1){
|
window.top.popupTips("解除绑定成功");
|
$.post("${base}/business/pages/loginuser/userBind.html",{},function(data){
|
queryBindMsg();
|
});
|
|
}
|
}
|
});
|
});
|
}
|
//phone取消绑定
|
function cancelPhone(){
|
window.top.confirmInfo('提示','确定取消电话号码绑定吗?', function(){
|
$.post("${base}/business/pages/loginuser/cancelPhone.html",{},function(data){
|
if(data=='${SysConstants.Ajax_login_Time_Out_Key}') {
|
window.location.href="${base}/business/login.html";
|
} else {
|
if(data==1){
|
window.top.popupTips("解除绑定成功");
|
$.post("${base}/business/pages/loginuser/userBind.html",{},function(data){
|
queryBindMsg();
|
});
|
}
|
}
|
});
|
});
|
}
|
|
function bindwei(){
|
window.top.openDialog("0","微信绑定",
|
{},
|
{"width":40,"height":50},
|
[],
|
"${base}/business/pages/loginuser/weiBind.html");
|
|
}
|
//微信取消绑定
|
function unbindWechat() {
|
window.top.confirmInfo('提示','确定解除微信绑定吗?', function(){
|
$.post("${base}/business/pages/loginuser/cancelWechat.html",{},function(data){
|
if(data==1){
|
window.top.popupTips("解除绑定成功");
|
$.post("${base}/business/pages/loginuser/userBind.html",{},function(data){
|
queryBindMsg();
|
});
|
}
|
});
|
});
|
}
|
//qq取消绑定
|
function cancelQq(){
|
window.top.confirmInfo('提示','确定取消QQ绑定吗?', function(){
|
$.post("${base}/business/pages/loginuser/cancelQq.html",{},function(data){
|
if(data=='${SysConstants.Ajax_login_Time_Out_Key}') {
|
window.location.href="${base}/business/login.html";
|
} else {
|
if(data==1){
|
window.top.popupTips("解除绑定成功");
|
$.post("${base}/business/pages/loginuser/userBind.html",{},function(data){
|
queryBindMsg();
|
});
|
}
|
}
|
});
|
});
|
}
|
</script>
|
</head>
|
<body class="fullscreen">
|
[#include "/business/pages/include/header.html" /]
|
[#assign label = GnConstants.DSFRZ]
|
[#include "/business/pages/include/gps.html" /]
|
<div class="fs_navtitle" id="fsNavtitle">
|
</div>
|
<div class="fs_main bind_account clearfix">
|
[#if customer.ISEMAIL == '2'||customer.ISPHONE == '2']
|
<div class="ba_tips"><h3>${msg}</h3></div>
|
[#else]
|
<div class="ba_tips bind_third"><h3>温馨提示:绑定第三方账号可以使用第三方帐号直接登录我们的系统,可以让您更加方便、快捷!</h3></div>
|
[/#if]
|
<ul>
|
[#if customer.QQ_OPEN_ID??&&customer.QQ_OPEN_ID!='']
|
<li><h4>您绑定的QQ昵称是:<span>${customer.QQ}</span></h4>
|
<!--<a class="relieve">更换QQ号</a>-->
|
<a class="relieve" onclick="cancelQq();">解除绑定</a></li>
|
[#else]
|
<li class="bind_qq">绑定QQ账号,使用QQ账号便捷登录,您的QQ账号还没有绑定,是否绑定!
|
<a class="yellow_btn" href="${qqurl}">立即绑定</a></li>
|
|
[/#if]
|
[#if customer.isEmail??&&customer.isEmail=='2']
|
<li><h4>您绑定的Email是:<span>${customer.EMAIL}</span></h4>
|
<!--<a class="relieve" onclick="return bindEmail();">更换EMAIL号</a>-->
|
<a class="relieve" onclick="cancelEmail();">解除绑定</a></li>
|
[#else]
|
<li class="bind_email">绑定Email,使用Email便捷登录,您的Email还没有绑定,是否绑定!<a class="yellow_btn" onclick="return bindEmail();">立即绑定</a></li>
|
[/#if]
|
[#if customer.ISPHONE??&&customer.ISPHONE=='2']
|
<li><h4>您绑定的手机号码是:<span>${customer.SJHM}</span></h4>
|
<!--<a class="relieve" onclick="return bindPhone();">更换手机号码</a>-->
|
<a class="relieve" onclick="cancelPhone();">解除绑定</a></li>
|
|
[#else]
|
<li class="bind_phone">
|
绑定手机账号,使用手机账号便捷登录,您的手机账号还没有绑定,是否绑定!
|
<a class="yellow_btn" onclick="return bindPhone();">立即绑定</a></li>
|
[/#if]
|
<li class="last clearfix">
|
[#if customer.OPEN_ID?? && customer.OPEN_ID !=""]
|
<div class="weixin_wrap">
|
<p>
|
您已绑定微信账号
|
</p>
|
</div>
|
<a class="yellow_btn" href="javascript:unbindWechat();">解除绑定</a>
|
[#else]
|
<div class="weixin_wrap">
|
<p>
|
绑定微信账号,使用微信账号便捷登录,您的微信账号还没有绑定,是否绑定!
|
</p>
|
</div>
|
<a class="yellow_btn" onclick="return bindwei();">立即绑定</a>
|
[/#if]
|
</li>
|
</ul>
|
</div>
|
</body>
|
[#include "/business/pages/include/footer.html" /]
|
</html>
|