品优购项目源代码

HTML 源代码


1. index.html

<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>品优购商城-正品低价、品质保障、配送及时、轻松购物!</title>
    <!-- 网站说明 -->
    <meta name="description"
        content="京东JD.COM-专业的综合网上购物商城,为您提供正品低价的购物选择、优质便捷的服务体验。商品来自全球数十万品牌商家,囊括家电、手机、电脑、服装、居家、母婴、美妆、个护、食品、生鲜等丰富品类,满足各种购物需求。" />
    <!-- 关键字 -->
    <meta name="Keywords" content="网上购物,网上商城,家电,手机,电脑,服装,居家,母婴,美妆,个护,食品,生鲜,京东" />
    <!-- favicon图标 -->
    <link rel="shortcut icon" href="favicon.ico" />
    <!-- 初始化样式 -->
    <link rel="stylesheet" href="css/base.css">
    <!-- 公共样式 -->
    <link rel="stylesheet" href="css/common.css">
    <!-- 首页专有样式 -->
    <link rel="stylesheet" href="css/index.css">
</head>

<body>
    <!-- 快捷导航模块 -->
    <section class="shortcut">
        <div class="w">
            <div class="fl">
                <ul>
                    <li>品优购欢迎您!&nbsp;</li>
                    <li>
                        <a href="#">请登录</a>&nbsp;&nbsp;<a href="register.html" class="style_red">免费注册</a>
                    </li>
                </ul>
            </div>
            <div class="fr">
                <ul>
                    <li><a href="#">我的订单</a></li>
                    <li></li>
                    <li class="arrow-icon"><a href="#">我的品优购</a></li>
                    <li></li>
                    <li><a href="#">品优购会员</a></li>
                    <li></li>
                    <li><a href="#">企业采购</a></li>
                    <li></li>
                    <li class="arrow-icon"><a href="#">关注品优购</a></li>
                    <li></li>
                    <li class="arrow-icon"><a href="#">客户服务</a></li>
                    <li></li>
                    <li class="arrow-icon"><a href="#">网站导航</a></li>
                </ul>
            </div>
        </div>
    </section>
    <!-- header 头部模块 -->
    <header class="header w">
        <!-- logo 模块 -->
        <div class="logo">
            <h1>
                <a href="index.html" title="品优购商城">品优购商城</a>
            </h1>
        </div>
        <!-- search 模块 -->
        <div class="search">
            <input type="search" name="" id="" placeholder="语言开发">
            <button>搜索</button>
        </div>
        <!-- hotwords 模块 -->
        <div class="hotwords">
            <a href="#" class="style_red">优惠购首发</a>
            <a href="#">亿元优惠</a>
            <a href="#">9.9元团购</a>
            <a href="#">美满99减30</a>
            <a href="#">办公用品</a>
            <a href="#">电脑</a>
            <a href="#">通信</a>
        </div>
        <!-- 购物车模块 -->
        <div href="#" class="shopcar">
            <a href="#">我的购物车</a>
            <i class="count">8</i>
        </div>
    </header>
    <!-- nav 导航模块 -->
    <nav class="nav">
        <div class="w">
            <div class="dropdown">
                <div class="dt">全部商品分类</div>
                <div class="dd">
                    <ul>
                        <li><a href="#">家用电器</a></li>
                        <li><a href="list.html">手机</a><a href="#">数码</a><a href="#">通信</a></li>
                        <li><a href="#">电脑、办公</a> </li>
                        <li><a href="#">家居、家具、家装、厨具</a> </li>
                        <li><a href="#">男装、女装、童装、内衣</a> </li>
                        <li><a href="#">个户化妆、清洁用品、宠物</a> </li>
                        <li><a href="#">鞋靴、箱包、珠宝、奢侈品</a> </li>
                        <li><a href="#">运动户外、钟表</a> </li>
                        <li><a href="#">汽车、汽车用品</a> </li>
                        <li><a href="#">母婴、玩具乐器</a> </li>
                        <li><a href="#">食品、酒类、生鲜、特产</a> </li>
                        <li><a href="#">医药保健</a> </li>
                        <li><a href="#">图书、音像、电子书</a> </li>
                        <li><a href="#">彩票、旅行、充值、票务</a> </li>
                        <li><a href="#">理财、众筹、白条、保险</a> </li></a></li>
                    </ul>
                </div>
            </div>
            <div class="navitems">
                <ul>
                    <li><a href="#">服装城</a></li>
                    <li><a href="#">美妆馆</a></li>
                    <li><a href="#">传智超市</a></li>
                    <li><a href="#">全球购</a></li>
                    <li><a href="#">闪购</a></li>
                    <li><a href="#">团购</a></li>
                    <li><a href="#">拍卖</a></li>
                    <li><a href="#">有趣</a></li>
                </ul>
            </div>
        </div>
    </nav>
    <!-- main 首页专有模块 -->
    <div class="w">
        <div class="main">
            <div class="focus">
                <ul>
                    <li>
                        <img src="upload/focus1.png" alt="">
                    </li>
                </ul>
            </div>
            <div class="newsflash">
                <div class="news">
                    <div class="news-hd">
                        <h5>品优购快报</h5>
                        <a href="#" class="more">更多</a>
                    </div>
                    <div class="news-bd">
                        <ul>
                            <li><a href="#"><strong>[特惠]</strong> 备战开学季全民半价购数码,先到先得 </a></li>
                            <li><a href="#"><strong>[重磅]</strong> 品优稳占家电网购六成份额 </a></li>
                            <li><a href="#"><strong>[特惠]</strong> 百元中秋全品类礼券限量领</a></li>
                            <li><a href="#"><strong>[公告]</strong> 上品优生鲜 享阳澄湖大闸蟹</a></li>
                            <li><a href="#"><strong>[特惠]</strong> 每日享折扣品优品质游</a></li>
                        </ul>
                    </div>
                </div>
                <div class="lifeservice">
                    <ul>
                        <li>
                            <i class="tb_1"></i>
                            <p>话费</p>
                        </li>
                        <li>
                            <i class="tb_2"></i>
                            <p>机票</p>
                        </li>
                        <li>
                            <i class="tb_3"></i>
                            <p>电影票</p>
                        </li>
                        <li>
                            <i class="tb_4"></i>
                            <p>游戏</p>
                        </li>
                        <li>
                            <i class="tb_5"></i>
                            <p>彩票</p>
                        </li>
                        <li>
                            <i class="tb_6"></i>
                            <p>加油卡</p>
                        </li>
                        <li>
                            <i class="tb_7"></i>
                            <p>酒店</p>
                        </li>
                        <li>
                            <i class="tb_8"></i>
                            <p>火车票</p>
                        </li>
                        <li>
                            <i class="tb_9"></i>
                            <p>众筹</p>
                        </li>
                        <li>
                            <i class="tb_10"></i>
                            <p>理财</p>
                        </li>
                        <li>
                            <i class="tb_11"></i>
                            <p>礼品卡</p>
                        </li>
                        <li>
                            <i class="tb_12"></i>
                            <p>白条</p>
                        </li>
                    </ul>
                </div>
                <div class="bargain">
                    <img src="upload/bargain.png" alt="">
                </div>
            </div>
        </div>
    </div>
    <!-- recommend 推荐模块 -->
    <div class="w recom">
        <div class="recom_hd">
            <img src="images/recom.png" alt="">
        </div>
        <div class="recom_bd">
            <ul>
                <li><a href="#"><img src="upload/recom_01.png" alt=""></a></li>
                <li><a href="#"><img src="upload/recom_02.png" alt=""></a></li>
                <li><a href="#"><img src="upload/recom_03.png" alt=""></a></li>
                <li><a href="#"><img src="upload/recom_04.png" alt=""></a></li>
            </ul>
        </div>
    </div>
    <!-- guess 猜你喜欢 -->
    <div class="w guess">
        <div class="guess_hd">
            <h4>猜你喜欢</h4>
            <a href=""><span>换一批</span></a>
        </div>
        <div class="guess_bd">
            <ul>
                <li>
                    <a href="#">
                        <img src="upload/guess_01.png" alt="">
                        <div class="innner">
                            阳光美包新款单肩包女<br>包时尚子母包四件套女
                            <span class="gue_price"><i class="price">116.00</i></span>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="#">
                        <img src="upload/guess_01.png" alt="">
                        <div class="innner">
                            阳光美包新款单肩包女<br>包时尚子母包四件套女
                            <span class="gue_price"><i class="price">116.00</i></span>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="#">
                        <img src="upload/guess_01.png" alt="">
                        <div class="innner">
                            阳光美包新款单肩包女<br>包时尚子母包四件套女
                            <span class="gue_price"><i class="price">116.00</i></span>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="#">
                        <img src="upload/guess_01.png" alt="">
                        <div class="innner">
                            阳光美包新款单肩包女<br>包时尚子母包四件套女
                            <span class="gue_price"><i class="price">116.00</i></span>
                        </div>
                    </a>
                </li>
                <li>
                    <a href="#">
                        <img src="upload/guess_01.png" alt="">
                        <div class="innner">
                            阳光美包新款单肩包女<br>包时尚子母包四件套女
                            <span class="gue_price"><i class="price">116.00</i></span>
                        </div>
                    </a>
                </li>
            </ul>
        </div>
    </div>
    <!-- floor 楼层模块 -->
    <div class="floor">
        <!-- 1楼:家用电器 -->
        <div class="w jiadian">
            <div class="box_hd">
                <h3>家用电器</h3>
                <div class="tab_list">
                    <ul>
                        <li><a id="hot" href="" class="style_red">热门</a></li>
                        <li>|</li>
                        <li><a href="product.html">大家电</a></li>
                        <li>|</li>
                        <li><a href="product.html">生活电器</a></li>
                        <li>|</li>
                        <li><a href="product.html">厨房电器</a></li>
                        <li>|</li>
                        <li><a href="product.html">个护健康</a></li>
                        <li>|</li>
                        <li><a href="product.html">应季电器</a></li>
                        <li>|</li>
                        <li><a href="product.html">空气/净水</a></li>
                        <li>|</li>
                        <li><a href="product.html">新奇特</a></li>
                        <li>|</li>
                        <li><a href="product.html">高端电器</a></li>
                    </ul>
                </div>
            </div>
            <div class="box_bd">
                <div class="tab_content">
                    <div class="tab_list_item">
                        <div class="col_210">
                            <ul>
                                <li><a href="#">节能补贴</a></li>
                                <li><a href="#">4K电视</a></li>
                                <li><a href="#">空气净化器</a></li>
                                <li><a href="#">IH电饭煲</a></li>
                                <li><a href="#">滚筒洗衣机</a></li>
                                <li><a href="#">电热水器</a></li>
                            </ul>
                            <a href="#">
                                <img src="upload/floor-1-1.png" alt="">
                            </a>
                        </div>
                        <div class="col_329">
                            <a href="">
                                <img src="upload/floor-1-b01.png" alt="">
                            </a>
                        </div>
                        <div class="col_221">
                            <a href="#" class="bb">
                                <img src="upload/floor-1-2.png" alt="">
                            </a>
                            <a href="#">
                                <img src="upload/floor-1-3.png" alt="">
                            </a>
                        </div>
                        <div class="col_221">
                            <a href="#">
                                <img src="upload/floor-1-4.png" alt="">
                            </a>
                        </div>
                        <div class="col_219">
                            <a href="#" class="bb">
                                <img src="upload/floor-1-5.png" alt="">
                            </a>
                            <a href="#">
                                <img src="upload/floor-1-6.png" alt="">
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 2楼:手机通讯 -->
        <div class="w phone">
            <div class="box_hd">
                <h3>手机通讯</h3>
                <div class="tab_list">
                    <ul>
                        <li><a id="hot" href="" class="style_red">热门</a></li>
                        <li>|</li>
                        <li><a href="product.html">大家电</a></li>
                        <li>|</li>
                        <li><a href="product.html">生活电器</a></li>
                        <li>|</li>
                        <li><a href="product.html">厨房电器</a></li>
                        <li>|</li>
                        <li><a href="product.html">个护健康</a></li>
                        <li>|</li>
                        <li><a href="product.html">应季电器</a></li>
                        <li>|</li>
                        <li><a href="product.html">空气/净水</a></li>
                        <li>|</li>
                        <li><a href="product.html">新奇特</a></li>
                        <li>|</li>
                        <li><a href="product.html">高端电器</a></li>
                    </ul>
                </div>
            </div>
            <div class="box_bd">
                <div class="tab_content">
                    <div class="tab_list_item">
                        <div class="col_210">
                            <ul>
                                <li><a href="#">节能补贴</a></li>
                                <li><a href="#">4K电视</a></li>
                                <li><a href="#">空气净化器</a></li>
                                <li><a href="#">IH电饭煲</a></li>
                                <li><a href="#">滚筒洗衣机</a></li>
                                <li><a href="#">电热水器</a></li>
                            </ul>
                            <a href="#">
                                <img src="upload/floor-1-1.png" alt="">
                            </a>
                        </div>
                        <div class="col_329">
                            <a href="">
                                <img src="upload/floor-1-b01.png" alt="">
                            </a>
                        </div>
                        <div class="col_221">
                            <a href="#" class="bb">
                                <img src="upload/floor-1-2.png" alt="">
                            </a>
                            <a href="#">
                                <img src="upload/floor-1-3.png" alt="">
                            </a>
                        </div>
                        <div class="col_221">
                            <a href="#">
                                <img src="upload/floor-1-4.png" alt="">
                            </a>
                        </div>
                        <div class="col_219">
                            <a href="#" class="bb">
                                <img src="upload/floor-1-5.png" alt="">
                            </a>
                            <a href="#">
                                <img src="upload/floor-1-6.png" alt="">
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- footer 底部模块 -->
    <footer class="footer">
        <div class="w">
            <div class="mod_service">
                <ul>
                    <li>
                        <h5 class="h5_1"></h5>
                        <div class="service_txt">
                            <h4>正品保障</h4>
                            <p>正品保障,提供发票</p>
                        </div>
                    </li>
                    <li>
                        <h5 class="h5_2"></h5>
                        <div class="service_txt">
                            <h4>急速物流</h4>
                            <p>急速物流,急速送达</p>
                        </div>
                    </li>
                    <li>
                        <h5 class="h5_3"></h5>
                        <div class="service_txt">
                            <h4>无忧售后</h4>
                            <p>7天无理由退换货</p>
                        </div>
                    </li>
                    <li>
                        <h5 class="h5_4"></h5>
                        <div class="service_txt">
                            <h4>特色服务</h4>
                            <p>私人定制家电套餐</p>
                        </div>
                    </li>
                    <li>
                        <h5 class="h5_5"></h5>
                        <div class="service_txt">
                            <h4>帮助中心</h4>
                            <p>您的购物指南</p>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="mod_help">
                <dl>
                    <dt>服务指南</dt>
                    <dd><a href="#">购物流程</a></dd>
                    <dd><a href="#">会员介绍</a></dd>
                    <dd><a href="#">生活旅行/团购</a></dd>
                    <dd><a href="#">常见问题</a></dd>
                    <dd><a href="#">大家电</a></dd>
                    <dd><a href="#">联系客服</a></dd>
                </dl>
                <dl>
                    <dt>配送方式</dt>
                    <dd><a href="#">上门自提</a></dd>
                    <dd><a href="#">211限时达</a></dd>
                    <dd><a href="#">配送服务查询</a></dd>
                    <dd><a href="#">配送费收取标准</a></dd>
                    <dd><a href="#">海外配送</a></dd>
                </dl>
                <dl>
                    <dt>支付方式</dt>
                    <dd><a href="#">货到付款</a></dd>
                    <dd><a href="#">在线支付</a></dd>
                    <dd><a href="#">分期付款</a></dd>
                    <dd><a href="#">邮局汇款</a></dd>
                    <dd><a href="#">公司转账</a></dd>
                </dl>

                <dl>
                    <dt>售后服务</dt>
                    <dd><a href="#">售后政策</a></dd>
                    <dd><a href="#">价格保护</a></dd>
                    <dd><a href="#">退款说明</a></dd>
                    <dd><a href="#">返修/退换货</a></dd>
                    <dd><a href="#">取消订单</a></dd>
                </dl>
                <dl>
                    <dt>特色服务</dt>
                    <dd><a href="#">夺宝岛</a></dd>
                    <dd><a href="#">DIY装机</a></dd>
                    <dd><a href="#">延保服务</a></dd>
                    <dd><a href="#">品优购E卡</a></dd>
                    <dd><a href="#">品优购通信</a></dd>
                </dl>
                <dl>
                    <dt>帮助中心</dt>
                    <dd>
                        <img src="images/QR.png" alt="">
                        品优购客户端
                    </dd>
                </dl>
            </div>
            <div class="mod_copyright">
                <div class="links">
                    <a href="#">关于我们</a> |
                    <a href="#">联系我们</a> |
                    <a href="#">联系客服</a> |
                    <a href="#">商家入驻</a> |
                    <a href="#">营销中心</a> |
                    <a href="#">手机品优购</a> |
                    <a href="#">友情链接</a> |
                    <a href="#">销售联盟</a> |
                    <a href="#">品优购社区</a> |
                    <a href="#">品优购公益</a> |
                    <a href="#">English Site</a> |
                    <a href="#">Contact U</a>
                </div>
                <div class="copyright">
                    地址:北京市昌平区建材城西路金燕龙办公楼一层 邮编:100096 电话:400-618-4000 传真:010-82935100 邮箱: zhanghj+itcast.cn <br>
                    京ICP备08001421号京公网安备110108007702
                </div>
            </div>
        </div>
    </footer>
