登录页面的完成

效果展示

屏幕截图 2025-03-22 143335.png
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录页面</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html,
        body {<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>云端中国城管理系统</title>
    <link rel="stylesheet" hert="./css/style.css">
    
    <style>
        body{
            display: flex;
        }



        .left {
            width: 240px;
            height: 900px;
            background-color:#101F4B;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;


        }

        .side {
            width: 100%;
            height: 65px;
            background-color: #c8def1;
            font-weight: 600;
        }

        .under {
            width: 100%;
            flex: 1;
            background-color: #525C64;

        }
        .nav{list-style: none;
            margin-bottom: 20px;

        }
        .nav li{
            margin-bottom: 10px;
        }


        .right {
            flex: 1;
            height: 100%;
            background-color: #F1F2F6;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-direction: column;




        }













        .header {
            width: 1200px;
            height: 50px;
            background-color: cadetblue;

        }




        .footer {
            width: 1200px;
            height: 50px;
            background-color: cadetblue;
        }

        .main {
            width: 1300px;
            height: 800px;
            background-color: #B5BECD;

        }
    </style>
</head>

<body>
    <div class="left">

        <div class="side">云端中国城</div>
        <div class="under">
            <ul class="nav">
                <li>首页</li>
                <li>设置</li>
                <li>用户管理</li>
                <li>奖池管理</li>
                <li>主播认证</li>
                <li>直播认证</li>
                <li>视频管理</li>
                <li>财务管理</li>
                <li>家族管理</li>
                <li>道具管理</li>
                <li>红包管理</li>
                <li>守护管理</li>
                <li>等级管理</li>
                <li>邀请管理</li>
            </ul>
        </div>
    </div>

    <div class="right">
        <div class="header">
            云端中国城管理系统
        </div>
        <div class="main"></div>
        <div class="footer">
            <div class="yema">云端中国城 延安大学 版权所有<div>
                    <div class="biaohao">@2024 Educoder 公网安备43
                        019002000962号
                    </div>
                </div>
            </div>
</body>

</html>
            width: 100%;
            height: 100%;
        }

        body {
            display: flex;
            flex-direction: column;
        }

        .header {
            width: 100%;
            height: 72px;
            /*background-color: #25a2d8;*/
            display: flex;
            justify-content: center;
        }

        .main {
            width: 100%;
            flex: 1;
           background: linear-gradient(45deg,#75CFF8,#D8A0D2);
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .header .content {
            width: 1200px;
            height: 72px;
            /*background-color: #27d9bb;*/
            display: flex;
            align-items: center;
        }

        .header .content img {
            width: 100px;
            height: 30px;
        }

        .login-box {
            width: 400px;
            height: 220px; 
           
            border-radius: 8px;
            box-shadow: #888 10px 10px 20px;
        }

        .title {
            width: 100%;
            height: 50px;
            line-height: 50px;
            text-align: center;
            font-size: 18px;
            letter-spacing: 3px;
            border-bottom: solid 1px #eee
        }
        .login p{
            height: 40px;
           
            display: flex;
            justify-content: center;
            align-items: center;

        }
        .login p input{width: 260px;
            height: 30px;

        }
        .login{
            display: flex;
            flex-direction: column;
            justify-content:space-evenly;
            height: 140px;
        }
        .login p button{outline: none;
            border: none;
            width:200px;
            height: 30px;
            border-radius: 15px;
            background-color: #295cd3;
            color: #fff;
            cursor: pointer;
        }
            .login p button:hover{
                background-color: #144dd2;
                font-weight: 500;
            }

            
        

    </style>
</head>

<body>
    <div class="header">
        <div class="content">
            <img src="./img/下载 (1)(1).png" alt="">
        </div>
    </div>
    <div class="main">
        <div class="login-box">
            <div class="title">鸥鹏AI管理系统</div>
            <div class="login">
                <p>
                    <label for="zhanghao">账号:</label>
                    <input type="text" name="zhanghao" id="zhanghao" placeholder="请输入账号">
                </p>
                <p>
                    <label for="mima">密码:</label>
                    <input type="password" name="mima" id="mima" placeholder="请输入密码">
                </p>
                <p>
                    <button>登录</button>
                </p>
            </div>

        </div>
    </div>

</body>

</html>

首页效果展示

屏幕截图 2025-03-22 211514.png
<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>云端中国城管理系统</title>
    <link rel="stylesheet" hert="./css/style.css">
    
    <style>
        body{
            display: flex;
        }



        .left {
            width: 240px;
            height: 900px;
            background-color:#101F4B;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;


        }

        .side {
            width: 100%;
            height: 65px;
            background-color: #c8def1;
            font-weight: 600;
        }

        .under {
            width: 100%;
            flex: 1;
            background-color: #525C64;

        }
        .nav{list-style: none;
            margin-bottom: 20px;

        }
        .nav li{
            margin-bottom: 10px;
        }


        .right {
            flex: 1;
            height: 100%;
            background-color: #F1F2F6;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-direction: column;




        }













        .header {
            width: 1200px;
            height: 50px;
            background-color: cadetblue;

        }




        .footer {
            width: 1200px;
            height: 50px;
            background-color: cadetblue;
        }

        .main {
            width: 1300px;
            height: 800px;
            background-color: #B5BECD;

        }
    </style>
</head>

<body>
    <div class="left">

        <div class="side">云端中国城</div>
        <div class="under">
            <ul class="nav">
                <li>首页</li>
                <li>设置</li>
                <li>用户管理</li>
                <li>奖池管理</li>
                <li>主播认证</li>
                <li>直播认证</li>
                <li>视频管理</li>
                <li>财务管理</li>
                <li>家族管理</li>
                <li>道具管理</li>
                <li>红包管理</li>
                <li>守护管理</li>
                <li>等级管理</li>
                <li>邀请管理</li>
            </ul>
        </div>
    </div>

    <div class="right">
        <div class="header">
            云端中国城管理系统
        </div>
        <div class="main"></div>
        <div class="footer">
            <div class="yema">云端中国城 延安大学 版权所有<div>
                    <div class="biaohao">@2024 Educoder 公网安备43
                        019002000962号
                    </div>
                </div>
            </div>
</body>

</html>







最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容