puzhibing
2024-02-05 640ff18d2d7f4be02ddb7f8f75e899f05545eb98
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
@layout("/common/_container.html"){
<style>
    .contact-box {
        background: unset;
        border: unset;
    }
    strong{
        line-height: 23px;
    }
</style>
 
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-6">
            <div class="contact-box">
                <div class="col-sm-4">
                    <div class="text-center">
                        @if(user.avatar!=null){
                            <img alt="image" class="img-circle " src="${user.avatar}" style="width: 120px;height: 120px " >
                        @}
                        @if(user.avatar==null){
                            <img alt="image" class="img-circle " src="${ctxPath}/img/login-background.jpg" style="width: 120px;height: 120px" >
                        @}
 
                        <div class="m-t-xs font-bold">${deptName}</div>
                    </div>
                </div>
                <div class="col-sm-8">
                    <h3><strong>${user.name}</strong></h3>
                    <p><i class="fa fa-user-secret"></i> ${roleName}</p>
                    <address>
                        <strong>E-mail:${user.email}</strong><br>
                        <strong>Tel:${user.phone}</strong><br>
                        <strong>登录次数:${loginNum}次</strong><br>
                        <strong>登录时间:${date}</strong><br>
                    </address>
                </div>
                <div class="clearfix"></div>
            </div>
        </div>
    </div>
</div>
<script>
    $(document).ready(function () {
        $('.contact-box').each(function () {
            animationHover(this, 'pulse');
        });
        $(".row").css({
            height: window.innerHeight+"px",
            display:"flex",
            alignItems: "center",
            justifyContent: "center",
        })
    });
</script>
@}