</body>

</html>

2. list.html

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>商品列表-正品低价、品质保障、配送及时、轻松购物!</title>
    <!-- 网站说明 -->
    <meta name="description"
        content="京东JD.COM-专业的综合网上购物商城,为您提供正品低价的购物选择、优质便捷的服务体验。商品来自全球数十万品牌商家,囊括家电、手机、电脑、服装、居家、母婴、美妆、个护、食品、生鲜等丰富品类,满足各种购物需求。" />
    <!-- 关键字 -->
    <meta name="Keywords" content="网上购物,网上商城,家电,手机,电脑,服装,居家,母婴,美妆,个护,食品,生鲜,京东" />
    <!-- 引入favicon图标 -->
    <link rel="shortcut icon" href="favicon.ico" />
    <!-- 初始化样式 -->
    <link rel="stylesheet" href="css/base.css">
    <!-- 公共样式 -->
    <link rel="stylesheet" href="css/common.css">
    <!-- 列表页专有样式 -->
    <link rel="stylesheet" href="css/list.css">
</head>

<body>
    <!-- 快捷导航模块 -->
    <section class="shortcut">
        <div class="w">
            <div class="fl">
                <ul>
                    <li>品优购欢迎您!&nbsp;</li>
                    <li>
                        <a href="#">请登录</a>&nbsp;&nbsp;<a href="register.html" class="style_red">免费注册</a>
                    </li>
                </ul>
            </div>
            <div class="fr">
                <ul>
                    <li><a href="#">我的订单</a></li>
                    <li></li>
                    <li class="arrow-icon"><a href="#">我的品优购</a></li>
                    <li></li>
                    <li><a href="#">品优购会员</a></li>
                    <li></li>
                    <li><a href="#">企业采购</a></li>
                    <li></li>
                    <li class="arrow-icon"><a href="#">关注品优购</a></li>
                    <li></li>
                    <li class="arrow-icon"><a href="#">客户服务</a></li>
                    <li></li>
                    <li class="arrow-icon"><a href="#">网站导航</a></li>
                </ul>
            </div>
        </div>
    </section>
    <!-- header 头部模块 -->
    <header class="header w">
        <!-- logo 模块 -->
        <div class="logo">
            <h1>
                <a href="index.html" title="品优购商城">品优购商城</a>
            </h1>
        </div>
        <!-- 秒杀模块 -->
        <div class="sk">
            <img src="images/sk.png" alt="">
        </div>
        <!-- search 模块 -->
        <div class="search">
            <input type="search" name="" id="" placeholder="语言开发">
            <button>搜索</button>
        </div>
        <!-- hotwords 模块 -->
        <div class="hotwords">
            <a href="#" class="style_red">优惠购首发</a>
            <a href="#">亿元优惠</a>
            <a href="#">9.9元团购</a>
            <a href="#">美满99减30</a>
            <a href="#">办公用品</a>
            <a href="#">电脑</a>
            <a href="#">通信</a>
        </div>
        <!-- 购物车模块 -->
        <div href="#" class="shopcar">
            <a href="#">我的购物车</a>
            <i class="count">8</i>
        </div>
    </header>
    <!-- nav 导航模块 -->
    <nav class="nav">
        <div class="w">
            <div class="sk_list">
                <ul>
                    <li><a href="#">品优秒杀</a></li>
                    <li><a href="#">即将告罄</a></li>
                    <li><a href="#">超值低价</a></li>
                </ul>
            </div>
            <div class="sk_con">
                <ul>
                    <li><a href="#">女装</a></li>
                    <li><a href="#" class="style_red">女鞋</a></li>
                    <li><a href="#">男装</a></li>
                    <li><a href="#">男鞋</a></li>
                    <li><a href="#">母婴童装</a></li>
                    <li><a href="#">食品</a></li>
                    <li><a href="#">智能数码</a></li>
                    <li><a href="#">运动户外</a></li>
                    <li><a href="#">更多分类</a></li>
                </ul>
            </div>
        </div>
    </nav>
    <!-- main 主体模块 -->
    <div class="w sk_container">
        <div class="sk_hd">
            <img src="upload/bg_03.png" alt="">
        </div>
        <div class="sk_bd">
            <ul class="clearfix">
                <li>
                    <div class="product">
                        <a href="#">
                            <img src="upload/sk_list.jpg" alt="">
                            李佳琦推荐 优调踩屎感厚底拖鞋
                            <p>厚底柔软</p>
                        </a>
                    </div>
                    <div class="pro_intr">
                        <span class="ht">
                            232天历史最低价
                            <span class="sj"></span>
                        </span>
                        <i class="price">
                            <em></em>24.8
                            <span class="price_past">¥39.8</span>
                        </i>
                        <span class="progress">
                            <i>已售34%</i>
                            <i class="inner">
                                <b class="compeleted"></b>
                            </i>
                        </span>
                        <a href="#">立即抢购</a>
                    </div>
                </li>
                <li>
                    <div class="product">
                        <a href="#">
                            <img src="upload/sk_list.jpg" alt="">
                            李佳琦推荐 优调踩屎感厚底拖鞋
                            <p>厚底柔软</p>
                        </a>
                    </div>
                    <div class="pro_intr">
                        <span class="ht">
                            232天历史最低价
                            <span class="sj"></span>
                        </span>
                        <i class="price">
                            <em></em>24.8
                            <span class="price_past">¥39.8</span>
                        </i>
                        <span class="progress">
                            <i>已售34%</i>
                            <i class="inner">
                                <b class="compeleted"></b>
                            </i>
                        </span>
                        <a href="#">立即抢购</a>
                    </div>
                </li>
                <li>
                    <div class="product">
                        <a href="#">
                            <img src="upload/sk_list.jpg" alt="">
                            李佳琦推荐 优调踩屎感厚底拖鞋
                            <p>厚底柔软</p>
                        </a>
                    </div>
                    <div class="pro_intr">
                        <span class="ht">
                            232天历史最低价
                            <span class="sj"></span>
                        </span>
                        <i class="price">
                            <em></em>24.8
                            <span class="price_past">¥39.8</span>
                        </i>
                        <span class="progress">
                            <i>已售34%</i>
                            <i class="inner">
                                <b class="compeleted"></b>
                            </i>
                        </span>
                        <a href="#">立即抢购</a>
                    </div>
                </li>
                <li>
                    <div class="product">
                        <a href="#">
                            <img src="upload/sk_list.jpg" alt="">
                            李佳琦推荐 优调踩屎感厚底拖鞋
                            <p>厚底柔软</p>
                        </a>
                    </div>
                    <div class="pro_intr">
                        <span class="ht">
                            232天历史最低价
                            <span class="sj"></span>
                        </span>
                        <i class="price">
                            <em></em>24.8
                            <span class="price_past">¥39.8</span>
                        </i>
                        <span class="progress">
                            <i>已售34%</i>
                            <i class="inner">
                                <b class="compeleted"></b>
                            </i>
                        </span>
                        <a href="#">立即抢购</a>
                    </div>
                </li>
                <li>
                    <div class="product">
                        <a href="#">
                            <img src="upload/sk_list.jpg" alt="">
                            李佳琦推荐 优调踩屎感厚底拖鞋
                            <p>厚底柔软</p>
                        </a>
                    </div>
                    <div class="pro_intr">
                        <span class="ht">
                            232天历史最低价
                            <span class="sj"></span>
                        </span>
                        <i class="price">
                            <em></em>24.8
                            <span class="price_past">¥39.8</span>
                        </i>
                        <span class="progress">
                            <i>已售34%</i>
                            <i class="inner">
                                <b class="compeleted"></b>
                            </i>
                        </span>
                        <a href="#">立即抢购</a>
                    </div>
                </li>
                <li>
                    <div class="product">
                        <a href="#">
                            <img src="upload/sk_list.jpg" alt="">
                            李佳琦推荐 优调踩屎感厚底拖鞋
                            <p>厚底柔软</p>
                        </a>
                    </div>
                    <div class="pro_intr">
                        <span class="ht">
                            232天历史最低价
                            <span class="sj"></span>
                        </span>
                        <i class="price">
                            <em></em>24.8
                            <span class="price_past">¥39.8</span>
                        </i>
                        <span class="progress">
                            <i>已售34%</i>
                            <i class="inner">
                                <b class="compeleted"></b>
                            </i>
                        </span>
                        <a href="#">立即抢购</a>
                    </div>
                </li>
                <li>
                    <div class="product">
                        <a href="#">
                            <img src="upload/sk_list.jpg" alt="">
                            李佳琦推荐 优调踩屎感厚底拖鞋
                            <p>厚底柔软</p>
                        </a>
                    </div>
                    <div class="pro_intr">
                        <span class="ht">
                            232天历史最低价
                            <span class="sj"></span>
                        </span>
                        <i class="price">
                            <em></em>24.8
                            <span class="price_past">¥39.8</span>
                        </i>
                        <span class="progress">
                            <i>已售34%</i>
                            <i class="inner">
                                <b class="compeleted"></b>
                            </i>
                        </span>
                        <a href="#">立即抢购</a>
                    </div>
                </li>
                <li>
                    <div class="product">
                        <a href="#">
                            <img src="upload/sk_list.jpg" alt="">
                            李佳琦推荐 优调踩屎感厚底拖鞋
                            <p>厚底柔软</p>
                        </a>
                    </div>
                    <div class="pro_intr">
                        <span class="ht">
                            232天历史最低价
                            <span class="sj"></span>
                        </span>
                        <i class="price">
                            <em></em>24.8
                            <span class="price_past">¥39.8</span>
                        </i>
                        <span class="progress">
                            <i>已售34%</i>
                            <i class="inner">
                                <b class="compeleted"></b>
                            </i>
                        </span>
                        <a href="#">立即抢购</a>
                    </div>
                </li>
            </ul>
        </div>
    </div>
    <!-- footer 底部模块 -->
    <footer class="footer">
        <div class="w">
            <div class="mod_service">
                <ul>
                    <li>
                        <h5 class="h5_1"></h5>
                        <div class="service_txt">
                            <h4>正品保障</h4>
                            <p>正品保障,提供发票</p>
                        </div>
                    </li>
                    <li>
                        <h5 class="h5_2"></h5>
                        <div class="service_txt">
                            <h4>急速物流</h4>
                            <p>急速物流,急速送达</p>
                        </div>
                    </li>
                    <li>
                        <h5 class="h5_3"></h5>
                        <div class="service_txt">
                            <h4>无忧售后</h4>
                            <p>7天无理由退换货</p>
                        </div>
                    </li>
                    <li>
                        <h5 class="h5_4"></h5>
                        <div class="service_txt">
                            <h4>特色服务</h4>
                            <p>私人定制家电套餐</p>
                        </div>
                    </li>
                    <li>
                        <h5 class="h5_5"></h5>
                        <div class="service_txt">
                            <h4>帮助中心</h4>
                            <p>您的购物指南</p>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="mod_help">
                <dl>
                    <dt>服务指南</dt>
                    <dd><a href="#">购物流程</a></dd>
                    <dd><a href="#">会员介绍</a></dd>
                    <dd><a href="#">生活旅行/团购</a></dd>
                    <dd><a href="#">常见问题</a></dd>
                    <dd><a href="#">大家电</a></dd>
                    <dd><a href="#">联系客服</a></dd>
                </dl>
                <dl>
                    <dt>配送方式</dt>
                    <dd><a href="#">上门自提</a></dd>
                    <dd><a href="#">211限时达</a></dd>
                    <dd><a href="#">配送服务查询</a></dd>
                    <dd><a href="#">配送费收取标准</a></dd>
                    <dd><a href="#">海外配送</a></dd>
                </dl>
                <dl>
                    <dt>支付方式</dt>
                    <dd><a href="#">货到付款</a></dd>
                    <dd><a href="#">在线支付</a></dd>
                    <dd><a href="#">分期付款</a></dd>
                    <dd><a href="#">邮局汇款</a></dd>
                    <dd><a href="#">公司转账</a></dd>
                </dl>

                <dl>
                    <dt>售后服务</dt>
                    <dd><a href="#">售后政策</a></dd>
                    <dd><a href="#">价格保护</a></dd>
                    <dd><a href="#">退款说明</a></dd>
                    <dd><a href="#">返修/退换货</a></dd>
                    <dd><a href="#">取消订单</a></dd>
                </dl>
                <dl>
                    <dt>特色服务</dt>
                    <dd><a href="#">夺宝岛</a></dd>
                    <dd><a href="#">DIY装机</a></dd>
                    <dd><a href="#">延保服务</a></dd>
                    <dd><a href="#">品优购E卡</a></dd>
                    <dd><a href="#">品优购通信</a></dd>
                </dl>
                <dl>
                    <dt>帮助中心</dt>
                    <dd>
                        <img src="images/QR.png" alt="">
                        品优购客户端
                    </dd>
                </dl>
            </div>
            <div class="mod_copyright">
                <div class="links">
                    <a href="#">关于我们</a> |
                    <a href="#">联系我们</a> |
                    <a href="#">联系客服</a> |
                    <a href="#">商家入驻</a> |
                    <a href="#">营销中心</a> |
                    <a href="#">手机品优购</a> |
                    <a href="#">友情链接</a> |
                    <a href="#">销售联盟</a> |
                    <a href="#">品优购社区</a> |
                    <a href="#">品优购公益</a> |
                    <a href="#">English Site</a> |
                    <a href="#">Contact U</a>
                </div>
                <div class="copyright">
                    地址:北京市昌平区建材城西路金燕龙办公楼一层 邮编:100096 电话:400-618-4000 传真:010-82935100 邮箱: zhanghj+itcast.cn <br>
                    京ICP备08001421号京公网安备110108007702
                </div>
            </div>
        </div>
    </footer>
