分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > IT知识

<一>伪淘宝html网页

发布时间:2023-09-06 02:15责任编辑:董明明关键词:暂无标签

<1>基于html、css、JavaScript编写的伪淘宝html网页

注:仅为前端代码还未利用Django框架连接后台数据进行交互。项目后续会连接python的Django框架实现更多功能!

效果展示:

网页代码:

<!DOCTYPE html><html lang="en"><head> ???<meta charset="UTF-8"> ???<title>Title</title> ???<style> ???????.a1 {background-color: #dddddd;height: 38px;line-height: 38px;} ???????.a2 {background-color: #ff9000;height: 38px;line-height: 38px;} ???????.a3{color: black;width: 5px;width: 90px;text-align: center} ???</style></head><body style="margin: 0"><!--头部--><div > ???<div style="margin: 0 auto;width: 1200px"> ???????<div style="float: left">收藏本站</div> ???????<div style="float: right"> ???????????<a href="float_.html" target="_blank">登陆</a> ???????????<a href="float_.html" target="_blank">注册</a> ???????????<a href="float_.html" target="_blank">我的订单</a> ???????????<a href="float_.html" target="_blank">我的收藏</a> ???????????<a href="float_.html" target="_blank">VIP会员俱乐部</a> ???????????<form style="float: right"> ???????????????<select> ???????????????????<option>客服服务</option> ???????????????????<option>自助服务</option> ???????????????</select> ???????????</form> ???????????<a href="float_.html" target="_blank">手机端</a> ???????</div> ???</div></div><!--第二部分--><div> ???<div style="margin: 0 auto;width: 1200px"> ???????<div style="float: left;"> ???????????<img src="taobao.png" style="height: 70px"></div> ???????<div style="float: right; ???????????????<span style=" ???????????????????????<a href="http://www.taobao.com" style="color: #FF4200">天猫</a> ???????????????????????<a href="http://www.taobao.com" style="color: #FF4200">店铺</a> ???????????????</span> ???????????<br/> ???????????<input type="text" style="height: 20px;width: 300px;"> ???????????<input style="height: 25px" type="submit" value="搜索"> ???????????<form style="background-color: #dddddd;width: 50px;height: 20px;display: inline"> ???????????????<select> ???????????????????<option>购物车2件</option> ???????????????????<option>购物车3件</option> ???????????????</select> ???????????</form> ???????????<div> ???????????????<span style="热门搜索:</span> ???????????????<span style=" ???????????????????????<a href="http://www.taobao.com" style="color: #FF4200">iPhone</a> ???????????????????????<a href="http://www.taobao.com">小米</a> ???????????????????????<a href="http://www.taobao.com" style="color: #FF4200">T-shirt</a> ???????????????????????<a href="http://www.taobao.com">连衣裙</a> ???????????????????????<a href="http://www.taobao.com" style="color: #FF4200">追风筝的人</a> ???????????????????</span> ???????????</div> ???????</div> ???????<div style="clear: both"></div> ???</div></div><!--第三部分--><div > ???<div style="margin: 0 auto;width: 1200px"> ???????<div style="float: left"> ???????????<div style="width: 190px;background-color: #FF4200;text-align: center;color: white">全部商品分类</div> ???????</div> ???????<div style="float: left"> ???????????<div style="width: 80px;color: white;text-align: center;color: white"><a href="选择器.html" style="color: white">天猫</a></div> ???????</div> ???????<div style="float: left"> ???????????<div style="width: 80px;color: white;text-align: center;color: white"><a href="选择器.html" style="color: white">聚划算</a></div> ???????</div> ???????<div style="float: left"> ???????????<div style="width: 80px;color: white;text-align: center;color: white"><a href="选择器.html" style="color: white">天猫超市</a></div> ???????</div> ???????<div style="float: left"> ???????????<div style="width: 10px;color: white;text-align: center;color: white"><a href="选择器.html" style="color: white">|</a></div> ???????</div> ???????<div style="float: left"> ???????????<div style="width: 80px;color: white;text-align: center;color: white"><a href="选择器.html" style="color: white">淘抢购</a></div> ???????</div><div style="float: left"> ???????????<div style="width: 80px;color: white;text-align: center;color: white"><a href="选择器.html" style="color: white">电器城</a></div> ???????</div> ???????<div style="float: left"> ???????????<div style="width: 80px;color: white;text-align: center;color: white"><a href="选择器.html" style="color: white">司法拍卖</a></div> ???????</div> ???????<div style="float: left"> ???????????<div style="width: 80px;color: white;text-align: center;color: white"><a href="选择器.html" style="color: white">中国制造</a></div> ???????</div> ???????<div style="float: left"> ???????????<div style="width: 10px;color: white;text-align: center;color: white"><a href="选择器.html" style="color: white">|</a></div> ???????</div> ???????<div style="float: left"> ???????????<div style="width: 80px;color: white;text-align: center;color: white"><a href="选择器.html" style="color: white">飞猪旅行</a></div> ???????</div><div style="float: left"> ???????????<div style="width: 80px;color: white;text-align: center;color: white"><a href="选择器.html" style="color: white">智能生活</a></div> ???????</div> ???????<div style="float: left"> ???????????<div style="width: 80px;color: white;text-align: center;color: white"><a href="选择器.html" style="color: white">苏宁易购</a></div> ???????</div> ???????<div style="float: left"> ???????????<div style="width: 80px;color: white;text-align: center;color: white"><a href="选择器.html" style="color: white">云栖大会</a></div> ???????</div> ???????<div style="float: left"> ???????</div> ???</div></div><!--第四部分--><div style="margin: 0 auto;width: 1200px"> ???<!--左面板块--> ???<div style="float: left;"> ???????<div style="width: 188px;height: 1000px;text-align: center;border: 1px solid #ff9000"> ???????????<a href="选择器.html" >女装</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >男装</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >外套</a> ???????????<a href="选择器.html"  style="width: 20px;float: right"> ></a> ???????????<div></div> ???????????<a href="选择器.html" >鞋靴</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >箱包</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >配件</a> ???????????<a href="选择器.html"  style="width: 20px;float: right"> ></a> ???????????<div></div> ???????????<a href="选择器.html" >家电</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >数码</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >手机</a> ???????????<a href="选择器.html"  style="width: 20px;float: right"> ></a> ???????????<div></div> ???????????<a href="选择器.html" >美妆</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >洗护</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >保健</a> ???????????<a href="选择器.html"  style="width: 20px;float: right"> ></a> ???????????<div></div> ???????????<a href="选择器.html" >珠宝</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >眼镜</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >手表</a> ???????????<a href="选择器.html"  style="width: 20px;float: right"> ></a> ???????????<div></div> ???????????<a href="选择器.html" >运动</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >户外</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >乐器</a> ???????????<a href="选择器.html"  style="width: 20px;float: right"> ></a> ???????????<div></div> ???????????<a href="选择器.html" >游戏</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >动漫</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >影视</a> ???????????<a href="选择器.html"  style="width: 20px;float: right"> ></a> ???????????<div></div> ???????????<a href="选择器.html" >美食</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >生鲜</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >零食</a> ???????????<a href="选择器.html"  style="width: 20px;float: right"> ></a> ???????????<div></div> ???????????<a href="选择器.html" >鲜花</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >宠物</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >农资</a> ???????????<a href="选择器.html"  style="width: 20px;float: right"> ></a> ???????????<div></div> ???????????<a href="选择器.html" >工具</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >装修</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >建材</a> ???????????<a href="选择器.html"  style="width: 20px;float: right"> ></a> ???????????<div></div> ???????????<a href="选择器.html" >家具</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >家饰</a> ???????????<a style="color: black;width: 5px">/</a> ???????????<a href="选择器.html" >家纺</a> ???????????<a href="选择器.html"  style="width: 20px;float: right"> ></a> ???????????<div style="background-color: white;height: 30px"></div> ???????????<div style="background-color: #ff9000;color: white;text-align: center">热销排行榜</div> ???????????<div><a href="选择器.html" style="color: red;No1:Apple/苹果 iPhone X</a></div> ???????????<div><img src="苹果x.jpg" style="width: 180px;height: 180px"></div> ???????????<div><a href="选择器.html" style="color: red;No2:纪梵希口红小羊皮 半哑光唇膏豆沙色正品滋润304 306</a></div> ???????????<div><img src="纪梵希3.png" style="width: 180px;height: 180px"></div> ???????</div> ???</div> ???<!--右面板块图--> ???<div ><img src="纪梵希2.png" style="height:150px;width: 900px"></div> ???<div style="height: 25px;background-color: white"></div> ???<div style="所有分类></div> ???<div style="height: 10px;background-color: white"></div> ???<!--右面品牌框--> ???<div style="border: 1px solid #d5d2d2;height: 140px;float: left;width: 900px"> ???????<div style="float: left;width: 70px;text-align: center;height: 42px"> ???????????<span ?style="width: 70px;height: 42px">品牌:</span> ???????</div> ???????<div ><span ><a href="选择器.html" style="color: black">纪梵希</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">MAC</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">圣罗兰</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">迪奥</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">卡姿兰</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">欧莱雅</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">美康粉黛</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">Chanel</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">阿玛尼</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">美宝莲</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">雅诗兰黛</a></span></div> ???????<div style="background-color: white;height: 50px"></div> ???????<div style="float: left;width: 70px;text-align: center;height: 42px"> ???????????<span ?style="width: 70px;height: 42px">选购:</span> ???????</div> ???????<div ><span ><a href="选择器.html" style="color: black">哑光</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">咬唇妆</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">不脱色</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">滋润唇膏</a></span></div> ???????<div style="background-color: white;height: 50px"></div> ???????<div style="float: left;width: 70px;text-align: center;height: 42px"> ???????????<span ?style="width: 70px;height: 42px">产地:</span> ???????</div> ???????<div ><span ><a href="选择器.html" style="color: black">法国</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">咬加拿大</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">美国</a></span></div> ???????<div ><span ><a href="选择器.html" style="color: black">中国</a></span></div> ???</div> ???<!--右面商品选择--> ???<div style="height: 150px;background-color: white"></div> ???<div style="商品选择:</div> ???<div style="height: 10px;background-color: white"></div> ???<!--每个商品--> ???<div style="float: left"> ???????<div style="border: 1px solid red;height: 290px;width: 200px;"> ???????????<div> ???????????????<a href="选择器.html"> ???????????????<img src="纪梵希4.png" style="height: 180px;width: 200px"> ???????????????</a> ???????????</div> ???????????<div style="float: left;color: #ff9000;font-weight: bold">¥355.00</div> ???????????<div style="float: right;30038人付款</div> ???????????<div style="float: left;text-align: center"><a href="选择器.html"> 【官方正品】纪梵希口红小羊皮 半哑光唇膏豆沙色正品滋润304 306</a></div> ???????????<!--<div style="color: #ff9000;float: left">?</div>--> ???????????<div style="height: 20px;background-color: white"></div> ???????????<div style="float: left;color: #ff9000; ???????????????<a href="选择器.html" style="color: #ff9000;?GIVENCHY纪梵希官方旗舰店</a> ???????????</div> ???????????<div style="float: right;color: #ff9000; ???????????????<a href="选择器.html" style="color: #ff9000;上海</a> ???????????</div> ???????????<div style="clear: both"></div> ???????????<!--<div style="height: 2px;background-color: white"></div>--> ???????????<div style="float: left"><img src="天猫.png" ></div> ???????????<div style="float: right"><img src="聊天.png " style="width: 35px;height: 30px"></div> ???????????<div style="clear: both"></div> ???????</div> ???</div> ???<!--间隔--> ???<div style="height:280px;width:20px;background-color: white ;float: left "></div> ??<!--2个--> ???<div style="float: left"> ???????<div style="border: 1px solid red;height: 290px;width: 200px"> ???????????<div> ???????????????<a href="选择器.html"> ???????????????<img src="迪奥.png" style="height: 180px;width: 200px"> ???????????????</a> ???????????</div> ???????????<div style="float: left;color: #ff9000;font-weight: bold">¥228.00</div> ???????????<div style="float: right;30038人付款</div> ???????????<div style="float: left;text-align: center"><a href="选择器.html"> Dior/迪奥烈艳蓝金唇膏3.5g哑光滋润旗舰口红520/999正品专营店</a></div> ???????????<!--<div style="color: #ff9000;float: left">?</div>--> ???????????<div style="height: 20px;background-color: white"></div> ???????????<div style="float: left;color: #ff9000; ???????????????<a href="选择器.html" style="color: #ff9000;迪奥官方旗舰店</a> ???????????</div> ???????????<div style="float: right;color: #ff9000; ???????????????<a href="选择器.html" style="color: #ff9000;北京</a> ???????????</div> ???????????<div style="clear: both"></div> ???????????<!--<div style="height: 20px;background-color: red;float: left"></div>--> ???????????<div style="float: left"><img src="天猫.png" ></div> ???????????<div style="float: right"><img src="聊天.png " style="width: 35px;height: 30px"></div> ???????????<div style="clear: both"></div> ???????</div> ???</div> ???????<!--间隔--> ???<div style="height:280px;width:20px;background-color: white ;float: left "></div> ??<!--3个--> ???<div style="float: left"> ???????<div style="border: 1px solid red;height: 290px;width: 200px"> ???????????<div> ???????????????<a href="选择器.html"> ???????????????<img src="圣罗兰.png" style="height: 180px;width: 200px"> ???????????????</a> ???????????</div> ???????????<div style="float: left;color: #ff9000;font-weight: bold">¥228.00</div> ???????????<div style="float: right;30038人付款</div> ???????????<div style="float: left;text-align: center"><a href="选择器.html"> Dior/迪奥烈艳蓝金唇膏3.5g哑光滋润旗舰口红520/999正品专营店</a></div> ???????????<!--<div style="color: #ff9000;float: left">?</div>--> ???????????<div style="height: 20px;background-color: white"></div> ???????????<div style="float: left;color: #ff9000; ???????????????<a href="选择器.html" style="color: #ff9000;迪奥官方旗舰店</a> ???????????</div> ???????????<div style="float: right;color: #ff9000; ???????????????<a href="选择器.html" style="color: #ff9000;北京</a> ???????????</div> ???????????<div style="clear: both"></div> ???????????<!--<div style="height: 20px;background-color: red;float: left"></div>--> ???????????<div style="float: left"><img src="天猫.png" ></div> ???????????<div style="float: right"><img src="聊天.png " style="width: 35px;height: 30px"></div> ???????????<div style="clear: both"></div> ???????</div> ???</div> ???????<!--间隔--> ???<div style="height:280px;width:20px;background-color: white ;float: left "></div> ??<!--4个--> ???<div style="float: left"> ???????<div style="border: 1px solid red;height: 290px;width: 200px"> ???????????<div> ???????????????<a href="选择器.html"> ???????????????<img src="雅诗兰黛.png" style="height: 180px;width: 200px"> ???????????????</a> ???????????</div> ???????????<div style="float: left;color: #ff9000;font-weight: bold">¥228.00</div> ???????????<div style="float: right;30038人付款</div> ???????????<div style="float: left;text-align: center"><a href="选择器.html"> Dior/迪奥烈艳蓝金唇膏3.5g哑光滋润旗舰口红520/999正品专营店</a></div> ???????????<!--<div style="color: #ff9000;float: left">?</div>--> ???????????<div style="height: 20px;background-color: white"></div> ???????????<div style="float: left;color: #ff9000; ???????????????<a href="选择器.html" style="color: #ff9000;迪奥官方旗舰店</a> ???????????</div> ???????????<div style="float: right;color: #ff9000; ???????????????<a href="选择器.html" style="color: #ff9000;北京</a> ???????????</div> ???????????<div style="clear: both"></div> ???????????<!--<div style="height: 20px;background-color: red;float: left"></div>--> ???????????<div style="float: left"><img src="天猫.png" ></div> ???????????<div style="float: right"><img src="聊天.png " style="width: 35px;height: 30px"></div> ???????????<div style="clear: both"></div> ???????</div> ???</div></div></body></html>
淘宝页面

<一>伪淘宝html网页

原文地址:https://www.cnblogs.com/shikaishikai/p/9698997.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved