2
13693261870
2022-09-16 653761a31dfeb50dd3d007e892d69c90bf0cdafc
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
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>门户页面用户信息</title>
 
    <script th:src="@{${pubzyWebRoot} + 'BootStrap4/assets/js/jquery.min.js'}"></script>
    <script th:inline="javascript">
 
        var lanbaseRoot = [[${lanbaseRoot}]];
 
        function loginout() {
            var keys = document.cookie.match(/[^ =;]+(?=\=)/g);
            if(keys) {
                for(var i=keys.length;i--;) {
                    document.cookie = keys[i] + '=0;path=/;expires=' + new Date(0).toUTCString();
                }
            }
            parent.window.location.href = "/logout";
            window.location.href = "/logout";
        }
 
        //修改个人信息
        function editUserInfo() {
            window.open(lanbaseRoot + "/lanwebapp/admin/userinfo_edit.html", "_blank");
        }
 
        //弹出修改密码窗口
        function openPasswordChangeLayer(){
            var parentwin = window.parent;
            parentwin.postMessage({ type: "modifypassword_show" }, "*");
        }
    </script>
    
    <style>
        body {
            font-family: "微软雅黑","Helvetica Neue",Helvetica,Arial,sans-serif !important;
            color: #ffffff;
            margin: 0;
        }
    </style>
</head>
<body>
<div style="width: 100%; height: 40px; text-align: center; line-height: 40px;">
    <div style="font-size: 18px; display: inline-block; cursor: pointer;"><img
            src="/image/liferay_userinfo/user.png" style="vertical-align: top;margin-top: 2px;margin-right: 1px;">&nbsp;<span th:text="${loginname}"></span>
    </div>
    <div style="font-size: 16px; display: inline-block; cursor: pointer;">&nbsp;
        <a style="font-size: 16px; text-decoration: none;"
           onclick="editUserInfo()">修改个人信息</a></div>
    <div style="display: inline-block;">
        <a style="font-size: 16px; text-decoration: none; cursor: pointer;color: #fff" href="#" onclick="loginout();">&nbsp;&nbsp;|&nbsp;&nbsp;注销
        </a></div>
</div>
 
</body>
</html>