</body>

</html>

3. register.html

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人注册</title>
    <!-- 引入favicon图标 -->
    <link rel="shortcut icon" href="favicon.ico" />
    <!-- 初始化样式 -->
    <link rel="stylesheet" href="css/base.css">
    <!-- 引入注册页面样式 -->
    <link rel="stylesheet" href="css/register.css">
</head>

<body>
    <div class="w">
        <header>
            <a href="index.html"><img src="images/logo.png" alt=""></a>
        </header>
        <div class="registerarea">
            <h3>
                注册新用户
                <i class="login">
                    我有账号,
                    <a href="#" class="style-red">登录</a>
                </i>
            </h3>
            <div class="reg-form">
                <form action="">
                    <ul>
                        <li>
                            <label for="">手机号:</label>
                            <input type="text" class="inp">
                            <span class="error">
                                <i class="error_icon"></i>
                                手机号码格式不正确,请从新输入
                            </span>
                        </li>
                        <li>
                            <label for="">短信验证码:</label>
                            <input type="text" class="inp">
                            <span class="success">
                                <i class="success_icon"></i>
                                验证码输入正确
                            </span>
                        </li>
                        <li>
                            <label for="">登录密码:</label>
                            <input type="password" class="inp">
                            <span class="error">
                                <i class="error_icon"></i>
                                密码不少于六位数,请重新输入
                            </span>
                        </li>
                        <li class="safe">
                            安全程度:<em class="r"></em> <em class="z"></em> <em class="q"></em>
                        </li>
                        <li>
                            <label for="">确认密码:</label>
                            <input type="password" class="inp">
                            <span class="error">
                                <i class="error_icon"></i>
                                密码不一致,请重新输入
                            </span>
                        </li>
                        <li class="agree">
                            <input type="checkbox" name="" id="" checked="checked"> 同意协议并注册
                            <a href="#">《知果果用户协议》</a>
                        </li>
                        <li>
                            <input type="submit" value="完成注册" class="btn">
                        </li>
                    </ul>
                </form>
            </div>
        </div>
        <footer>
            <div class="mod_copyright">
                <div class="links">
                    <a href="#">关于我们</a> | <a href="#">联系我们</a> |
                    <a href="#">联系客服</a> | <a href="#">商家入驻</a> |
                    <a href="#">营销中心</a> | <a href="#">手机品优购</a> |
                    <a href="#">友情链接</a> | <a href="#">销售联盟</a> |
                    <a href="#">品优购社区</a> | <a href="#">品优购公益</a> |
                    <a href="#">English Site</a> | <a href="#">Contact U</a>
                </div>
                <div class="copyright">
                    地址:北京市昌平区建材城西路金燕龙办公楼一层 邮编:100096 电话:400-618-4000 传真:010-82935100 邮箱: zhanghj+itcast.cn <br>
                    京ICP备08001421号京公网安备110108007702
                </div>
            </div>
        </footer>
    </div>
