直播页面

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="format-detection" content="telephone=yes">
    <title>观看直播</title>
    <link rel="stylesheet" href="../css/third_party/swiper.css">
    <link rel="stylesheet" href="../css/third_party/weui.min.css">
    <link rel="stylesheet" href="../css/third_party/jquery-weui.min.css">
    <link rel="stylesheet" href="../css/third_party/base.css">
    <link rel="stylesheet" href="https://mplus.mbcore.com/PMCoreClient/css/color-config.css">
    <link rel="stylesheet" href="https://mplus.mbcore.com/PMCoreClient/css/iconfont/iconfont.css">
    <link rel="stylesheet" href="https://mplus.mbcore.com/PMCoreClient/css/mbcore.component.css">
    <link rel="stylesheet" href="../css/watching_live.css">
</head>
<body>
<script src="https://mplus.mbcore.com/PMCoreClient/js/dependencies.min.js"></script>
<script src="https://mplus.mbcore.com/PMCoreClient/js/core.js"></script>
<script src="https://mplus.mbcore.com/PMCoreClient/js/webview.js"></script>
<script src="../config/config.js"></script>
<div class="watch_people">
    <div class="live_user">
        <div class="user_img"><img src="../img/bg.png" alt=""></div>
        <div class="live_message">
            <div class="name">小李同学</div>
            <div class="hot">26.3万热度</div>
        </div>
        <div class="follow"><i class="iconfont icon-xuanzhong1"></i></div>
    </div>
    <div class="watch_user">
        <div class="user_img"><img src="../img/1.jpg" alt=""></div>
        <div class="user_img"><img src="../img/2.jpg" alt=""></div>
        <div class="user_img"><img src="../img/3.jpg" alt=""></div>
        <div class="user_img"><img src="../img/4.jpg" alt=""></div>
        <div class="user_img"><img src="../img/5.jpg" alt=""></div>
    </div>
</div>
<div class="live_id">
    <div>直播ID: 44901753</div>
    <div>2019.01.09</div>
</div>
<div class="live_comment">
    <div class="user_comment">
        <span class="leave">1</span>
        <span class="comment_name">国服第一中单安其拉</span>
        <span class="comment">: 阿卡卡卡卡</span>
    </div>
    <div class="user_comment">
        <span class="leave">2</span>
        <span class="comment_name">这个博主很欠揍啊</span>
        <span class="comment">: 熬化洛凯股份卡拉胶观看了讲道理就记录卡萨丁话费卡喝多了开发</span>
    </div>
    <div class="user_comment">
        <span class="leave">3</span>
        <span class="comment_name">夜空中最闪亮的星dis66</span>
        <span class="comment">: 今年还有其他的演唱会的流程吗啊</span>
    </div>
    <div class="user_comment">
        <span class="leave">4</span>
        <span class="comment_name">夜空中最闪亮的星dis66</span>
        <span class="comment">: 今年还有其他的演唱会的流程吗啊</span>
    </div>
</div>

<div class="footer">
    <div class="picture">
        <div class="icon" style="margin-right: 10px"><i class="iconfont icon-pinglun2"></i></div>
        <div class="icon"><i class="iconfont icon-fenxiang"></i></div>
    </div>
    <div class="talk">主播邀你聊天</div>

</div>
<!--背景图片-->
<div class="bg"><img src="../img/login_bg.png" alt=""></div>

<!--播放按钮-->
<div class="start"><i class="iconfont icon-shipinbofang"></i></div>
</body>
</html>
body {
    background-color: #f3f3f3;
}
.watch_people {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px 10px 10px;
}
.live_user {
    display: flex;
    align-items: center;
    background-color: rgba(33,23,34,0.5);
    padding-right: 5px;
    border-radius: 18px;
    height: 36px;
    line-height: 36px;
}
.watch_user {
    display: flex;
}
.user_img {
    width: 30px;
    height: 30px;
    overflow: hidden;
    margin-right: 5px;
}
.user_img:last-child {
    margin-right: 0;
}
.user_img img {
    width: 100%;
    border-radius: 50%;
}
.live_message {
    font-size: 12px;
    color: white;
    line-height: 1.4;
    transform: scale(0.85);
    /* margin: 0 10px 0 3px; */
    margin-right: 10px;
    margin-left: -3px;
}
.follow {
    width: 28px;
    height: 28px;
    background-color: white;
    border-radius: 50%;
    line-height: 28px;
    text-align: center;
}
.icon-xuanzhong1 {
    color: #eb8733;
    font-size: 12px;
    font-weight: bold;
}

.live_id {
    text-align: right;
    color: #b6b6c9;
    font-size: 12px;
    transform: scale(0.85);
    transform-origin: right;
    padding-right: 11px;
}

/*评论内容*/
.live_comment {
    position: fixed;
    bottom: 55px;
    width: 100%;
    height: 210px;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
}
.user_comment {
    background-color: rgba(33,23,34,0.5);
    width: 70%;
    line-height: 1.5;
    padding: 2px 5px;
    border-radius: 12.5px;
    margin-bottom: 5px;
}
.leave {
    color: white;
    background-color: #2cd396;
    height: 14px;
    font-size: 12px;
    line-height: 14px;
    padding: 0 10px;
    border-radius: 14px;
    display: inline-block;
}
.comment_name {
    color: #eed16f;
}
.comment {
    color: #faf9fe;
}

/*背景图片*/
.bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}
.bg img{
    width: 100%;
}

/*底部分享*/
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}
.picture {
    display: flex;
    align-items: center;
}

.icon {
    width: 35px;
    height: 35px;
    background-color: rgba(33,23,34,0.5);
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
}
.icon-pinglun2 {
    color: white;
    font-size: 20px;
}
.icon-fenxiang {
    color: white;
    font-size: 20px;
}
.talk {
    color: white;
    height: 35px;
    line-height: 35px;
    background: linear-gradient(to right, #ff6f2a , #fd3045);
    padding: 0 20px;
    border-radius: 17px;
    font-size: 15px;
}
/*播放按钮*/
.start {
    position: absolute;
    top: 40%;
    color: white;
    height: 50px;
    line-height: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.icon-shipinbofang {
    font-size: 70px;
}

猜你喜欢

转载自blog.csdn.net/Acitylion/article/details/86575518