cy
2022-06-28 2ba5c891b24d4d0cd6ce7ef833592e4f576ee5e8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!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>