</body>

</html>

CSS 源代码


1. base.css

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

em,
i {
    font-style: normal
}

li {
    list-style: none
}

img {
    border: 0;
    /*为了照顾部分浏览器图片外面包含链接会有边框的问题*/
    vertical-align: middle
        /*防止图片底侧有空白缝隙*/
}

button {
    cursor: pointer
}

a {
    color: #666;
    text-decoration: none
}

a:hover {
    color: #c81623
}

button,
input {
    font-family: Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
    border: 0;
    outline: none;
}

body {
    -webkit-font-smoothing: antialiased;
    /* CSS3写法:抗锯齿性,让文字显示的更加清晰 */
    background-color: #fff;
    font: 12px/1.5 Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
    color: #666
}

.hide,
.none {
    display: none
}

/* 清除浮动 */
.clearfix:after {
    visibility: hidden;
    clear: both;
    display: block;
    content: ".";
    height: 0
}

.clearfix {
    *zoom: 1
}

2. common.css

/* 声明字体图标 ,注意路径的变化*/
@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?tomleg');
    src:  url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'),
      url('../fonts/icomoon.ttf?tomleg') format('truetype'),
      url('../fonts/icomoon.woff?tomleg') format('woff'),
      url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
/* 版心 */
.w {
    width: 1200px;
    margin: 0 auto;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.style_red {
    color: #c81623;
}
/* 快捷导航模块 */
.shortcut {
    height: 31px;
    line-height: 31px;      /*行高会继承,因此子盒都垂直居中*/
    background-color: #f1f1f1;
}
.shortcut ul li {
    float: left;
}
.shortcut .fr ul li:nth-child(even) {
    width: 1px;
    height: 12px;
    background-color: #666;
    margin: 9px 15px 0;
}
.arrow-icon::after {
    content: '\e91e';
    font-family: 'icomoon';
    margin-left: 6px;
}
/* header 头部制作 */
.header {
    position: relative;
    height: 105px;
}
.logo {
    position: absolute;
    top: 25px;
    width: 171px;
    height: 61px;
    /* background-color: skyblue; */
}
.logo a {
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png) no-repeat;
    /* font-size: 0; */
    text-indent: -9999px;
    overflow: hidden;       /* 溢出隐藏 */
}
.search {
    position: absolute;
    top: 25px;
    left: 346px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}
