web管理員系統(tǒng)

代碼實現(xiàn)

使用html標簽代碼實現(xiàn):登錄界面
'''html<!DOCTYPE html>
<html lang="zh">

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

    html,
    body {
        width: 100%;
        height: 100%;
    }

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

    .header {
        width: 100%;
        height: 72px;
        display: flex;
        justify-content: center;
    }

    .main {
        width: 100%;
        flex: 1;
        background-color: rgba(145, 67, 208, 0.285);
    }

    .header .content {
        width: 1200px;
        height: 72px;
        display: flex;
        align-items: center;
    }

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

    .main {
        display: flex;
        justify-content: center;
        align-items: center;
    }

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

    .header {
        width: 100%;
        height: 50px;
        line-height: 50px;
        text-align: center;
        font-size: 18px;
        letter-spacing: 3px;
        border-bottom: solid 1px #eee;
    }

    .login {
        height: 180px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .login p {
        height: 40px;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

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

    .login p button {
        outline: none;
        border: none;
        width: 300px;
        height: 32px;
        border-radius: 16px;
        background-color: #4872f6;
        color: white;
    }

    .login p button:hover {
        background-color: #32e344;
        font-weight: 600;
    }
</style>

</head>

<body>
<div class="header">
<div class="content">
<img src="E:\CloudProgram2024\homework\xiaoetong.logo.png" alt="">
</div>
</div>
<div class="main">
<div class="login-box">
<div class="header">歐鵬AI管理系統(tǒng) 管理員登陸系統(tǒng)</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>

管理員系統(tǒng):<!DOCTYPE html>
<html lang="zh">

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

    html,
    body {
        width: 100%;
        height: 100%;
    }

    body {
        display: flex;
    }

    .left {
        background-color: #85898f;
        height: 100%;
        width: 180px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .right {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .title {
        background-color: black;
        width: 100%;
        height: 40px;
        color: white;
        text-align: center;
        line-height: 40px;
    }

    .header,
    .footer {
        background-color: white;
        width: 100%;
        height: 50px;
        color: black;
        font-size: 18px;
    }

    .header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 20px;
    }

    ul {
        list-style: none;
    }

    li {
        font-weight: 400;
        height: 45px;
        width: 100%;
    }

    li:hover {
        cursor: pointer;
        font-size: 20px;
        font-weight: 800;
    }

    .footer {
        font-size: 12px;
        text-align: center;
    }

    .city {
        font-weight: 500;
    }

    .main {
        width: 100%;
        height: 100%;
        justify-content: center;
    }
</style>

</head>
<body>
<div class="left">
<div class="title">云端中國城</div>
<div>
<ul>
<li><i class="iconfont icon-shouye-zhihui"></i>首頁</li>
<li><i class="iconfont icon-qianshuxieyi"></i>設置</li>
<li><i class="iconfont icon-tianxuangouren"></i>用戶管理</li>
<li><i class="iconfont icon-dianpu"></i>獎池管理</li>
<li><i class="iconfont icon-zhuanshuguwen"></i>主播認證</li>
<li><i class="iconfont icon-kaitongfuwu"></i>直播管理</li>
<li><i class="iconfont icon-zaixianyanzi"></i>視頻管理</li>
<li><i class="iconfont icon-tijiaoyanzi"></i>財務管理</li>
<li><i class="iconfont icon-huikequ"></i>家族管理</li>
<li><i class="iconfont icon-xihuan"></i>道具管理</li>
<li><i class="iconfont icon-zhifudingjin"></i>紅包管理</li>
<li><i class="iconfont icon-guanzhu-zhihui"></i>守護管理</li>
<li><i class="iconfont icon-kandian-zhihui"></i>等級管理</li>
<li><i class="iconfont icon-shequhuodong"></i>邀請獎勵</li>

        </ul>
    </div>
</div>
<div class="right">
    <div class="header">
        <p>云端中國城后臺管理系統(tǒng)</p>
        <p class="city">云端中國城/主播管理</p>
    </div>
    <div class="main">
      <img width="%100" height="%100" src="E:\CloudProgram2024\homework\good\u=2364175415,3466930301&fm=253&fmt=auto&app=138&f=JPEG.webp" alt="">
    </div>

    <div class="footer">
        <p>云端中國城-延安大學版權所有</p>
        <p>@2024 EduCoder 公網(wǎng)安備43019002000962號</p>
    </div>
</div>

</body>

</html>

?著作權歸作者所有,轉載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容