淘宝购物车页面

本文主要介绍了如何实现淘宝购物车页面的前端展示效果,包括页面布局、数据展示和交互功能。作者通过使用JavaScript和XHTML技术,详细阐述了实现过程,并提供了个人E-mail以便交流。
摘要由CSDN通过智能技术生成

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>淘宝购物车页面</title>
<style type="text/css">
body {
	margin:0px;
	padding:0px;
	font-size:12px;
	line-height:20px;
	color:#333;
}
ul, li, ol, h1, dl, dd {
	list-style:none;
	margin:0px;
	padding:0px;
}
a {
	color:#1965b3;
	text-decoration: none;
}
a:hover {
	color:#CD590C;
	text-decoration:underline;
}
img {
	border:0px;
	vertical-align:middle;
}
#header {
	height:40px;
	margin:10px auto 10px auto;
	width:800px;
	clear:both;
}
#nav {
	margin:10px auto 10px auto;
	width:800px;
	clear:both;
}
#navlist {
	width:800px;
	margin:0px auto 0px auto;
	height:23px;
}
#navlist li {
	float:left;
	height:23px;
	line-height:26px;
}
.navlist_red_left {
	background-image:url(images/taobao_bg.png);
	background-repeat:no-repeat;
	background-position:-12px -92px;
	width:3px;
}
.navlist_red {
	background-color:#ff6600;
	text-align:center;
	font-size:14px;
	font-weight:bold;
	color:#FFF;
	width:130px;
}
.navlist_red_arrow {
	background-color:#ff6600;
	background-image:url(images/taobao_bg.png);
	background-repeat:no-repeat;
	background-position:0px 0px;
	width:13px;
}
.navlist_gray {
	background-color:#e4e4e4;
	text-align:center;
	font-size:14px;
	font-weight:bold;
	width:150px;
}
.navlist_gray_arrow {
	background-color:#e4e4e4;
	background-image:url(images/taobao_bg.png);
	background-repeat:no-repeat;
	background-position:0px 0px;
	width:13px;
}
.navlist_gray_right {
	background-image:url(images/taobao_bg.png);
	background-repeat:no-repeat;
	background-position:-12px -138px;
	width:3px;
}
#content {
	width:800px;
	margin:10px auto 5px auto;
	clear:both;
}
.title_1 {
	text-align:center;
	width:50px;
}
.title_2 {
	text-align:center;
}
.title_3 {
	text-align:center;
	width:80px;
}
.title_4 {
	text-align:center;
	width:80px;
}
.title_5 {
	text-align:center;
	width:100px;
}
.title_6 {
	text-align:center;
	width:80px;
}
.title_7 {
	text-align:center;
	width:60px;
}
.line {
	background-color:#a7cbff;
	height:3px;
}
.shopInfo {
	padding-left:10px;
	height:35px;
	vertical-align:bottom;
}
.num_input {
	border:solid 1px #666;
	width:25px;
	height:15px;
	text-align:center;
}
.cart_td_1, .cart_td_2, .cart_td_3, .cart_td_4, .cart_td_5, .cart_td_6, .cart_td_7, .cart_td_8 {
	background-color:#e2f2ff;
	border-bottom:solid 1px #d1ecff;
	border-top:solid 1px #d1ecff;
	text-align:center;
	padding:5px;
}
.cart_td_1, .cart_td_3, .cart_td_4, .cart_td_5, .cart_td_6, .cart_td_7 {
	border-right:solid 1px #FFF;
}
.cart_td_3 {
	text-align:left;
}
.cart_td_4 {
	font-weight:bold;
}
.cart_td_7 {
	font-weight:bold;
	color:#fe6400;
	font-size:14px;
}
.hand {
	cursor:pointer;
}
.shopend {
	text-align:right;
	padding-right:10px;
	padding-bottom:10px;
}
.yellow {
	font-weight:bold;
	color:#fe6400;
	font-size:18px;
	line-height:40px;
}
</style>
</head>
<body>
<div id="header"><img src="images/taobao_logo.gif" alt="logo" /></div>
<div id="nav">您的位置:&
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值