.search input {
    float: left;
    width: 454px;
    height: 32px;
    padding-left: 10px;
}
.search button {
    float:left;
    width: 80px;
    height: 32px;
    background-color: #b1191a;
    font-size: 16px;
    color: #fff;
    line-height: 32px;
}
.hotwords {
    position: absolute;
    top: 66px;
    left: 346px;
}
.hotwords a {
    margin: 0 10px;
}
.shopcar {
    position: absolute;
    top: 25px;
    right: 60px;
    width: 140px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
}
.shopcar::before {
    content: '\e93a';
    font-family: 'icomoon';
    color: #e60012;
    margin-right: 5px;
}
.shopcar::after {
    content: '\e920';
    font-family: 'icomoon';
    margin-left: 10px;
}
.count {
    position: absolute;
    top: -5px;
    left: 105px;         /* 左对齐会更好 */
    height: 14px;
    line-height: 14px;   /* 行高会继承,此处将行高层叠掉 */
    color: #fff;
    background-color: #e60012;
    padding: 0 5px;
    border-radius: 7px 7px 7px 0;
}
.nav {
    height: 47px;
    border-bottom: 2px solid #b1191a;
}
.nav .dropdown {
    float: left;
    width: 210px;
    height: 45px;
    background-color: #b1191a;
}
.nav .navitems {
    float: left;
}
.dropdown .dt {
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 16px;
    line-height: 45px;
    text-align: center;
}
.dropdown .dd {
    /* display: none; */
    width: 210px;
    height: 465px;
    background-color: #c81623;
    margin-top: 2px;
}
.dropdown .dd ul li {
    /* position: relative; */
    height: 31px;
    line-height: 31px;
    margin-left: 2px;
    padding-left: 10px;
    color: #fff;
}
.dropdown .dd ul li:hover {
    background-color: #fff;
}
.dropdown .dd ul li::after {
    /* position: absolute;
    top: 1px;
    right: 10px; */
    float: right;
    margin-right: 10px;
    color: #fff;
    content: '\e920';
    font-family: 'icomoon';
    font-size: 14px;
}
.dropdown .dd ul li a {
    font-size: 14px;
    color: #fff;
}

