/公共样式/
.fl {
float: left;
}
.fr {
float: right;
}
@font-face {
font-family: ‘icomoon’;
src: url(‘…/fonts/icomoon.eot?7kkyc2’);
src: url(‘…/fonts/icomoon.eot?7kkyc2#iefix’) format(‘embedded-opentype’),
url(‘…/fonts/icomoon.ttf?7kkyc2’) format(‘truetype’),
url(‘…/fonts/icomoon.woff?7kkyc2’) format(‘woff’),
url(‘…/fonts/icomoon.svg?7kkyc2#icomoon’) format(‘svg’);
font-weight: normal;
font-style: normal;
}
.fr .icomoon {
font-family: ‘icomoon’;
font-size: 14px;
}
/版心/
.w {
width: 1200px;
margin: 0 auto;
}
/顶部快捷导航/
.shortcut {
height: 31px;
background-color: #f1f1f1;
line-height: 31px;
}
.shortcut li {
float: left;
}
.style-red {
color: red;
}
/小竖线/
.spacer {
width: 1px;
height: 12px;
background-color: #666;
margin: 9px 12px;
}
.header {
position: relative;
height: 105px;
}
.logo {
position: absolute;
top: 25px;
left: 0;
width: 175px;
height: 56px;
}
.logo a {
display: block;
width: 175px;
height: 56px;
background: url(…/images/logo.png) no-repeat;
font-size: 0;
}
.search {
position: absolute;
top: 25px;
left: 348px;
}
.text {
float: left;
width: 445px;
height: 32px;
border: 2px solid #b1191a;
color: #999;
padding-left: 10px;
}
.btn {
float: right;
width: 82px;
height: 36px;
background-color: #b1191a;
border: 0;
font-size: 16px;
color: #fff;
}
.hotwords {
position: absolute;
top: 65px;
left: 348px;
}
.hotwords a {
margin: 0 11px;
}
.shopcar {
position: absolute;
top: 25px;
right: 64px;
width: 138px;
height: 34px;
border: 1px solid #dfdfdf;
background-color: #f7f7f7;
line-height: 34px;
text-align: center;
}
.car {
font-family: ‘icomoon’;
color: #da5555;
}
.arrow {
font-family: ‘icomoon’;
margin-left: 5px;
}
.count {
/不要给行宽,用padding撑开盒子/
position: absolute;
top: -5px;
/应该是左侧对齐,文字才会往右走/
left: 100px;
background-color: #e60012;
height: 14px;
padding: 0 3px;
line-height: 14px;/因为继承了父亲行高34px所以要调整/
color: #fff;
/border-radius: 左上角 右上角 右下角 左下角;/
border-radius: 7px 7px 7px 0;
}
.nav {
height: 45px;
border-bottom: 2px solid #b1191a;
}
.dropdown {
width: 209px;
height: 45px;
}
.dropdown .dt {
width: 100%;
height: 100%;
background-color: #b1191a;
font-size: 16px;
color: #fff;
text-align: center;
line-height: 45px;
}
.dropdown .dd {
height: 465px;
background-color: #c81623;
margin-top: 2px;
}
.menu_items {
height: 31px;
line-height: 31px;
padding: 0 8px;
transition: all 0.5s;
}
.menu_items:hover {
padding-left: 20px;
}
.menu_items:hover {
background-color: #fff;
}
.menu_items a {
font-size: 14px;
color: #fff;
}
.menu_items:hover a {
color: #c81623;
}
.menu_items i {
float: right;
font-size: 18px;
color: #fff;
}
.navitems {
margin-left: 10px;
}
.navitems ul {
display: flex;
}
.navitems li a {
display: block;
height: 45px;
padding: 0 25px;
line-height: 45px;
font-size: 16px;
}
/footer部分/
.footer {
height: 386px;
padding-top: 30px;
background-color: #f5f5f5;
}
.mod_service {
height: 79px;
border-bottom: 1px solid #ccc;
}
.mod_service ul {
display: flex;
}
.mod_service ul li {
flex: 1;
}
.mod-service-icon {
float: left;
height: 50px;
width: 50px;
margin-left: 35px;
}
.mod_service_zheng {
background: url(…/images/icons.png) no-repeat -253px -3px;
}
.mod_service_tit {
float: left;
margin-left: 5px;
}
.mod_service_tit h5 {
margin: 5px 0;
}
.mod_service_kuai {
background: url(…/images/icons.png) no-repeat -255px -54px;
}
.mod_service_bao {
background: url(…/images/icons.png) no-repeat -257px -105px;
}
.mod_service_1 {
background: url(…/images/icons.png) no-repeat -259px -155px;
}
.mod_service_2 {
background: url(…/images/icons.png) no-repeat -255px -208px;
}
.mod_help {
display: flex;
height: 187px;
border-bottom: 1px solid #ccc;
}
.mod_help_item {
flex: 1;
padding: 20px 0 0 50px;
}
.mod_help_item dt {
height: 25px;
font-size: 16px;
}
.mod_help_item dd {
height: 22px;
}
.mod_help_app dt,
.mod_help_app p {
padding-left: 15px;
}
.mod_help_app img {
margin: 7px;
}
.mod_copyright_first {
margin: 20px 0 16px 100px;
}
.mod_copyright ul {
display: flex;
}
.mod_copyright ul li {
padding: 0 15px;
border-left: 2px solid #999;
}
.mod_copyright_info {
margin: 0 0 3px 240px;
}
.mod_copyright_second {
margin-left: 469px;
}
<meta name=“description” content="品优购JD.CON-专业的综合网上购物商城,销售家
电、数码通讯、电脑、家居百货、服装服饰、母婴、图书、食品等数万个品牌优质商品.便
捷、诚信的服务,为您提供愉悦的网上购物体验!"/>
<meta name=“Keywords” content="网上购物,网上商城,手机,笔记本,电脑,MP3,CD,V
CD,DV,相机,数码,配件,手表,存储卡,品优购"/>
-
-
-
-
-
搜索
我的购物车
8
全部商品分类 -
>
-
>
-
>
-
>
-
>
-
>
-
>
-
>
-
>
-
>
-
>
-
>
-
>
-
>
- 服装城
- 美妆馆
- 传智超市
- 全球购
- 闪购
- 团购
- 拍卖
- 有趣
品优购快报
更多 >
[特惠]备战开学季全民半价购数码
[快告]品优稳占家电网购六成份额
[特惠]百元中秋全品类礼券限里领
[忪告]上品优生鲜享阳澄胡大闸蟹
[特惠]每日享折扣品优品质游
-
话费
-
机票
-
话费
-
话费
-
话费
-
话费
-
话费
-
话费
-
话费
-
话费
-
话费
-
话费
今日推荐
-
-
-
-
家用电器
- 热门|
- 大家电|
- 生活电器|
- 厨房电器|
- 个护健康|
- 应季电器|
- 空气/净水|
- 新奇特|
- 高端电器
- 节能补贴
- 4k电视
- 空气净化器
- IH电饭煲
- 滚筒洗衣机
- 电热水器
手机通讯
- 热门|
- 大家电|
- 生活电器|
- 厨房电器|
- 个护健康|
- 应季电器|
- 空气/净水|
- 新奇特|
- 高端电器
- 节能补贴
- 4k电视
- 空气净化器
- IH电饭煲
- 滚筒洗衣机
- 电热水器
家用电器
- 热门|
- 大家电|
- 生活电器|
- 厨房电器|
- 个护健康|
- 应季电器|
- 空气/净水|
- 新奇特|
- 高端电器
- 节能补贴
- 4k电视
- 空气净化器
- IH电饭煲
- 滚筒洗衣机
- 电热水器
计算机网络
-
HTTP 缓存
-
你知道 302 状态码是什么嘛?你平时浏览网页的过程中遇到过哪些 302 的场景?
-
HTTP 常用的请求方式,区别和用途?
-
HTTPS 是什么?具体流程
-
三次握手和四次挥手
-
你对 TCP 滑动窗口有了解嘛?
-
WebSocket与Ajax的区别
-
了解 WebSocket 嘛?
-
HTTP 如何实现长连接?在什么时候会超时?
-
TCP 如何保证有效传输及拥塞控制原理。
-
TCP 协议怎么保证可靠的,UDP 为什么不可靠?
开源分享:【大厂前端面试题解析+核心总结学习笔记+真实项目实战+最新讲解视频】
算法
-
链表
-
字符串
-
数组问题
-
二叉树
-
排序算法
-
二分查找
-
动态规划
-
BFS
-
栈
-
DFS
-
回溯算法
-