品优购项目(HTML\CSS)

项目效果可访问 http://zhousunyu.3vdo.club  查看

主页

<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>品优购</title><!-- 引入初始化样式文件 -->
<link rel="stylesheet" href="css/base.css">
<!-- 引入公共的样式文件 -->
<link rel="stylesheet" href="css/common.css">
<!-- main板块的样式文件 -->
<link rel="stylesheet" href="css/index.css">
<!-- 设置icon标签栏的网页图标 -->
<link rel="shortcut icon" href="favicon.ico"></head>
<body><!-- 快捷导航模块 --><div class="shortcut"><div class="w"><div class="fl"><ul><li>品优购欢迎您!&nbsp; </li><li><a href="login.html">请登录&nbsp</a><a href="register.html" class="style_red">免费注册</a></li></ul></div><div class="fr"><ul><li>我的订单</li><li></li><li class="mypin">我的品优购</li><li></li><li>品优购会员</li><li></li><li>企业采购</li><li></li><li class="focuspin">关注品优购</li><li></li><li class="clientcare">客户服务</li><li></li><li class="naviationofwebsite">网站导航</li></ul></div></div></div><!-- 快捷导航模块end --><!-- header 模块start --><header class="header w"><!-- logo 模块 --><div class="logo"><h1><a href="index.html" title="品优购商城">品优购商城</a></h1></div><!-- 搜索模块 --><div class="search"><input type="search" 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><!-- 购物车 shopcar模块 --><div class="shopcar"><i class="count">8</i>我的购物车</div></header><!-- heaader 模块 end--><!-- nav 模块的制作 start --><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> <a href="#">办公</a> </li><li><a href="#">家居</a> <a href="#">家具</a> <a href="#">家装</a> <a href="#">厨具</a></li><li><a href="#">童装</a> <a href="#">男装</a> <a href="#">女装</a> <a href="#">内衣</a></li><li><a href="#">个户化妆</a> <a href="#">清洁用品</a> <a href="#">宠物</a></li><li><a href="#">鞋靴</a> <a href="#">珠宝</a> <a href="#">奢侈品</a> <a href="#">珠宝</a></li><li><a href="#">运动户外</a> <a href="#">钟表</a></li><li><a href="#">汽车</a> <a href="#">汽车用品</a></li><li><a href="#">母婴</a> <a href="#">玩具乐器</a></li><li><a href="#">食品</a> <a href="#">酒水</a></li><li><a href="#">医药</a> <a href="#">保健</a></li><li><a href="#">图书影像</a> <a href="#">电子书</a></li><li><a href="#">彩票</a> <a href="#">旅行</a> <a href="#">充值</a> <a href="#">票务</a></li><li><a href="#">理财</a> <a href="#">众筹</a> <a href="#">白条</a> <a href="#">保险</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="#">Zavier法拍</a></li><li><a href="#">企业购 | 团购</a></li><li><a href="#">全球行</a></li><li><a href="#">排行榜</a></li></ul></div></div></nav><!-- nav 模块的制作 end --><!-- main模块的制作 start -->
<div class="w"><div class="main"><div class="focus"><!-- 注意: 结构不能直接插入图片必须添加li  具体操作看前面写的淘宝轮播图完善--><ul><li><img src="upload/focus1.png" alt=""></img></li></ul></div><div class="newsflash"><div class="news"><div class="hd"><h5>品优购快报</h5><div class="gengduo"><a href="#">更多</a></div></div><div class="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></i><br>话费</li><li><i></i><br>话费</li><li><i></i><br>话费</li><li><i></i><br>话费</li><li><i></i><br>话费</li><li><i></i><br>话费</li><li><i></i><br>话费</li><li><i></i><br>话费</li><li><i></i><br>话费</li><li><i></i><br>话费</li><li><i></i><br>话费</li><li><i></i><br>话费</li></ul></div><div class="bargain"><img src="upload/bargain.png" alt=""></img></div></div></div>
</div>
<!-- main模块的制作 end --><!-- 推荐模块制作 start -->
<div class="w recom"><div class="recom_hd"><img src="images/recom.png" alt="今日推荐"></div><div class="recom_bd"><ul><li><img src="upload/recom_03.jpg"></li><li><img src="upload/recom_03.jpg"></li><li><img src="upload/recom_03.jpg"></li><li><img src="upload/recom_03.jpg"></li></ul></div>
</div> 
<!-- 推荐模块制作 end --><!-- 楼层区域制作  start -->
<div class="floor"><!-- 一楼家电模块制作  start --><div class="jiadian w"><div class="firstfloor_hd"><h3>家用电器</h3><!-- 注意,下边的这个名字不可以随意进行更改 --><div class="tab_list"><ul><li><a href="#" class="tab_list_hot">热门</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></ul></div></div><div class="firstfloor_bd"><!-- 先放一个 后面学JS再补 --><div class="tab_content"><div class="tab_list_tiem"><div class="col_210"><ul><li><a href="#">节能补贴</a></li></ul><ul><li><a href="#">节能补贴</a></li></ul><ul><li><a href="#">节能补贴</a></li>   </ul><ul><li><a href="#">节能补贴</a></li> </ul><ul><li><a href="#">节能补贴</a></li>           </ul><ul><li><a href="#">节能补贴</a></li>               </ul><a href="#"><img src="upload/floor-1-1.png"></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="b"><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><!-- 楼层区域制作  end --><!-- 底部模块制作 start --><footer class="footer"><div class="w"><div class="mod_service"><ul><li class="zhengpin"><h5></h5><div class="service_txt"><h4>正品保障</h4><p>正品保障,提供发票</p></div></li><li class="wuliu"><h5></h5><div class="service_txt"><h4>极速物流</h4><p>极速物流,极速送达</p></div></li><li class="shouhou"><h5></h5><div class="service_txt"><h4>无忧售后</h4><p>七天无理由退货</p></div></li><li class="service"><h5></h5><div class="service_txt"><h4>特色服务</h4><p>私人订制个性化套餐</p></div></li><li  class="help"><h5></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><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><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="#">常见问题</a></dd><dd><a href="#">品优购E卡</a></dd><dd><a href="#">品优购通信</a></dd></dl><dl><dt>帮助中心</dt><dd> <img src="images/wx_cz.jpg" alt="">品优购客户端</dd></dl></div><div class="mod_copyright"><div class="copyright_top"><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_bottom">地址:北京市昌平区建材城西路金燕龙办公楼一层 邮编:100096 电话:400-618-4000 传真:010-82935100 邮箱: zhanghj+itcast.cn<br>京ICP备08001421号京公网安备110108007702</div></div></div></footer><!-- 底部模块制作 end --></body></html>

