<!doctype html>
|
<html>
|
<head>
|
<meta charset="utf-8">
|
[#include "/business/wechat/include/title.html" /]
|
[#include "/business/wechat/include/wheader.html" /]
|
</head>
|
|
<body>
|
<header class="kltit"><a href="javascript:history.go(-1);"><span></span></a>设置</header>
|
<section class="tasksearch">
|
<a href="${base}/uwyw/umymsg.html"><span class="taskicon26"></span><em>我的资料</em></a>
|
[#if isclient == 1]
|
<a href="javascript:loginout();"><span class="taskicon27"></span><em>退出登录</em></a>
|
[#else]
|
<a href="javascript:unbind();"><span class="taskicon27"></span><em>解除绑定</em></a>
|
[/#if]
|
</section>
|
|
<script type="text/javascript">
|
var openId = '${openId}';
|
function unbind() {
|
if(confirm("确定要解除绑定?")) {
|
$("body").append("<div class='loading' id='loading'><img src='${common_static}/static/wechat/images/loading.gif' /></div>");
|
$.post("${base}/wechat/doCustomerUnbind.html",{"openId":openId},function(data,textStatus) {
|
$("#loading").remove();
|
if(data==1) {
|
popupTips("解绑成功", 1000);
|
wx.closeWindow();
|
} else {
|
popupTips(data, 1000);
|
}
|
})
|
}
|
}
|
function loginout() {
|
if(confirm("确定要退出登录?")) {
|
window.location.href="${base}/wechat/clientCustomerBind.html";
|
}
|
}
|
|
</script>
|
|
[#assign label = "mymsg"]
|
[#include "/business/wechat/include/ufooter.html" /]
|
</body>
|
</html>
|