friend_give_log.html 2.4 KB

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <link rel="stylesheet" href="https://at.alicdn.com/t/font_834805_0ml90wdq5hzm.css">
    <link rel="stylesheet" href="__INDEX__/css/base.css">
    <link rel="stylesheet" href="__INDEX__/css/swiper.min.css">
    <script type="text/javascript" src="__INDEX__/js/base.js"></script>
    <title>好友列表</title>
    <style>
        body,html{
            width:100%;
            height:100%;
            background: #fff;
        }
        .fri_list{
            width:7.5rem;
            height:1.2rem;
            padding: 0.2rem 0.32rem;
            display:flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #f5f5f5;
        }
        .friend_img{
            font-size: 0;
            width:0.8rem;
            height:0.8rem;
            border-radius: 50%;
        }
        .friend_img img{
            width:100%;
        }
        .friend_name{
            color:#000000;
            font-size: 0.32rem;
        }
        .sendintegral{
            color:#000000;
            font-size: 0.28rem;
        }
        .search{
            width:4rem;
            height:0.88rem;
            background:#FE0A01;
            border-radius:0.44rem;
            text-align: center;
            line-height: 0.88rem;
            color:#fff;
            font-size: 0.32rem;
            box-shadow:0px 15px 30px 0px rgba(254,10,1,0.24);
            margin: 0 auto;
            margin-top: 1.49rem;

        }
    </style>
</head>
<body>
<div class="container">
    <div class="friendlist">
        <volist name="list" id="vo">
        <div class="fri_list">
            <p class="friend_img">
                <img src="{$vo.avatar}" alt="">
            </p>
            <p class="friend_name">
                {$vo.user_nickname}
            </p>
            <P class="sendintegral">
                已赠送{$vo.total}积分
            </P>
        </div>
        </volist>
    </div>
    <div class="search">
        搜索添加好友
    </div>
</div>
</body>
<script type="text/javascript" src="__INDEX__/js/jquery.min.js"></script>
<script>
    $(".search").click(function(){
        window.location.href="{:url('friendship/Friend/friendList')}";
    })
</script>
</html>