列表页:

<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>列表页-综合网络首选-正品低价、品质保证、配送及时、轻松购物!</title><meta name="keywords" content="正品低价、品质保证、配送及时、轻松购物、手机、笔记本、电脑、家居百货"><meta name="description" content="品优购商城-专业的综合网上购物商城,销售家电、数码通讯、电脑、家居百货!"></meta><link rel="shortcut icon" href="favicon.ico" type="image/x-icon"><!-- 引入初始化样式文件 --><link rel="stylesheet" href="css/base.css"><!-- 引入公共的样式文件 --><link rel="stylesheet" href="css/common.css"><link rel="stylesheet" href="css/list.css">
</head>
<style>.box {position: relative;width: 290px;height: 460px;border: 1px solid transparent;}.mobile img {width: 283px;height: 290px;}.trade_intro {width: 265px;height: 35px;margin: 7px 12px 10px 13px;}.trade_intro h5 {font-size: 14px;line-height: 17px;font-weight: 400;color: rgb(102, 102, 102);}.price {position: relative;width: 120px;height: 18px;/* border: 1px solid red; *//* background-color: pink; */margin: 0px 155px 6px 15px;padding: 0 10px;}.price h6 {position: absolute;top: -2px;left: -8px;display: block;float: left;font-size: 22px;line-height: 21px;font-weight: 700;color: red;}.price del {display: block;float: right;color: #a4a4a4;font-size: 14px;}.bar {float: left;width: 133px;height: 13px;border: 1px solid red;border-radius: 3px;padding: 1px;}.bar_in {width: 87%;height: 100%;background-color: red;}.good_progress h8 {display: block;float: left;width: 49px;height: 14px;font-family: SimSun;font-size: 14px;font-weight: normal;font-stretch: normal;line-height: 21px;letter-spacing: 0px;color: #666666;margin: 0 11px 13px 15px;}.good_progress .extra {float: left;display: block;margin: 0px 7px 13px 7px;width: 59px;height: 14px;font-family: SimSun;font-size: 14px;font-weight: normal;font-stretch: normal;line-height: 21px;letter-spacing: 0px;color: #666666;}.extra i {font-style: normal;color: red;}.buy_imi {position: absolute;right: 0;bottom: 0;width: 290px;height: 46px;background-color: #b1191a;}.buy_imi h3 {display: block;margin: 15px 105px 13px 105px;width: 80px;height: 19px;font-family: SimSun;font-size: 20px;font-weight: normal;font-stretch: normal;line-height: 19px;letter-spacing: 0px;color: #ffffff;/* padding: 18px 106 13px 105px; */}
</style>
<body><!-- 快捷导航模块 --><div class="shortcut"><div class="w"><div class="fl"><ul><li>品优购欢迎您!&nbsp; </li><li><a href="login.html">请登录&nbsp</a><a href="register.html" class="style_red">免费注册</a></li></ul></div><div class="fr"><ul><li>我的订单</li><li></li><li class="mypin">我的品优购</li><li></li><li>品优购会员</li><li></li><li>企业采购</li><li></li><li class="focuspin">关注品优购</li><li></li><li class="clientcare">客户服务</li><li></li><li class="naviationofwebsite">网站导航</li></ul></div></div></div><!-- 快捷导航模块end --><!-- header 模块start --><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><!-- 搜索模块 --><div class="search"><input type="search" 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><!-- 购物车 shopcar模块 --><div class="shopcar"><i class="count">8</i>我的购物车</div></header><!-- heaader 模块 end--><!-- nav 模块的制作 start --><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="sk_con_secondli">女装</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="#" class="sk_con_lastli">更多分类</a> </li></ul></div></div></nav><!-- nav 模块的制作 end --><!-- 列表页主体部分 start -->
<div class="w sk_container"><div class="sk_hd"><img src="upload//bg_03.png"></div><div class="sk_bd"><ul class="clearfix"><li><div class="box"><div class="mobile"><img src="images/mobile.jpg" alt="手机"></div><div class="trade_intro"><h5>Apple苹果Iphone6 pro(A2199)512G金色 移动联通电信5G手机</h5></div><div class="price"><h6>¥6088 </h6><del>¥6988</del></div><div class="good_progress"><h8>已售87%</h8><div class="bar"><div class="bar_in"></div></div><h9 class="extra">剩余<i>29</i>件</h9></div><div class="buy_imi"><a><h3>立即抢购</h3></a></div></div>    </li><li><div class="box"><div class="mobile"><img src="images/mobile.jpg" alt="手机"></div><div class="trade_intro"><h5>Apple苹果Iphone6 pro(A2199)512G金色 移动联通电信5G手机</h5></div><div class="price"><h6>¥6088 </h6><del>¥6988</del></div><div class="good_progress"><h8>已售87%</h8><div class="bar"><div class="bar_in"></div></div><h9 class="extra">剩余<i>29</i>件</h9></div><div class="buy_imi"><a><h3>立即抢购</h3></a></div></div></li><li><div class="box"><div class="mobile"><img src="images/mobile.jpg" alt="手机"></div><div class="trade_intro"><h5>Apple苹果Iphone6 pro(A2199)512G金色 移动联通电信5G手机</h5></div><div class="price"><h6>¥6088 </h6><del>¥6988</del></div><div class="good_progress"><h8>已售87%</h8><div class="bar"><div class="bar_in"></div></div><h9 class="extra">剩余<i>29</i>件</h9></div><div class="buy_imi"><a><h3>立即抢购</h3></a></div></div></li><li><div class="box"><div class="mobile"><img src="images/mobile.jpg" alt="手机"></div><div class="trade_intro"><h5>Apple苹果Iphone6 pro(A2199)512G金色 移动联通电信5G手机</h5></div><div class="price"><h6>¥6088 </h6><del>¥6988</del></div><div class="good_progress"><h8>已售87%</h8><div class="bar"><div class="bar_in"></div></div><h9 class="extra">剩余<i>29</i>件</h9></div><div class="buy_imi"><a><h3>立即抢购</h3></a></div></div></li><li><div class="box"><div class="mobile"><img src="images/mobile.jpg" alt="手机"></div><div class="trade_intro"><h5>Apple苹果Iphone6 pro(A2199)512G金色 移动联通电信5G手机</h5></div><div class="price"><h6>¥6088 </h6><del>¥6988</del></div><div class="good_progress"><h8>已售87%</h8><div class="bar"><div class="bar_in"></div></div><h9 class="extra">剩余<i>29</i>件</h9></div><div class="buy_imi"><a><h3>立即抢购</h3></a></div></div></li><li><div class="box"><div class="mobile"><img src="images/mobile.jpg" alt="手机"></div><div class="trade_intro"><h5>Apple苹果Iphone6 pro(A2199)512G金色 移动联通电信5G手机</h5></div><div class="price"><h6>¥6088 </h6><del>¥6988</del></div><div class="good_progress"><h8>已售87%</h8><div class="bar"><div class="bar_in"></div></div><h9 class="extra">剩余<i>29</i>件</h9></div><div class="buy_imi"><a><h3>立即抢购</h3></a></div></div></li><li><div class="box"><div class="mobile"><img src="images/mobile.jpg" alt="手机"></div><div class="trade_intro"><h5>Apple苹果Iphone6 pro(A2199)512G金色 移动联通电信5G手机</h5></div><div class="price"><h6>¥6088 </h6><del>¥6988</del></div><div class="good_progress"><h8>已售87%</h8><div class="bar"><div class="bar_in"></div></div><h9 class="extra">剩余<i>29</i>件</h9></div><div class="buy_imi"><a><h3>立即抢购</h3></a></div></div></li><li><div class="box"><div class="mobile"><img src="images/mobile.jpg" alt="手机"></div><div class="trade_intro"><h5>Apple苹果Iphone6 pro(A2199)512G金色 移动联通电信5G手机</h5></div><div class="price"><h6>¥6088 </h6><del>¥6988</del></div><div class="good_progress"><h8>已售87%</h8><div class="bar"><div class="bar_in"></div></div><h9 class="extra">剩余<i>29</i>件</h9></div><div class="buy_imi"><a><h3>立即抢购</h3></a></div></div></li><li><div class="box"><div class="mobile"><img src="images/mobile.jpg" alt="手机"></div><div class="trade_intro"><h5>Apple苹果Iphone6 pro(A2199)512G金色 移动联通电信5G手机</h5></div><div class="price"><h6>¥6088 </h6><del>¥6988</del></div><div class="good_progress"><h8>已售87%</h8><div class="bar"><div class="bar_in"></div></div><h9 class="extra">剩余<i>29</i>件</h9></div><div class="buy_imi"><a><h3>立即抢购</h3></a></div></div></li></ul></div>
</div><!-- 列表页主体部分 end --><!-- 底部模块制作 start --><footer class="footer"><div class="w"><div class="mod_service"><ul><li class="zhengpin"><h5></h5><div class="service_txt"><h4>正品保障</h4><p>正品保障,提供发票</p></div></li><li class="wuliu"><h5></h5><div class="service_txt"><h4>极速物流</h4><p>极速物流,极速送达</p></div></li><li class="shouhou"><h5></h5><div class="service_txt"><h4>无忧售后</h4><p>七天无理由退货</p></div></li><li class="service"><h5></h5><div class="service_txt"><h4>特色服务</h4><p>私人订制个性化套餐</p></div></li><li class="help"><h5></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><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><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="#">常见问题</a></dd><dd><a href="#">品优购E卡</a></dd><dd><a href="#">品优购通信</a></dd></dl><dl><dt>帮助中心</dt><dd><img src="images/wx_cz.jpg" alt="">品优购客户端</dd></dl></div><div class="mod_copyright"><div class="copyright_top"><a href="#">关于我们</a> | <a href="#">联系我们</a> | <a href="#">联系客服</a> | <a href="#">商家入驻</a> | <ahref="#">营销中心</a> | <a href="#">手机品优购</a> | <a href="#">友情链接</a> | <a href="#">销售联盟</a> | <ahref="#">品优购社区</a> | <a href="#">品优购公益</a> | <a href="#">English Site</a> | <a href="#">ContactU</a></div><div class="copyright_bottom">地址:北京市昌平区建材城西路金燕龙办公楼一层 邮编:100096 电话:400-618-4000 传真:010-82935100 邮箱: zhanghj+itcast.cn<br>京ICP备08001421号京公网安备110108007702</div></div></div></footer><!-- 底部模块制作 end --></body>
</html>

注册页面:

<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>注册页面</title>
</head>
<!-- 引入初始化样式文件 -->
<link rel="stylesheet" href="css/base.css">
<!-- 设置icon标签栏的网页图标 -->
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="css/register.css">
<body><div class="w"><div class="header"><div class="logo"><a href="index.html"><img src="images/logo.png" alt=""></a></div></div><div class="registerarea"><h3>注册新用户<div class="login">我有账号,去<a href="#">登录</a></div></h3><div class="reg_form"><form action=""><ul><li><label for="">手机号:</label><input type="text" class="inp">  <i class="error_icon"></i><spanclass="error">手机号格式不正确,请查证后重新输入</span></li><li><label for="">手机验证码:</label><input type="text" class="inp">  <i class="error_icon"></i><spanclass="error">手机验证码输入错误</span></li><li><label for="">输入密码:</label><input type="text" class="inp">  <i class="error_icon"></i><spanclass="error">密码格式不正确,密码的格式为6-18位</span></li><li class="safe">安全程度 <em class="ruo">弱</em> <em class="zhong">中</em> <em class="qiang">强</em></li><li><label for="">确认密码:</label><input type="text" class="inp">  <i class="success_icon"></i><spanclass="success">确认密码输入正确</span></li><li class="agree"><input type="checkbox" name="" id="">同意协议并注册<a href="#">《知晓用户协议》</a></li><li><input type="submit" value="提交注册" class="btn"></li></ul></form></div>
</div><div class="footer"><div class="mod_copyright"><div class="copyright_top"><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> | <ahref="#">品优购公益</a> | <a href="#">English Site</a> | <a href="#">ContactU</a></div><div class="copyright_bottom">地址:北京市昌平区建材城西路金燕龙办公楼一层 邮编:100096 电话:400-618-4000 传真:010-82935100 邮箱: zhanghj+itcast.cn<br>京ICP备08001421号京公网安备110108007702</div></div></div></div>
</body>
</html>

样式模块:

base.css
 

/* 把我们所有标签的内外边距清零 */
* {margin: 0;padding: 0;/* css3盒子模型 */box-sizing: border-box;
}
/* em 和 i 斜体的文字不倾斜 */
em,
i {font-style: normal
}
/* 去掉li 的小圆点 */
li {list-style: none
}img {/* border 0 照顾低版本浏览器 如果 图片外面包含了链接会有边框的问题 */border: 0;/* 取消图片底侧有空白缝隙的问题 */vertical-align: middle
}button {/* 当我们鼠标经过button 按钮的时候,鼠标变成小手 */cursor: pointer
}a {color: #666;text-decoration: none
}a:hover {color: #c81623
}button,
input {/* "\5B8B\4F53" 就是宋体的意思 这样浏览器兼容性比较好 */font-family: Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;/* 默认有灰色边框我们需要手动去掉 */border: 0; outline: none;
}body {/* CSS3 抗锯齿形 让文字显示的更加清晰 */-webkit-font-smoothing: antialiased;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;
}

common.css

/* icomoon声明   注意此处要注意路径的变化*/
@font-face {font-family: 'icomoon';src: url('../fonts/icomoon.eot?mfgl5q');src: url('../fonts/icomoon.eot?mfgl5q#iefix') format('embedded-opentype'),url('../fonts/icomoon.ttf?mfgl5q') format('truetype'),url('../fonts/icomoon.woff?mfgl5q') format('woff'),url('../fonts/icomoon.svg?mfgl5q#icomoon') format('svg');font-weight: normal;font-style: normal;font-display: block;
}/* 版 心 */
.w {width: 1200px;margin: 0 auto;
}/* 快捷导航模块 */
.shortcut {/* width: 100%; */height: 31px;background-color: #f1f1f1;line-height: 31px;
}.shortcut ul li {float: left;
}.style_red {color: #c81623;
}.fl {float: left;}.fr {float: right;
}/* 选择所有偶数的li */
.shortcut .w .fr ul li:nth-child(even) {width: 1px;height: 12px;background-color: #666;margin: 9px 15px 0px;
}.mypin::after {font-family: 'icomoon';content: '';margin-left: 6px;
}.focuspin::after {content: '';margin-left: 6px;font-family: 'icomoon';
}.clientcare::after {content: '';font-family: 'icomoon';margin-left: 6px;
}.naviationofwebsite::after {content: '\e91e';font-family: 'icomoon';margin-left: 6px;
}.header {position: relative;height: 105px;/* background-color: aquamarine; */
}.logo { position: absolute;top: 25px;
width: 171px;
height: 61px;
/* background-color: skyblue; */
}.logo h1 a  { display: block;width: 171px;height: 61px;background: url("../images/logo.png") no-repeat;font-size: 0;
}
.search {position: absolute;left: 346px;top: 25px;width: 538px;height: 36px;border: 2px solid #b1191a;/* margin: 346px auto; */
}
.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;
}
.hotwords {position: absolute;top: 66px;left: 346px;
}
.hotwords a { 
margin:0 10px; 
}.shopcar{position: absolute;right: 60px;top: 25px;line-height: 35px;text-align: center;width: 140px;height: 35px;background-color: #f7f7f7;border: 2px solid #dfdfdf;
}
.shopcar::before{content: '\e93a';font-family: 'icomoon';margin-right: 10px;color: #b1191a;
}
.shopcar::after{content: '\e920';font-family: 'icomoon';margin-left: 5px;
}
.count{position: absolute;top: -5px;/* right: 20px;  注意左对齐效果更好*/left: 105px; height: 14px;color: #fff;background-color: #600012;padding: 0 5px;line-height: 14px;border-radius: 7px 7px 7px 0;
}
.nav{height: 47px;border-bottom: 2px solid #b1191a;
}
.nav .dropdown{float: left;position: relative;width: 210px;height: 45px;background-color: #b1191a;
}
.nav .navitems{float: left;
}
.dropdown .dt{width: 100%;height: 100%;color: #fff;text-align: center;line-height: 45px;font-size: 16px;
}
.dropdown .dd{/* display: none; */position: absolute;top: 45px;left: 0;width: 210px;height: 465px;background-color: #c81623;/* overflow: hidden;transition: all 0.5s; */
}
.dropdown .dd ul li{position: relative;width: 100%;height: 31px;line-height: 31px;margin-left: 2px;
}
.dropdown .dd ul li::after {content: '\e920';font-family: 'icomoon';position: absolute;right: 10px; top: 1px;color:#fff ;
}
.dropdown .dd ul li:hover{background-color: #fff;}
.dropdown .dd ul li a{font-size: 14px;color: #fff;padding-left: 10px;
}
.dropdown .dd ul li:hover a{color: #c81623;
}.navitems li{float: left;
}
.navitems li a{display: block;line-height: 45px;padding: 0 25px;height: 45px;font-size: 16px;
}.footer{height: 415px;background-color: #f5f5f5;padding-top: 30px;
}.mod_service{height: 110px;border-bottom: 1px solid #ccc;
}.mod_service ul li{float: left;width: 240px;height: 50px;/* background-color: pink; */padding-left: 35px;
}
.mod_service ul .zhengpin h5{float: left;background:url("../images/icons.png") no-repeat -252px -2px;width: 50px;height: 50px;margin-right: 10px;
}.mod_service ul .wuliu h5 {float: left;background: url("../images/icons.png") no-repeat -254px -54px;width: 50px;height: 50px;margin-right: 10px;
}.mod_service ul .shouhou h5 {float: left;background: url("../images/icons.png") no-repeat -257px -105px;width: 50px;height: 50px;margin-right: 10px;
}.mod_service ul .service h5 {float: left;background: url("../images/icons.png") no-repeat -257px -156px;width: 50px;height: 50px;margin-right: 10px;
}.mod_service ul .help h5 {float: left;background: url("../images/icons.png") no-repeat -257px -209px;width: 50px;height: 50px;margin-right: 10px;
}.service_txt{float:left
}
.service_txt h4{font-size: 14px;
}
.service_txt p{font-size: 12px;
}.mod_help{height: 185px;border-bottom: 1px solid #ccc;padding-top: 20px;padding-left: 50px;
}
.mod_help dl dt {font-size: 16px;margin-bottom: 10px;
}
.mod_help dl{float: left;width: 200px;
}
.mod_help dl:last-child{width: 90px;text-align: center;
}
.mod_copyright{line-height: 15px;text-align: center;padding-top: 20px;
}
.copyright_top {margin-bottom: 15px;
}
.copyright_top a{ margin:0 3px;}

index.css

/* 此处的css文件是针对 main模块而设计的 */
@font-face {font-family: 'icomoon';src: url('../fonts/icomoon.eot?mfgl5q');src: url('../fonts/icomoon.eot?mfgl5q#iefix') format('embedded-opentype'),url('../fonts/icomoon.ttf?mfgl5q') format('truetype'),url('../fonts/icomoon.woff?mfgl5q') format('woff'),url('../fonts/icomoon.svg?mfgl5q#icomoon') format('svg');font-weight: normal;font-style: normal;font-display: block;
}.main {width: 980px;height: 455px;/* background-color: aqua; */margin-left: 220px;margin-top: 10px;
}.focus {float: left;width: 721px;height: 455px;background-color: bisque;
}.newsflash {float: right;width: 250px;height: 455px;/* background-color: #ccc; */
}.news {height: 165px;background-color: rgb(255, 255, 255);
}.lifeservice {overflow: hidden;height: 209px;/* background-color: blanchedalmond; */border: 1px solid #e4e4e4;border-top: 0;
}.lifeservice ul {width: 252px;
}/* 编者按:由于下方的li样式过大,导致ul、lifeservice的宽度容纳不下,右下方向都会多出来一块,此时设置一个overflow:hidden; 过大的部分直接切掉 不影响视觉效果*/.lifeservice ul li {float: left;width: 63px;height: 71px;border-right: 1px solid #e4e4e4;border-bottom: 1px solid #e4e4e4;text-align: center;
}.lifeservice ul li i {margin-top: 12px;display: inline-block;width: 24px;height: 28px;/* background-color: aqua; */background: url(../images/icons.png)no-repeat -18px -15px;
}.bargain {margin-top: 5px;
}.newsflash .news {border: 1px dotted #e4e4e4;
}.newsflash .news .hd {height: 35px;border-bottom: 1px dotted #e4e4e4;
}.newsflash .news .hd h5 {float: left;padding-left: 15px;font-size: 14px;line-height: 35px;
}.newsflash .news .hd .gengduo {padding-right: 5px;line-height: 35px;float: right;
}.newsflash .news .hd .gengduo::after {content: '\e920';font-family: 'icomoon';
}.newsflash .news .bd {padding: 5px 15px 0px;
}.newsflash .news .bd ul li {height: 24px;line-height: 24px;/* 超出文字省略号表示  三个步骤 : 超出部分隐藏 文字必须一行显示 超出部分ellipsis */overflow: hidden;white-space: nowrap;text-overflow: ellipsis;
}.recom {height: 163px;background-color: rgb(255, 255, 255);margin-top: 12px;
}.recom .recom_hd {float: left;width: 205px;height: 163px;background-color: #5c5251;text-align: center;padding-top: 30px;
}.recom .recom_bd {position: relative;float: left;
}.recom .recom_bd ul li {position: relative;float: left;
}.recom .recom_bd ul li:nth-child(-n+3)::after {/* 注意after是行内元素 */display: block;position: absolute;right: 0;top: 10px;content: '';width: 1px;height: 145px;background-color: #ddd;
}/* 家用电器模块 */
.floor .jiadian .firstfloor_hd {margin-top: 29px;border-bottom: 2px solid rgb(200, 22, 25);color: rgb(200, 22, 25);height: 30px;line-height: 21px;
}.floor .jiadian .firstfloor_hd h3 {font-size: 18px;float: left;color: #c81623;font-weight: 400;}/* 下述为 标准的错误写法 热门本来在第一个回转而变成最后一个 解决方式是li 上再加浮动left
.tab_list li{float:right;line-height: 30px;
}
.tab_list li a{margin:15px;
}.tab_list ul .tab_list_hot{color: #c81623;
} */.tab_list {float: right;line-height: 30px;
}.tab_list li{float: left;
}
.tab_list li a {margin: 15px;
}.tab_list ul .tab_list_hot {color: #c81623;
}
.jiadian .firstfloor_bd{height: 361px;/* background-color: pink; */
}
.tab_list_tiem>div{float: left;height: 361px;
}
.col_210{width: 210px;text-align: center;background-color: #f9f9f9;
}
.col_210 ul li{width: 85px;height: 34px;border-bottom: 1px solid #ccc;float:left;text-align: center;line-height: 34px;padding-right:10px;
}.col_210 ul{padding-left: 12px;
}.col_329{width: 329px;
}
.col_221{width: 221px;border-right: #ccc 1px solid;
}.col_219{width: 219px;
}
.bb{/* 一般情况下,a如果包含有宽度的盒子,a需要转化为块级元素 */display: block;border-bottom: #ccc 1px solid;
}

list.css

/* 列表页专有的CSS样式 */
.nav{overflow: hidden;
}
.sk{position: absolute;border-left: 1px solid #c81523;left: 190px;top: 40px;padding: 3px 0 0 14px;
}
.sk_list{float: left;
}
.sk_list ul li{float: left;
}
.sk_list ul li a{float: left;display: block;line-height: 47px;padding: 0 30px;font-size: 16px;font-weight: 700;color:black
}.sk_con{float: left;
}.sk_con ul li{float: left;
}.sk_con ul li:hover a{color: #c81523;}.sk_con ul li a{display: block;line-height: 49px;padding: 0 20px;font-size: 14px;font-weight: 400;color: black;}.sk_con .sk_con_secondli{color: #c81623;
}.sk_con .sk_con_lastli::after{display: inline-block;content: '\e91e';font-family: 'icomoon';padding-left:2px ;
}.sk_bd  li{float: left;margin-right: 2px;margin-top: 2px;
}.sk_bd li:hover{border: #c81523 1px solid;
}.sk_bd li:nth-child(4n){margin-right: 0;
}

register.css

.w { margin: 0 auto;width: 1200px;;}.header{height: 84px;border-bottom:2px solid #c81623;
}.logo{padding-top: 18px;
}.registerarea{height: 522px;border: 1px solid #ccc;margin-top: 20px;
}.registerarea h3{height: 42px;border: 1px solid #ccc;background-color: #e4e4e4;line-height: 42px;font-size: 18px;padding: 0 10px;font-weight: normal;
}.registerarea h3 .login{float: right;font-size: 14px;
}.login a{color: #c81623;}.reg_form {width: 600px;margin:50px auto 0;/* background-color:pink; */
}.reg_form ul li label{display: inline-block;width: 88px;text-align: center;
}.reg_form ul li .inp{width: 242px;height: 37px;border: 1px solid #ccc;
}.reg_form ul li{margin-bottom: 20px;
}
.error{color: #c81523;
}.reg_form ul li .error_icon{display: inline-block;vertical-align: middle;width: 20px;height: 20px;background: url("../images/error.png") no-repeat;margin-top: -2px;
}.success{color: #00a854;}
.success_icon{display: inline-block;vertical-align: middle;width: 20px;height: 20px;background: url(../images/success.png);
}.safe {padding-left: 175px;
}.safe em{padding: 0 12px;color: #fff;
}.ruo{background-color: #de1111;
}.zhong {background-color: greenyellow;
}.qiang {background-color: #f79100;
}.agree{padding-left: 95px;
}.agree input{vertical-align: middle;
}.btn{width: 200px;height: 34px;background-color: #c81523;font-size: 14px;color: #fff;margin: 30px 0 0 70px;
}.mod_copyright {line-height: 15px;text-align: center;padding-top: 20px;
}.copyright_top {margin-bottom: 15px;
}.copyright_top a {margin: 0 3px;
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.pswp.cn/web/81969.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

因泰立科技:镭眸T51激光雷达,打造智能门控新生态

在高端门控行业&#xff0c;安全与效率是永恒的追求。如今&#xff0c;随着科技的飞速发展&#xff0c;激光雷达与TOF相机技术的融合&#xff0c;为门控系统带来了前所未有的智能感知能力&#xff0c;开启了精准守护的新时代。因泰立科技的镭眸T51激光雷达&#xff0c;作为这一…

MyBatisPlus--快速入门

MyBatisPlus介绍 从名字中就可以感觉到MybatisPlus与MyBatis之间的渊源&#xff0c;而MyBatis是一个非常流行的持久层框架&#xff0c;主要来做数据库的增删改查&#xff0c;而MyBatisPlus这种命名方式让人不得不往MyBatis的升级版去联想&#xff0c;事实也确实如此&#xff0…

redis持久化策略

RDB 是通过生成数据快照来实现持久化的&#xff0c;相当于给内存中的数据拍一张"照片"保存到磁盘上。AOF 记录所有写操作命令&#xff0c;以Redis协议格式追加到文件末尾。 RDB 在满足特定条件时触发内存快照&#xff0c;生成新的RDB文件替换旧文件 AOF 先写入内…

Spring Boot中使用@JsonAnyGetter和@JsonAnySetter处理动态JSON属性

Spring Boot 中使用 @JsonAnyGetter 和 @JsonAnySetter 处理动态 JSON 属性 在实际的后端开发中,尤其是使用 Spring Boot 构建 API 时,我们经常会遇到需要处理动态 JSON 属性的场景。例如,前端传递过来的 JSON 数据结构不固定,或者业务需求变更频繁,导致实体类无法预先定…

拉取gitlab项目

一、下载nvm管理node 先下载配置好nvm,再用nvm下载node 下载链接&#xff1a;开始 下载nvm - nvm中文官网 情况&#xff1a;npm i 下载依赖缓慢&#xff0c;可能是node版本不对&#xff0c;可能node版本太高 可能得问题&#xff1a;使用nvm 下载低版本的node时&#xff0c;…

【解决办法】ubuntu重启不起来,输入用户名和密码进不去,又重新返回登录页。

项目场景&#xff1a; ubuntu重启不起来&#xff0c;输入用户名和密码进不去&#xff0c;又重新返回登录页。 问题描述 在华硕天选一代笔记本上面安装了ubuntu22.04.5桌面版&#xff0c;但是重启以后出现&#xff0c;输入了用户名和密码&#xff0c;等待一会还让输入用户名和…

# 云端大模型:智能时代的新引擎

云端大模型&#xff1a;智能时代的新引擎 在人工智能技术的迅猛发展中&#xff0c;云端大模型扮演着至关重要的角色。它们不仅推动了技术的边界&#xff0c;也为各行各业带来了前所未有的机遇。本文将结合一系列图片和代码示例&#xff0c;深入探讨云端大模型的功能、应用及其…

(1)pytest简介和环境准备

1. pytest简介 pytest是python的一种单元测试框架&#xff0c;与python自带的unittest测试框架类似&#xff0c;但是比unittest框架使用起来更简洁&#xff0c;效率更高。根据pytest的官方网站介绍&#xff0c;它具有如下特点&#xff1a; 非常容易上手&#xff0c;入门简单&a…

实验设计与分析(第6版,Montgomery)第5章析因设计引导5.7节思考题5.5 R语言解题

本文是实验设计与分析&#xff08;第6版&#xff0c;Montgomery著&#xff0c;傅珏生译) 第5章析因设计引导5.7节思考题5.5 R语言解题。主要涉及方差分析&#xff0c;正态假设检验&#xff0c;残差分析&#xff0c;交互作用图。 dataframe <-data.frame( wrapc(17,20,12,9,…

线程池的详细知识(含有工厂模式)

前言 下午学习了线程池的知识。重点探究了ThreadPoolExecutor里面的各种参数的含义。我详细了解了这部分的知识。其中有一个参数涉及工厂模式&#xff0c;我将这一部分知识分享给大家~ 线程池的详细介绍(含工厂模式) 结语 分享到此结束啦。byebye~

嵌入式开发学习(第二阶段 C语言笔记)

内存操作 我们对于内存操作需要依赖于string.h头文件中相关的函数库。 内存操作函数 内存填充 头文件&#xff1a;#include <string.h> 函数原型&#xff1a; void* memset(void *s,int c,size_t n)函数功能&#xff1a;将内存块s的前n个字节填充为c&#xff0c;一般…

C++学习-入门到精通【9】面向对象编程:继承

C学习-入门到精通【9】面向对象编程&#xff1a;继承 目录 C学习-入门到精通【9】面向对象编程&#xff1a;继承一、基类与派生类CommunityMember类的继承层次结构如何定义一个派生类呢 二、基类和派生类间的关系1.创建并使用类CommissionEmployee2.不使用继承创建类BasePlusCo…

黑马k8s(十七)

一&#xff1a;高级存储 1.高级存储-pv和pvc介绍 2.高级存储-pv 3.高级存储-pvc 最后一个改成5gi pvc3是没有来绑定成功的 pv3没有绑定 删除pod、和pvc&#xff0c;观察状态&#xff1a; 4.高级存储-pc和pvc的生命周期 二&#xff1a;配置存储 1.配置存储-ConfigMap 2.配…

cf每日刷题c++

目录 Simple Repetition&#xff08;1000&#xff09; Fashionable Array&#xff08;800&#xff09; Kevin and Arithmetic(800) Permutation Warm-Up(800) Game of Mathletes(900) LRC and VIP(800) Simple Repetition&#xff08;1000&#xff09; https://codeforc…

历年中国科学技术大学计算机保研上机真题

2025中国科学技术大学计算机保研上机真题 2024中国科学技术大学计算机保研上机真题 2023中国科学技术大学计算机保研上机真题 在线测评链接&#xff1a;https://pgcode.cn/school?classification1 拆分数字 题目描述 给定一个数字&#xff0c;拆分成若干个数字之和&#xff…

PHP学习笔记(十一)

类常量 可以把在类中始终保持不变的值定义为常量&#xff0c;类常量的默认可见性是public。 接口中也可以定义常量。 可以用一个变量来动态调用类&#xff0c;但该变量的值不能为关键字 需要注意的是类常量只为每个类分配一次&#xff0c;而不是为每个类的实例分配。 特殊的…

Nginx 性能优化全解析:从进程到安全的深度实践

一、进程优化&#xff1a;释放硬件性能潜力 Nginx 通过多工作进程处理请求&#xff0c;合理配置进程参数能充分利用 CPU 资源&#xff0c;避免资源浪费。 1.1 worker_processes 参数详解 worker_processes用于设置 Nginx 工作进程的数量&#xff0c;它直接影响 Nginx 对 CP…

中国移动咪咕助力第五届全国人工智能大赛“AI+数智创新”专项赛道开展

第五届全国人工智能大赛由鹏城实验室主办&#xff0c;新一代人工智能产业技术创新战略联盟承办&#xff0c;华为、中国移动、鹏城实验室科教基金会等单位协办&#xff0c;广东省人工智能与机器人学会支持。 大赛发布“AI图像编码”、“AI增强视频质量评价”、“AI数智创新”三大…

《 PyTorch 2.3革新:torch.compile自动生成CUDA优化内核全解》

CUDA作为NVIDIA推出的并行计算平台和编程模型&#xff0c;为GPU计算提供了强大的支持&#xff0c;但手动优化CUDA代码不仅需要深厚的专业知识&#xff0c;而且过程繁琐、耗时费力&#xff0c;torch.compile的出现&#xff0c;犹如一道曙光&#xff0c;为解决这一困境带来了全新…

mysql-mysql源码本地调试

前言 先进行mysql源码本地编译&#xff1a;mysql源码本地编译 1.本地调试 这里以macbook为例 1.使用vscode打开mysql源码 2.创建basedir目录、数据目录、配置文件目录、配置文件 cd /Users/test/ mkdir mysqldir //创建数据目录和配置目录 cd mysqldir mkdir conf data …