小米商城-50%

在这里插入图片描述

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body{
     
          margin: 0;
        }
        img{
     
            width: 100%;
            height: 100%;
        }
        .left{
     
            float: left;
        }
        .container{
     
            width: 1226px;
            margin: 0 auto;
        }
        .header{
     
            background: #333;
        }
        .header .menu{
     
            float: left;
            color: white;
        }
        .header .account{
     
            float: right;
            color: white;
        }
        .header a{
     
            color: #b0b0b0;
            line-height: 40px;
            display: inline-block;
            font-size: 12px;
            margin-right: 20px;
            text-decoration: none;
        }
        .header  a:hover{
     
            color: white;
        }
        .sub-header{
     
            height: 100px;
        }
        .sub-header .hr{
     
            height: 100px;
        }
        .sub-header .logo{
     
            width: 234px;
            float: left;
        }
        .sub-header .menu-list{
     
            float: left;
            line-height: 100px;
        }
        .sub-header .menu-list a{
     
            display: inline-block;
            padding: 0 15px;
            color: #333;
            font-size: 16px;
            text-decoration: none;
        }
        .sub-header .menu-list a:hover{
     
            color: #ff6700;
        }
        .sub-header .search{
     
            float: right;
        }
        .sub-header .logo a{
     
            margin-top: 22px;
            display: inline-block;
        }
        .sub-header .logo a img{
     
            height: 56px;
            width: 56px;
        }
        .slider .sd-img{
     
            width: 1226px;
            height: 460px;
        }
        .news{
     
            margin-top: 14px;
        }
        .news .channel{
     
            width: 228px;
            height: 164px;
            background-color: #5f5750;
            padding: 3px;
        }
        .news .list-item{
     
            width: 316px;
            height: 170px;

        }
        .news .channel .item{
     
            height: 82px;
            width: 76px;
            float: left;
            text-align: center;
        }
        .news .channel .item img{
     
            height: 24px;
            width: 24px;
            display: block;
            margin: 0 auto;
            margin-bottom: 4px;

        }
        .news .channel .item a{
     
            display: inline-block;
            font-size: 12px;
            padding-top: 18px;
            color: #fff;
            text-decoration: none;
            opacity: 0.7;
        }
        .news .channel .item a:hover{
     
            opacity: 1;
        }
    </style>
</head>
<body>
    <div class="header">
        <div class="container">
            <div class="menu">
                <a href="https://www.mi.com">小米商城</a>
                <a href="https://www.mi.com">小米商城</a>
                <a href="https://www.mi.com">小米商城</a>
                <a href="https://www.mi.com">小米商城</a>
            </div>
            <div class="account">
                <a href="https://www.mi.com">登录</a>
                <a href="https://www.mi.com">登录</a>
                <a href="https://www.mi.com">登录</a>
                <a href="https://www.mi.com">登录</a>
            </div>
            <div style="clear: both"></div>
        </div>
    </div>
    <div class="sub-header">
       <div class="container">
            <div class="hr logo">
                <a href="https://www.mi.com" >
                    <img src="static/img.png" >
                </a>
            </div>
            <div class="hr menu-list">
                <a href="https://www.mi.com">xiaomi手机</a>
                <a href="https://www.mi.com">hongmi手机</a>
                <a href="https://www.mi.com">电视</a>
                <a href="https://www.mi.com">笔记本</a>
                <a href="https://www.mi.com">平板</a>
            </div>
            <div class="hr search">wfr</div>
           <div style="clear: both"></div>
       </div>

   </div>
    <div class="slider">
        <div class="container">
            <div class="sd-img">
                <img src="static/img_1.png" alt="">

            </div>
        </div>
    </div>
    <div class="news">
        <div class="container">
            <div class="channel left">
                <div class="item">
                    <a href="https://www.mi.com">
                        <img src="static/img_5.png" alt="">
                        <span>保障服务</span>
                    </a>
                </div>
                <div class="item">
                    <a href="https://www.mi.com">
                        <img src="static/img_5.png" alt="">
                        <span>保障服务</span>
                    </a>
                </div>
                <div class="item">
                    <a href="https://www.mi.com">
                        <img src="static/img_5.png" alt="">
                        <span>保障服务</span>
                    </a>
                </div>
                <div class="item">
                    <a href="https://www.mi.com">
                        <img src="static/img_5.png" alt="">
                        <span>保障服务</span>
                    </a>
                </div>
                <div class="item">
                    <a href="https://www.mi.com">
                        <img src="static/img_5.png" alt="">
                        <span>保障服务</span>
                    </a>
                </div>
                <div class="item">
                    <a href="https://www.mi.com">
                        <img src="static/img_5.png" alt="">
                        <span>保障服务</span>
                    </a>
                </div>
                <div class="clear:both"></div>
            </div>
            <div class="list-item left" style="margin-left:15px ">
                <img src="static/img_2.png" alt="">
            </div>
            <div class="list-item left" style="margin-left:15px ">
                <img src="static/img_3.png" alt="">
            </div>
            <div class="list-item left" style="margin-left:14px ">
                <img src="static/img_4.png" alt="">
            </div>
            <div class="clear:both"></div>
        </div>
    </div>
</body>
</html>

在这里插入图片描述

相关推荐

  1. 商城数据库(51 52 53 54 55 56 57 58 59 60)

    2023-12-19 09:08:02       30 阅读
  2. MySQL商城数据表(50-59

    2023-12-19 09:08:02       27 阅读
  3. 商城数据库(53-56

    2023-12-19 09:08:02       23 阅读
  4. 商城数据库(49-52

    2023-12-19 09:08:02       27 阅读
  5. 爬虫案例—抓取小米商店应用

    2023-12-19 09:08:02       54 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2023-12-19 09:08:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2023-12-19 09:08:02       101 阅读
  3. 在Django里面运行非项目文件

    2023-12-19 09:08:02       82 阅读
  4. Python语言-面向对象

    2023-12-19 09:08:02       91 阅读

热门阅读

  1. 动态规划 - 1137.第N个泰波那契数(C#和C实现)

    2023-12-19 09:08:02       57 阅读
  2. python学习4

    2023-12-19 09:08:02       47 阅读
  3. 手机天线市场分析:预计2029年将达到576亿美元

    2023-12-19 09:08:02       59 阅读
  4. 《Effective C++》条款37

    2023-12-19 09:08:02       57 阅读
  5. 第18课 SQL入门之使用视图

    2023-12-19 09:08:02       74 阅读
  6. 65道Go基础高频题整理(附答案背诵)

    2023-12-19 09:08:02       49 阅读
  7. 2023.12.16力扣每日一题

    2023-12-19 09:08:02       69 阅读
  8. notebook入门使用教程

    2023-12-19 09:08:02       52 阅读
  9. 【PHP】TP5验证规则自定义

    2023-12-19 09:08:02       67 阅读
  10. MySQL! 一个开源的关系型数据库管理系统!

    2023-12-19 09:08:02       55 阅读
  11. 第五章 图论 邻接表存图

    2023-12-19 09:08:02       45 阅读
  12. 手动配置 kafka 用户密码,认证方式等的方式

    2023-12-19 09:08:02       56 阅读