|
|
<!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">
|
|
|
<!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
|
|
|
<title>商品介绍</title>
|
|
|
<!-- Bootstrap -->
|
|
|
<link href="../css/bootstrap.min.css" rel="stylesheet">
|
|
|
<link href="../css/p-i.css" rel="stylesheet">
|
|
|
<link href="../css/reset.css" rel="stylesheet">
|
|
|
|
|
|
</head>
|
|
|
<style>
|
|
|
.cart-header, .item-content {
|
|
|
/* position: relative; */
|
|
|
width: 990px;
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
.cart-header {
|
|
|
padding: 20px 0 20px;
|
|
|
}
|
|
|
.cart-logo {
|
|
|
display: block;
|
|
|
float: left;
|
|
|
height: 80px;
|
|
|
margin-right: 10px;
|
|
|
}
|
|
|
.cart {
|
|
|
display: block;
|
|
|
float: left;
|
|
|
text-align: center;
|
|
|
line-height: 80px;
|
|
|
font-size:xx-large;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
.header-search {
|
|
|
display: block;
|
|
|
float: right;
|
|
|
position: relative;
|
|
|
top: 10px;
|
|
|
margin-right: 20px;
|
|
|
height: 47px;
|
|
|
width: 45%;
|
|
|
}
|
|
|
.form-control {
|
|
|
width:300px;
|
|
|
}
|
|
|
.td-inner {
|
|
|
padding-top: 20px;
|
|
|
}
|
|
|
.td-chk {
|
|
|
width: 45px;
|
|
|
}
|
|
|
.chk {
|
|
|
margin-left: 15px;
|
|
|
}
|
|
|
.item-content {
|
|
|
border: 1px solid #ccc;
|
|
|
}
|
|
|
.item-content .td {
|
|
|
float: left;
|
|
|
min-height: 119px;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.td-item {
|
|
|
width: 302px;
|
|
|
}
|
|
|
.item-pic {
|
|
|
width: 80px;
|
|
|
height: 80px;
|
|
|
background-color: white;
|
|
|
border: 1px solid #eee;
|
|
|
float: left;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.td-item .item-info {
|
|
|
margin: -3px 0 0 91px;
|
|
|
padding-right: 25px;
|
|
|
}
|
|
|
.item-basic-info {
|
|
|
height: 40px;
|
|
|
}
|
|
|
.item-other-info {
|
|
|
height: 72px;
|
|
|
}
|
|
|
body, button, input, select, textarea {
|
|
|
font: 12px/1.5 tahoma,arial,'Hiragino Sans GB','\5b8b\4f53',sans-serif;
|
|
|
}
|
|
|
.price-line p {
|
|
|
font-weight: 700;
|
|
|
color: #3c3c3c;
|
|
|
}
|
|
|
.td-info {
|
|
|
width: 192px;
|
|
|
padding-right: 20px;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.td-price {
|
|
|
width: 120px;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.price-content {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
.price-line p {
|
|
|
text-align: center;
|
|
|
}
|
|
|
.td-amount {
|
|
|
width: 120px;
|
|
|
}
|
|
|
.item-content .item-amount {
|
|
|
height: 25px;
|
|
|
overflow: hidden;
|
|
|
position: relative;
|
|
|
z-index: 1;
|
|
|
width: 77px;
|
|
|
}
|
|
|
.item-content .td-sum {
|
|
|
color: #f40;
|
|
|
font-weight: 700;
|
|
|
width: 105px;
|
|
|
}
|
|
|
.number, .price {
|
|
|
font-family: Verdana,Tahoma,arial;
|
|
|
}
|
|
|
.th-op, .td-op {
|
|
|
width: 84px;
|
|
|
padding: 0 0 0 15px;
|
|
|
}
|
|
|
li {
|
|
|
display: list-item;
|
|
|
}
|
|
|
.item-content .td-op a {
|
|
|
padding-bottom: 3px;
|
|
|
}
|
|
|
</style>
|
|
|
<body>
|
|
|
|
|
|
<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery,所以必须放在前边) -->
|
|
|
<script src="../js/jquery.min.js"></script>
|
|
|
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
|
|
|
<script src="../js/bootstrap.min.js"></script>
|
|
|
|
|
|
<div class="top-nav">
|
|
|
<div class="container clear-float">
|
|
|
<div class="fl">
|
|
|
<a class="item" href="#">首页</a>
|
|
|
</div>
|
|
|
<div class="fr">
|
|
|
<a class="item" href="#">购物车</a>
|
|
|
<a class="item" href="#">我的订单</a>
|
|
|
<a class="item" href="#">收藏夹</a>
|
|
|
<a class="item" href="#">登录</a>
|
|
|
<a class="item" href="#">注册</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="cart-header header clearfix">
|
|
|
<img class="cart-logo" src="../img/logo.png" alt="">
|
|
|
<span class="cart">购物车</span>
|
|
|
<div class="header-search search-bar">
|
|
|
<input type="text">
|
|
|
<button>搜索</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<ul class="clearfix item-content">
|
|
|
<li class="td td-chk">
|
|
|
<div class="td-inner">
|
|
|
<div style="height: 82px;position: relative;">
|
|
|
<div class="cart-checkbox">
|
|
|
<input type="checkbox" class="chk">
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li class="td td-item">
|
|
|
<div class="td-inner">
|
|
|
<div class="item-pic">
|
|
|
<a href="#">
|
|
|
<img src="../img/logo.png" alt="物品图片">
|
|
|
</a>
|
|
|
</div>
|
|
|
<div class="item-info">
|
|
|
<div class="item-basic-info">
|
|
|
<div><p>Apple/苹果 iPhone 11 Pro</p></div>
|
|
|
</div>
|
|
|
<div class="item-other-info">
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li class="td td-info">
|
|
|
|
|
|
</li>
|
|
|
<li class="td td-price">
|
|
|
<div class="td-inner">
|
|
|
<div class="item-price">
|
|
|
<div class="price-content">
|
|
|
<div class="price-line">
|
|
|
<p>¥8699.00</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li class="td td-amount">
|
|
|
<div class="td-inner">
|
|
|
<div class="amount-wrapper">
|
|
|
<div class="item-amount">
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li class="td td-sum">
|
|
|
<div class="td-inner">
|
|
|
<p class="number">¥17398.00</p>
|
|
|
</div>
|
|
|
</li>
|
|
|
<li class="td td-op">
|
|
|
<div class="td-inner">
|
|
|
<a href="#">移入收藏夹</a>
|
|
|
<a href="#">删除</a>
|
|
|
</div>
|
|
|
</li>
|
|
|
</ul>
|
|
|
|
|
|
</html> |