.dropdown .dd ul li:hover a {
    color: #c81623;
}
.navitems ul li {
    float: left;
}
.navitems ul li a {
    display: block;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    padding: 0 25px;
}

/* footer 底部模块 */
.footer {
    height: 415px;
    background-color: #f5f5f5;
    padding-top: 30px;
}
.mod_service {
    height: 80px;
    border-bottom: 1px solid #ccc;
}
.mod_service ul li {
    float: left;
    width: 240px;
    height: 50px;
    padding-left: 35px;
}
.mod_service ul li h5 {
    float: left;
    width: 50px;
    height: 50px;
    background:url(../images/icons.png) no-repeat -252px -3px;
    margin-right: 8px;
}
.mod_service ul li .h5_2 {
    background:url(../images/icons.png) no-repeat -254px -54px;
}
.mod_service ul li .h5_3 {
    background:url(../images/icons.png) no-repeat -256px -106px;
}
.mod_service ul li .h5_4 {
    background:url(../images/icons.png) no-repeat -257px -156px;
}
.mod_service ul li .h5_5 {
    background:url(../images/icons.png) no-repeat -256px -209px;
}
.service_txt h4 {
    font-size: 14px;
    margin-top: 5px;
}
.service_txt p {
    font-size: 12px;
}
.mod_help {
    height: 185px;
    border-bottom: 1px solid #ccc;
    padding-top: 20px;
    padding-left: 50px;
    font-size: 12px;
    line-height: 20px;
}
.mod_help dl {
    float: left;
    width: 200px;
}
.mod_help dl:last-child {
    width: 90px;
    text-align: center;
}
.mod_help dl dt {
    font-size: 16px;
    margin-bottom: 10px;
}
.mod_copyright {
    text-align: center;
}
.mod_copyright .links a {
    display: inline-block;
    padding: 0 10px;
    margin: 20px 0 15px 0;
}
.copyright {
    line-height: 20px;
}

