<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ![](https://img.kancloud.cn/05/b6/05b6f93f924ac7086df7bc3ea806e60d_398x680.png) ``` <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" href="static/css/font-icon.css" /> <title>移動端布局參考方案(以商城為例)</title> <style> /* 初始化 */ * { margin: 0; padding: 0; } a { text-decoration: none; color: #666; } html { /* vw: 可視區寬度,100vw:表示占滿100份 */ width: 100vw; height: 100vh; /* 在html中設置字體大小, 給后的rem單位用 */ font-size: 14px; } body { min-width: 360px; background-color: #fff; display: flex; flex-flow: column nowrap; } body > header { background-color: #333; color: white; height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; position: fixed; width: 95vw; } body > .slider { height: 180px; } body > .slider > img { width: 100%; } /* 主導航區 */ nav { height: 200px; display: flex; /* 變成多行容器 */ flex-flow: row wrap; } nav > div { /* 占寬度四分之一 */ width: 25vw; display: flex; flex-flow: column nowrap; align-items: center; } nav > div > a:first-of-type { text-align: center; } nav > div img { width: 50%; } .hot { color: coral; } .title { font-size: 1.2rem; font-weight: normal; text-align: center; margin-top: 10px; } /* 熱銷區樣式 */ .hot-goods { border: 1px solid #cfcfcf; margin-top: 10px; font-size: 0.8rem; display: flex; flex-flow: row wrap; } .hot-goods img { width: 100%; } .hot-goods > .goods-img { padding: 10px; box-sizing: border-box; flex: 1 0 30vw; display: flex; flex-flow: column nowrap; justify-content: center; } .hot-goods > .goods-img > div { display: flex; justify-content: space-around; } /* 商品列表 */ .list-goods { padding: 10px; box-sizing: border-box; border: 1px solid #cfcfcf; font-size: 0.8rem; margin-top: 10px; display: flex; flex-flow: column nowrap; } .list-goods > .goods-desc { display: flex; margin: 10px 0; } .list-goods img { width: 100%; } .list-goods > .goods-desc > a { padding: 10px; box-sizing: border-box; } .list-goods > .goods-desc > a:hover { color: lightseagreen; } /* 頁腳 */ body > footer { color: #666; background-color: #efefef; border-top: 1px solid #ccc; height: 55px; position: fixed; bottom: 0; width: 100vw; display: flex; justify-content: space-around; } body > footer > a { margin-top: 10px; font-size: 0.8rem; display: flex; flex-flow: column nowrap; align-items: center; } body > footer > a > span:first-of-type { font-size: 1.6rem; } </style> </head> <body> <!-- 頁眉 --> <header> <a href="">LOGO</a> <span class="iconfont">&#xe61f;</span> </header> <!-- 輪播圖 --> <div class="slider"> <img src="static/images/banner.jpg" alt="" /> </div> <!-- 主導航區 --> <nav> <div> <a href=""><img src="static/images/link1.webp" alt="" /></a> <a href="">超市精選</a> </div> <div> <a href=""><img src="static/images/link2.webp" alt="" /></a> <a href="">服裝百貨</a> </div> <div> <a href=""><img src="static/images/link3.webp" alt="" /></a> <a href="">優惠劵</a> </div> <div> <a href=""><img src="static/images/link4.webp" alt="" /></a> <a href="">超市精選</a> </div> <div> <a href=""><img src="static/images/link1.webp" alt="" /></a> <a href="">超市精選</a> </div> <div> <a href=""><img src="static/images/link2.webp" alt="" /></a> <a href="">服裝百貨</a> </div> <div> <a href=""><img src="static/images/link3.webp" alt="" /></a> <a href="">優惠劵</a> </div> <div> <a href=""><img src="static/images/link4.webp" alt="" /></a> <a href="">超市精選</a> </div> </nav> <!-- 熱銷商品 --> <h2 class="title">熱銷商品<span class="iconfont hot">&#xe60b;</span></h2> <!-- 熱銷商品 --> <div class="hot-goods"> <div class="goods-img"> <a href=""><img src="static/images/goods1.jpg" alt="" /></a> <p>Apple iPhone X 128G</p> <div> <span>4299&nbsp;元</span> <span class="iconfont hot">&#xe602;</span> </div> </div> <div class="goods-img"> <a href=""><img src="static/images/goods1.jpg" alt="" /></a> <p>Apple iPhone X 256G</p> <div> <span>6299&nbsp;元</span> <span class="iconfont hot">&#xe602;</span> </div> </div> <div class="goods-img"> <a href=""><img src="static/images/goods1.jpg" alt="" /></a> <p>Apple iPhone X 512G</p> <div> <span>8299&nbsp;元</span> <span class="iconfont hot">&#xe602;</span> </div> </div> <div class="goods-img"> <a href=""><img src="static/images/goods2.jpg" alt="" /></a> <p>Apple iPhone X 128G</p> <div> <span>4299&nbsp;元</span> <span class="iconfont hot">&#xe602;</span> </div> </div> <div class="goods-img"> <a href=""><img src="static/images/goods2.jpg" alt="" /></a> <p>Apple iPhone X 256G</p> <div> <span>6299&nbsp;元</span> <span class="iconfont hot">&#xe602;</span> </div> </div> <div class="goods-img"> <a href=""><img src="static/images/goods2.jpg" alt="" /></a> <p>Apple iPhone X 512G</p> <div> <span>8299&nbsp;元</span> <span class="iconfont hot">&#xe602;</span> </div> </div> </div> <!-- 商品列表 --> <h2 class="title">商品列表<span class="iconfont hot">&#xe64b;</span></h2> <div class="list-goods"> <div class="goods-desc"> <a href=""><img src="static/images/goods4.jpg" alt="" /></a> <a href="" >[白條24期免息]Apple蘋果iPhone 11 手機 128G 全網通, 免費領取500元話費, 今天17:00下單,明晨12:00之前送達,7天無理由退貨,官方提供售后, 以上都是我瞎編的<span class="iconfont hot" style="vertical-align: middle;" >&#xe675;</span ></a > </div> <div class="goods-desc"> <a href=""><img src="static/images/goods3.jpg" alt="" /></a> <a href="" >[白條24期免息]Apple洗衣機,專業清洗蘋果手機, 蘋果電腦,iPad,洗好保證不能用, 免費領取500元保險費, 今天17:00下單,明晨12:00之前送達,7天無理由退貨,官方提供售后, 以上都是我瞎編的<span class="iconfont hot" style="vertical-align: middle;" >&#xe675;</span ></a > </div> <div class="goods-desc"> <a href=""><img src="static/images/goods5.png" alt="" /></a> <a href="" >[白條24期免息]Apple蘋果iPhone 11 手機 128G 全網通, 免費領取500元話費, 今天17:00下單,明晨12:00之前送達,7天無理由退貨,官方提供售后, 以上都是我瞎編的<span class="iconfont hot" style="vertical-align: middle;" >&#xe675;</span ></a > </div> <div class="goods-desc"> <a href=""><img src="static/images/goods2.jpg" alt="" /></a> <a href="" >[白條24期免息]華為筆記本MateBook 14 全面屏輕薄性能筆記本電腦 十代酷睿(i5 16G 512G MX250 觸控屏 多屏協同)灰, 以上都是我瞎編的<span class="iconfont hot" style="vertical-align: middle;" >&#xe675;</span ></a > </div> </div> <!-- 頁腳 --> <footer> <a href=""> <span class="iconfont hot">&#xe60c;</span> <span>首頁</span> </a> <a href=""> <span class="iconfont hot">&#xe64c;</span> <span>分類</span> </a> <a href=""> <span class="iconfont hot">&#xe602;</span> <span>購物車</span> </a> <a href=""> <span class="iconfont hot">&#xe65b;</span> <span>未登錄</span> </a> </footer> </body> </html> ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看