3. index.css

.main {
    width: 980px;
    height: 455px;
    margin-left: 220px;
    margin-top: 10px;
}
.focus {
    float: left;
    width: 721px;
    height: 455px;
}
.newsflash {
    float: right;
    width: 250px;
    height: 455px;
}
.news {
    height: 165px;
    border: 1px solid #e4e4e4;
}
.news-hd {
    height: 33px;
    line-height: 33px;
    border-bottom: 1px dotted #e4e4e4;
    padding: 0 15px;
}
.news-hd h5 {
    font-size: 14px;
    float: left;
}
.news-hd .more {
    float: right;
}
.news-hd .more::after {
    content: '\e920';
    font-family: 'icomoon';
    margin-left: 5px;
}
.news-bd {
    padding: 5px 15px 0;
}
.news-bd li {
    height: 24px;
    line-height: 24px;
    /* 超出文字省略号代替 */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.lifeservice {
    overflow: hidden;
    height: 209px;
    border: 1px solid #e4e4e4;
    border-top: none;
    border-left: none;
}

.lifeservice ul li {
    float: left;
    width: 25%;
    height: 71px;
    border: 1px solid #e4e4e4;
    border-top: none;
    border-right: none;
    text-align: center;
}
.lifeservice ul li i {
    display: inline-block;
    width: 24px;
    height: 28px;
    margin-top: 12px;
}
.lifeservice ul .tb_1 {
    background: url(../images/icons.png) -17px -16px no-repeat;
}
.lifeservice ul .tb_2 {
    background: url(../images/icons.png) -78px -16px no-repeat;
}
.lifeservice ul .tb_3 {
    background: url(../images/icons.png) -141px -16px no-repeat;
}
.lifeservice ul .tb_4 {
    background: url(../images/icons.png) -206px -16px no-repeat;
}
.lifeservice ul .tb_5 {
    background: url(../images/icons.png) -17px -88px no-repeat;
}
.lifeservice ul .tb_6 {
    background: url(../images/icons.png) -78px -88px no-repeat;
}
.lifeservice ul .tb_7 {
    background: url(../images/icons.png) -141px -88px no-repeat;
}
.lifeservice ul .tb_8 {
    background: url(../images/icons.png) -206px -88px no-repeat;
}
.lifeservice ul .tb_9 {
    background: url(../images/icons.png) -17px -160px no-repeat;
}
.lifeservice ul .tb_10 {
    background: url(../images/icons.png) -78px -160px no-repeat;
}
.lifeservice ul .tb_11 {
    background: url(../images/icons.png) -141px -160px no-repeat;
}
.lifeservice ul .tb_12 {
    background: url(../images/icons.png) -206px -160px no-repeat;
}
.bargain {
    margin-top: 5px;
}

/* 推荐模块 */
.recom {
    height: 163px;
    background-color: #ebebeb;
    margin-top: 12px;
}
.recom_hd {
    float: left;
    height: 100%;
    width: 205px;
    background-color: #5c5251;
    text-align: center;
    padding-top: 30px;
}
.recom_bd {
    float: left;
}
.recom_bd ul li {
    position: relative;
    float: left;
}
.recom_bd ul li img {
    width: 248px;
    height: 163px;
}
.recom_bd ul li:nth-child(-n+3):after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    width: 1px;
    height: 145px;
    background-color: #ddd;
}

/* guess 猜你喜欢模块 */
.guess {
    margin-top: 30px;
}
.guess_hd {
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
}
.guess_hd h4 {
    display: inline-block;
    font-size: 18px;
    font-weight: normal;
}
.guess_hd span::after {
    content: '\ea2e';
    font-family: 'icomoon';
    padding: 0 20px 0 10px;
}
.guess_hd a {
    float: right;
}
.guess_bd {
    height: 233px;
    border: 1px solid #ededed;
}
.guess_bd ul li {
    float: left;
    width: 20%;
    height: 233px;
    padding: 0 20px 0 40px;
}

.guess_bd ul li img {
    width: 160px;
    height: 141px;
    margin: 10px 0 10px -10px;
}
.guess_bd ul li .gue_price {
    color: #df3033;
}
.guess_bd ul li span i {
    font-size: 18px;
}
/* 家电模块 */
.box_hd {
    height: 30px;
    border-bottom: 2px solid #c81623;
}
.box_hd h3 {
    float: left;
    font-size: 18px;
    color: #c81623;
    font-weight: normal;
}
.tab_list {
    float: right;
    line-height: 30px;
}
.tab_list ul li {
    float: left;
}
.tab_list ul li a {
    margin: 0 15px;
}
.floor .w {
    margin-top: 30px;
}
.box_bd {
    height: 361px;
}
.tab_list_item>div {
    float: left;
    height: 361px;  
}
.col_210 {
    width: 210px;
    background-color: #f9f9f9;
    text-align: center;
}
.col_210 ul {
    padding-left: 12px;
}
.col_210 ul li {
    float: left;
    width: 85px;
    height: 34px;
    border-bottom: 1px solid #ccc;
    line-height: 33px;
    margin-right: 10px;
}
.col_329 {
    width: 329px;
}
.col_221 {
    width: 221px;
    border-right: 1px solid #ccc;
}
.col_219 {
    width: 219px;
}
.bb {
    /* 一般情况下,a如果包含有宽度的盒子,a需要转为块级元素 */
    display: block;
    border-bottom: 1px solid #ccc;
}

4. list.html

.nav {
    overflow: hidden;
}
.sk {
    position: relative;
}
.sk img {
    position: absolute;
    left: 190px;
    top: 40px;
    border-left: 1px solid #c81523;
    padding: 2px 0 0 14px;
}
.sk_list {
    float: left;
}
.sk_con {
    float: left;
}
.sk_list ul li {
    float: left;
}
.sk_list ul li a {
    display: block;
    line-height: 47px;
    padding: 0 30px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
}
.sk_con ul li {
    float: left;
}
.sk_con ul li a {
    display: block;
    line-height: 49px;
    padding: 0 20px;
    font-size: 14px;
}
.sk_con ul li:last-child a::after {
    content: '\e91e';
    font-family: 'icomoon';
}

/* 女鞋产品 */
/* .sk_bd {
    overflow: hidden;   清除浮动
} */
.sk_bd ul li {
    float: left;
    width: 300px;
    height: 400px;
    border: 1px solid transparent;
}

.sk_bd ul li:hover {
    border: 1px solid #c81523;
}
.product {
    width: 100%;
    height: 300px;
    background-color: #fff;
    padding: 0 20px;
    font-size: 14px;
    border-bottom: 1px solid #e6e6e6;
}
.product a img {
    width: 200px;
    height: 200px;
    margin: 20px 30px 0px 30px;
}
.product a img:hover {
    width: 200px;
    height: 200px;
    margin: 0px 30px 20px 30px;
    transition: all .5s;
}
.product a>p {
    color: #e01222;
    margin: 10px 0;
}
.pro_intr {
    position: relative;
    width: 300px;
    height: 100px;
}
/* 历史最低价格 */
.pro_intr .ht {
    position: relative;
    display: inline-block;
    height: 14px;
    font-size: 12px;
    color: gray;
    background-color: #e6e6e6;
    padding: 0 8px 0 8px;
    margin: 10px 0px 5px 18px;
    line-height: 14px;
    border-radius: 4px;
}
.pro_intr .ht .sj {
    position: absolute;
    bottom: -8px;
    left: 50px;
    border: 4px solid transparent;
    border-top-color: #e6e6e6;
}
.pro_intr .price {
    display: block;
    color: #e01222;
    font-size: 20px;
}
.pro_intr .price em {
    margin-left: 18px;
    font-size: 12px;
}
.pro_intr .price .price_past {
    font-size: 12px;
    color: gray;
    text-decoration: line-through;
    margin-left: 20px;
}
.pro_intr .progress {
    font-size: 12px;
    margin-left: 20px;
}
.pro_intr .progress .inner {
    position: relative;
    display: inline-block;
    width: 88px;
    height: 8px;
    background-color: #e6e6e6;
    border-radius: 8px;
    margin-left: 10px;
}
.pro_intr .progress .inner .compeleted {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #c81623;
    width: 34%;
    height: 8px;
    border-radius: 8px 0 0 8px;
}
.pro_intr a {
    position: absolute;
    top: 0;
    right: 5px;
    bottom: 0;
    margin: auto 0;
    color: #fff;
    width: 80px;
    height: 40px;
    background-color: #c81623;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
}

5. register.css

.w {
    width: 1200px;
    margin: 0 auto;
}
.style-red {
    color: #c81623;
}
header {
    margin-top: 15px;
    border-bottom: 2px solid #b1191a;
}
.registerarea {
    height: 522px;
    border: 1px solid #ccc;
    margin-top: 20px;
}
.registerarea h3 {
    height: 42px;
    border-bottom: 1px solid #ccc;
    background-color: #ececec;
    font-size: 18px;
    font-weight: normal;
    line-height: 42px;
    padding: 0 12px;
}
.login {
    float: right;
    font-size: 14px;
}
.reg-form {
    width: 600px;
    margin: 0 auto;
    margin-top: 50px;
}
.reg-form ul li .inp {
    width: 240px;
    height: 36px;
    border: 1px solid #ccc;
}
.reg-form ul li:nth-child(-n+4) {
    margin-bottom: 20px;
}
.reg-form ul li label {
    display: inline-block;
    width: 88px;
    text-align: right;
}
.error {
    color: #c81623;
}
.error_icon,
.success_icon {
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    background: url(../images/error.png) no-repeat;
}
.success {
    color: green;
}
.success_icon {
    background: url(../images/success.png) no-repeat;
}
.safe {
    padding-left: 155px;
}
.safe em {
    padding: 0 12px;
    color: #fff;
    background-color: #40b83f;
}
.safe .r {
    background-color: #c81623;
}
.safe .z {
    background-color: #40b83f;
}
.safe .q {
    background-color: #f79100;
}
.agree {
    margin-top: 40px;
    padding-left: 95px;
}
.agree input {
    vertical-align: middle;
}
.agree a {
    color: #1ba1e6;
}
.reg-form ul li .btn {
    margin-top: 50px;
    margin-left: 100px;
    width: 200px;
    height: 34px;
    color: #fff;
    background-color: #c81623;
}
/* footer */
.mod_copyright {
    text-align: center;
    padding-top: 20px;
}
.links {
    margin-bottom: 15px;
}
.links a {
    margin: 0 3px;
}
.copyright {
    line-height: 20px;
}
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

imByte

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值