how2j.cn

步骤 1 : 效果   
步骤 2 : 布局   
步骤 3 : 纯html   
步骤 4 : 加上样式   
步骤 5 : 样式讲解   
步骤 6 : 再整合在一起   

<!DOCTYPE html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script src="https://how2j.cn/study../../../js/jquery/2.0.0/jquery.min.js"></script> <link href="https://how2j.cn/study../../../css/bootstrap/3.3.6/bootstrap.min.css" rel="stylesheet"> <script src="https://how2j.cn/study../../../js/bootstrap/3.3.6/bootstrap.min.js"></script> </head> <style> div.boughtDiv{ max-width: 1013px; margin: 10px auto; } table.orderListItemTable{ border: 2px solid #ECECEC; width: 100%; margin: 20px 0px; font-size:12px; } table.orderListItemTable:hover{ border: 2px solid #aaa !important; } table.orderListItemTable td{ padding: 8px 10px; } tr.orderListItemFirstTR{ background-color: #F1F1F1; } div.orderItemWangWangGif{ display: inline-block; width: 67px; height: 22px; background-image:url(https://how2j.cn/tmall../../../img/site/wangwang.gif); background-repeat: no-repeat; background-color: transparent; background-attachment: scroll; background-position: -0px -0px; position: relative; top: 0px; left: 2px; } td.orderItemDeleteTD{ text-align: right; } span.orderListItemDelete{ display: inline-block; margin: 0px 10px; color: #999999; font-size: 16px; } div.orderListItemProductLinkOutDiv{ position: relative; height: 80px; } div.orderListItemProductLinkInnerDiv{ position: absolute; bottom: 0px; } div.orderListItemProductOriginalPrice{ color: #999999; font-size: 14px; } div.orderListItemProductPrice{ color: #3C3C3C; font-size: 14px; } td.orderListItemNumberTD{ text-align: center; } td.orderItemOrderInfoPartTD{ border: solid 1px #ECECEC; } span.orderListItemNumber{ color: #3C3C3C; } td.orderListItemProductRealPriceTD{ text-align: center; } div.orderListItemProductRealPrice{ color: #3C3C3C; font-size: 14px; font-weight: bold; } div.orderListItemPriceWithTransport{ color: #6C6C6C; font-size: 12px; } td.orderListItemButtonTD{ text-align: center; } button.orderListItemReview{ border: 1px solid #DCDCDC; background-color: #fff; border-radius: 2px; color: #3C3C3C; font-size: 12px; font-weight: bold; padding: 6px 12px; } button.orderListItemReview:hover{ border-color: #C40000; color: #C40000; } button.orderListItemConfirm{ background-color: #66B6FF; border-radius: 2px; color: white; font-size: 12px; font-weight: bold; border-width: 0px; padding: 6px 12px; } button.orderListItemConfirm:hover{ background-color: #118ADB; } a{ color:#999; } a:hover{ text-decoration:none; color: #C40000; } </style> <div class="boughtDiv"> <div class="orderListItem"> <table oid="946" orderstatus="waitReview" class="orderListItemTable"> <tbody><tr class="orderListItemFirstTR"> <td colspan="2"> <b>2016-09-12 17:00:41</b> <span>订单号: 20160912170041674794 </span> </td> <td colspan="2"><img width="13px" src="https://how2j.cn/tmall../../../img/site/orderItemTmall.png">天猫商场</td> <td colspan="1"> <a href="#nowhere" class="wangwanglink"> <div class="orderItemWangWangGif"></div> </a> </td> <td class="orderItemDeleteTD"> <a href="#nowhere" oid="946" class="deleteOrderLink"> <span class="orderListItemDelete glyphicon glyphicon-trash"></span> </a> </td> </tr> <tr class="orderItemProductInfoPartTR"> <td class="orderItemProductInfoPartTD"><img width="80" height="80" src="https://how2j.cn/tmall/img/productSingle_middle/3796.jpg"></td> <td class="orderItemProductInfoPartTD"> <div class="orderListItemProductLinkOutDiv"> <a href="#nowhere">公众智能扫地机器人家用全自动电动清洁地毯擦拖地一体机吸尘器</a> <div class="orderListItemProductLinkInnerDiv"> <img title="支持信用卡支付" src="https://how2j.cn/tmall../../../img/site/creditcard.png"> <img title="消费者保障服务,承诺7天退货" src="https://how2j.cn/tmall../../../img/site/7day.png"> <img title="消费者保障服务,承诺如实描述" src="https://how2j.cn/tmall../../../img/site/promise.png"> </div> </div> </td> <td width="100px" class="orderItemProductInfoPartTD"> <div class="orderListItemProductOriginalPrice">¥2,499.00</div> <div class="orderListItemProductPrice">¥2,124.15</div> </td> <td width="100px" valign="top" class="orderListItemNumberTD orderItemOrderInfoPartTD" rowspan="1"> <span class="orderListItemNumber">1</span> </td> <td width="120px" valign="top" class="orderListItemProductRealPriceTD orderItemOrderInfoPartTD" rowspan="1"> <div class="orderListItemProductRealPrice">¥2,124.15</div> <div class="orderListItemPriceWithTransport">(含运费:¥0.00)</div> </td> <td width="100px" valign="top" class="orderListItemButtonTD orderItemOrderInfoPartTD" rowspan="1"> <a href="#nowhere"> <button class="orderListItemReview">评价</button> </a> </td> </tr> </tbody></table> <table oid="945" orderstatus="waitConfirm" class="orderListItemTable"> <tbody><tr class="orderListItemFirstTR"> <td colspan="2"> <b>2016-09-12 17:00:33</b> <span>订单号: 201609121700333128784 </span> </td> <td colspan="2"><img width="13px" src="https://how2j.cn/tmall../../../img/site/orderItemTmall.png">天猫商场</td> <td colspan="1"> <a href="#nowhere" class="wangwanglink"> <div class="orderItemWangWangGif"></div> </a> </td> <td class="orderItemDeleteTD"> <a href="#nowhere" oid="945" class="deleteOrderLink"> <span class="orderListItemDelete glyphicon glyphicon-trash"></span> </a> </td> </tr> <tr class="orderItemProductInfoPartTR"> <td class="orderItemProductInfoPartTD"><img width="80" height="80" src="https://how2j.cn/tmall/img/productSingle_middle/6651.jpg"></td> <td class="orderItemProductInfoPartTD"> <div class="orderListItemProductLinkOutDiv"> <a href="#nowhere">ULIFE原创信封包男个性真皮手包男士手拿包休闲男包手抓包拉链潮</a> <div class="orderListItemProductLinkInnerDiv"> <img title="支持信用卡支付" src="https://how2j.cn/tmall../../../img/site/creditcard.png"> <img title="消费者保障服务,承诺7天退货" src="https://how2j.cn/tmall../../../img/site/7day.png"> <img title="消费者保障服务,承诺如实描述" src="https://how2j.cn/tmall../../../img/site/promise.png"> </div> </div> </td> <td width="100px" class="orderItemProductInfoPartTD"> <div class="orderListItemProductOriginalPrice">¥1,188.00</div> <div class="orderListItemProductPrice">¥1,128.60</div> </td> <td width="100px" valign="top" class="orderListItemNumberTD orderItemOrderInfoPartTD" rowspan="1"> <span class="orderListItemNumber">1</span> </td> <td width="120px" valign="top" class="orderListItemProductRealPriceTD orderItemOrderInfoPartTD" rowspan="1"> <div class="orderListItemProductRealPrice">¥1,128.60</div> <div class="orderListItemPriceWithTransport">(含运费:¥0.00)</div> </td> <td width="100px" valign="top" class="orderListItemButtonTD orderItemOrderInfoPartTD" rowspan="1"> <a href="#nowhere"> <button class="orderListItemConfirm">确认收货</button> </a> </td> </tr> </tbody></table> </div> </div>


源代码
1. 双击选中单词 2. 三击选中整行 3. CTRL+F 查找 4. F8 全屏编辑,再次点击恢复
渲染中 渲染完成
效果
增值内容,请先登录
模仿天猫前端,单纯使用Html和CSS实现天猫官网, 大大提升前端技术与能力,积累宝贵前端项目经验。总计28张页面布局分析图, 33个js交互代码讲解, 395个选择器,1150个样式(每个均有注释), 涵盖全部68个知识点,267个学习步骤,包含一共21个讲解视频,累计时长11小时44分25秒,大小1.97G,为简历加上一个有吸引力的砝码。 学习期间,遇到本项目任何问题,都可以得到我的专业指导。 (购买一次,即可访问天猫前端所有知识点)
增值内容,点击购买
使用爬虫已经被系统记录,请勿使用爬虫,增大封号风险。 如果是误封 ,请联系站长,谢谢
布局
增值内容,请先登录
模仿天猫前端,单纯使用Html和CSS实现天猫官网, 大大提升前端技术与能力,积累宝贵前端项目经验。总计28张页面布局分析图, 33个js交互代码讲解, 395个选择器,1150个样式(每个均有注释), 涵盖全部68个知识点,267个学习步骤,包含一共21个讲解视频,累计时长11小时44分25秒,大小1.97G,为简历加上一个有吸引力的砝码。 学习期间,遇到本项目任何问题,都可以得到我的专业指导。 (购买一次,即可访问天猫前端所有知识点)
增值内容,点击购买
使用爬虫已经被系统记录,请勿使用爬虫,增大封号风险。 如果是误封 ,请联系站长,谢谢
运行效果
<!DOCTYPE html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script src="https://how2j.cn/study../../../js/jquery/2.0.0/jquery.min.js"></script> <link href="https://how2j.cn/study../../../css/bootstrap/3.3.6/bootstrap.min.css" rel="stylesheet"> <script src="https://how2j.cn/study../../../js/bootstrap/3.3.6/bootstrap.min.js"></script> </head> <div class="boughtDiv"> <div class="orderListItem"> <table oid="946" orderstatus="waitReview" class="orderListItemTable"> <tbody><tr class="orderListItemFirstTR"> <td colspan="2"> <b>2016-09-12 17:00:41</b> <span>订单号: 20160912170041674794 </span> </td> <td colspan="2"><img width="13px" src="https://how2j.cn/tmall../../../img/site/orderItemTmall.png">天猫商场</td> <td colspan="1"> <a href="#nowhere" class="wangwanglink"> <div class="orderItemWangWangGif"></div> </a> </td> <td class="orderItemDeleteTD"> <a href="#nowhere" oid="946" class="deleteOrderLink"> <span class="orderListItemDelete glyphicon glyphicon-trash"></span> </a> </td> </tr> <tr class="orderItemProductInfoPartTR"> <td class="orderItemProductInfoPartTD"><img width="80" height="80" src="https://how2j.cn/tmall/img/productSingle_middle/3796.jpg"></td> <td class="orderItemProductInfoPartTD"> <div class="orderListItemProductLinkOutDiv"> <a href="#nowhere">公众智能扫地机器人家用全自动电动清洁地毯擦拖地一体机吸尘器</a> <div class="orderListItemProductLinkInnerDiv"> <img title="支持信用卡支付" src="https://how2j.cn/tmall../../../img/site/creditcard.png"> <img title="消费者保障服务,承诺7天退货" src="https://how2j.cn/tmall../../../img/site/7day.png"> <img title="消费者保障服务,承诺如实描述" src="https://how2j.cn/tmall../../../img/site/promise.png"> </div> </div> </td> <td width="100px" class="orderItemProductInfoPartTD"> <div class="orderListItemProductOriginalPrice">¥2,499.00</div> <div class="orderListItemProductPrice">¥2,124.15</div> </td> <td width="100px" valign="top" class="orderListItemNumberTD orderItemOrderInfoPartTD" rowspan="1"> <span class="orderListItemNumber">1</span> </td> <td width="120px" valign="top" class="orderListItemProductRealPriceTD orderItemOrderInfoPartTD" rowspan="1"> <div class="orderListItemProductRealPrice">¥2,124.15</div> <div class="orderListItemPriceWithTransport">(含运费:¥0.00)</div> </td> <td width="100px" valign="top" class="orderListItemButtonTD orderItemOrderInfoPartTD" rowspan="1"> <a href="#nowhere"> <button class="orderListItemReview">评价</button> </a> </td> </tr> </tbody></table> <table oid="945" orderstatus="waitConfirm" class="orderListItemTable"> <tbody><tr class="orderListItemFirstTR"> <td colspan="2"> <b>2016-09-12 17:00:33</b> <span>订单号: 201609121700333128784 </span> </td> <td colspan="2"><img width="13px" src="https://how2j.cn/tmall../../../img/site/orderItemTmall.png">天猫商场</td> <td colspan="1"> <a href="#nowhere" class="wangwanglink"> <div class="orderItemWangWangGif"></div> </a> </td> <td class="orderItemDeleteTD"> <a href="#nowhere" oid="945" class="deleteOrderLink"> <span class="orderListItemDelete glyphicon glyphicon-trash"></span> </a> </td> </tr> <tr class="orderItemProductInfoPartTR"> <td class="orderItemProductInfoPartTD"><img width="80" height="80" src="https://how2j.cn/tmall/img/productSingle_middle/6651.jpg"></td> <td class="orderItemProductInfoPartTD"> <div class="orderListItemProductLinkOutDiv"> <a href="#nowhere">ULIFE原创信封包男个性真皮手包男士手拿包休闲男包手抓包拉链潮</a> <div class="orderListItemProductLinkInnerDiv"> <img title="支持信用卡支付" src="https://how2j.cn/tmall../../../img/site/creditcard.png"> <img title="消费者保障服务,承诺7天退货" src="https://how2j.cn/tmall../../../img/site/7day.png"> <img title="消费者保障服务,承诺如实描述" src="https://how2j.cn/tmall../../../img/site/promise.png"> </div> </div> </td> <td width="100px" class="orderItemProductInfoPartTD"> <div class="orderListItemProductOriginalPrice">¥1,188.00</div> <div class="orderListItemProductPrice">¥1,128.60</div> </td> <td width="100px" valign="top" class="orderListItemNumberTD orderItemOrderInfoPartTD" rowspan="1"> <span class="orderListItemNumber">1</span> </td> <td width="120px" valign="top" class="orderListItemProductRealPriceTD orderItemOrderInfoPartTD" rowspan="1"> <div class="orderListItemProductRealPrice">¥1,128.60</div> <div class="orderListItemPriceWithTransport">(含运费:¥0.00)</div> </td> <td width="100px" valign="top" class="orderListItemButtonTD orderItemOrderInfoPartTD" rowspan="1"> <a href="#nowhere"> <button class="orderListItemConfirm">确认收货</button> </a> </td> </tr> </tbody></table> </div> </div>


源代码
1. 双击选中单词 2. 三击选中整行 3. CTRL+F 查找 4. F8 全屏编辑,再次点击恢复
渲染中 渲染完成
效果
增值内容,请先登录
模仿天猫前端,单纯使用Html和CSS实现天猫官网, 大大提升前端技术与能力,积累宝贵前端项目经验。总计28张页面布局分析图, 33个js交互代码讲解, 395个选择器,1150个样式(每个均有注释), 涵盖全部68个知识点,267个学习步骤,包含一共21个讲解视频,累计时长11小时44分25秒,大小1.97G,为简历加上一个有吸引力的砝码。 学习期间,遇到本项目任何问题,都可以得到我的专业指导。 (购买一次,即可访问天猫前端所有知识点)
增值内容,点击购买
使用爬虫已经被系统记录,请勿使用爬虫,增大封号风险。 如果是误封 ,请联系站长,谢谢
运行效果
<!DOCTYPE html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script src="https://how2j.cn/study../../../js/jquery/2.0.0/jquery.min.js"></script> <link href="https://how2j.cn/study../../../css/bootstrap/3.3.6/bootstrap.min.css" rel="stylesheet"> <script src="https://how2j.cn/study../../../js/bootstrap/3.3.6/bootstrap.min.js"></script> </head> <style> div.boughtDiv{ max-width: 1013px; margin: 10px auto; } table.orderListItemTable{ border: 2px solid #ECECEC; width: 100%; margin: 20px 0px; font-size:12px; } table.orderListItemTable:hover{ border: 2px solid #aaa !important; } table.orderListItemTable td{ padding: 8px 10px; } tr.orderListItemFirstTR{ background-color: #F1F1F1; } div.orderItemWangWangGif{ display: inline-block; width: 67px; height: 22px; background-image:url(https://how2j.cn/tmall../../../img/site/wangwang.gif); background-repeat: no-repeat; background-color: transparent; background-attachment: scroll; background-position: -0px -0px; position: relative; top: 0px; left: 2px; } td.orderItemDeleteTD{ text-align: right; } span.orderListItemDelete{ display: inline-block; margin: 0px 10px; color: #999999; font-size: 16px; } div.orderListItemProductLinkOutDiv{ position: relative; height: 80px; } div.orderListItemProductLinkInnerDiv{ position: absolute; bottom: 0px; } div.orderListItemProductOriginalPrice{ color: #999999; font-size: 14px; } div.orderListItemProductPrice{ color: #3C3C3C; font-size: 14px; } td.orderListItemNumberTD{ text-align: center; } td.orderItemOrderInfoPartTD{ border: solid 1px #ECECEC; } span.orderListItemNumber{ color: #3C3C3C; } td.orderListItemProductRealPriceTD{ text-align: center; } div.orderListItemProductRealPrice{ color: #3C3C3C; font-size: 14px; font-weight: bold; } div.orderListItemPriceWithTransport{ color: #6C6C6C; font-size: 12px; } td.orderListItemButtonTD{ text-align: center; } button.orderListItemReview{ border: 1px solid #DCDCDC; background-color: #fff; border-radius: 2px; color: #3C3C3C; font-size: 12px; font-weight: bold; padding: 6px 12px; } button.orderListItemReview:hover{ border-color: #C40000; color: #C40000; } button.orderListItemConfirm{ background-color: #66B6FF; border-radius: 2px; color: white; font-size: 12px; font-weight: bold; border-width: 0px; padding: 6px 12px; } button.orderListItemConfirm:hover{ background-color: #118ADB; } a{ color:#999; } a:hover{ text-decoration:none; color: #C40000; } </style> <div class="boughtDiv"> <div class="orderListItem"> <table oid="946" orderstatus="waitReview" class="orderListItemTable"> <tbody><tr class="orderListItemFirstTR"> <td colspan="2"> <b>2016-09-12 17:00:41</b> <span>订单号: 20160912170041674794 </span> </td> <td colspan="2"><img width="13px" src="https://how2j.cn/tmall../../../img/site/orderItemTmall.png">天猫商场</td> <td colspan="1"> <a href="#nowhere" class="wangwanglink"> <div class="orderItemWangWangGif"></div> </a> </td> <td class="orderItemDeleteTD"> <a href="#nowhere" oid="946" class="deleteOrderLink"> <span class="orderListItemDelete glyphicon glyphicon-trash"></span> </a> </td> </tr> <tr class="orderItemProductInfoPartTR"> <td class="orderItemProductInfoPartTD"><img width="80" height="80" src="https://how2j.cn/tmall/img/productSingle_middle/3796.jpg"></td> <td class="orderItemProductInfoPartTD"> <div class="orderListItemProductLinkOutDiv"> <a href="#nowhere">公众智能扫地机器人家用全自动电动清洁地毯擦拖地一体机吸尘器</a> <div class="orderListItemProductLinkInnerDiv"> <img title="支持信用卡支付" src="https://how2j.cn/tmall../../../img/site/creditcard.png"> <img title="消费者保障服务,承诺7天退货" src="https://how2j.cn/tmall../../../img/site/7day.png"> <img title="消费者保障服务,承诺如实描述" src="https://how2j.cn/tmall../../../img/site/promise.png"> </div> </div> </td> <td width="100px" class="orderItemProductInfoPartTD"> <div class="orderListItemProductOriginalPrice">¥2,499.00</div> <div class="orderListItemProductPrice">¥2,124.15</div> </td> <td width="100px" valign="top" class="orderListItemNumberTD orderItemOrderInfoPartTD" rowspan="1"> <span class="orderListItemNumber">1</span> </td> <td width="120px" valign="top" class="orderListItemProductRealPriceTD orderItemOrderInfoPartTD" rowspan="1"> <div class="orderListItemProductRealPrice">¥2,124.15</div> <div class="orderListItemPriceWithTransport">(含运费:¥0.00)</div> </td> <td width="100px" valign="top" class="orderListItemButtonTD orderItemOrderInfoPartTD" rowspan="1"> <a href="#nowhere"> <button class="orderListItemReview">评价</button> </a> </td> </tr> </tbody></table> <table oid="945" orderstatus="waitConfirm" class="orderListItemTable"> <tbody><tr class="orderListItemFirstTR"> <td colspan="2"> <b>2016-09-12 17:00:33</b> <span>订单号: 201609121700333128784 </span> </td> <td colspan="2"><img width="13px" src="https://how2j.cn/tmall../../../img/site/orderItemTmall.png">天猫商场</td> <td colspan="1"> <a href="#nowhere" class="wangwanglink"> <div class="orderItemWangWangGif"></div> </a> </td> <td class="orderItemDeleteTD"> <a href="#nowhere" oid="945" class="deleteOrderLink"> <span class="orderListItemDelete glyphicon glyphicon-trash"></span> </a> </td> </tr> <tr class="orderItemProductInfoPartTR"> <td class="orderItemProductInfoPartTD"><img width="80" height="80" src="https://how2j.cn/tmall/img/productSingle_middle/6651.jpg"></td> <td class="orderItemProductInfoPartTD"> <div class="orderListItemProductLinkOutDiv"> <a href="#nowhere">ULIFE原创信封包男个性真皮手包男士手拿包休闲男包手抓包拉链潮</a> <div class="orderListItemProductLinkInnerDiv"> <img title="支持信用卡支付" src="https://how2j.cn/tmall../../../img/site/creditcard.png"> <img title="消费者保障服务,承诺7天退货" src="https://how2j.cn/tmall../../../img/site/7day.png"> <img title="消费者保障服务,承诺如实描述" src="https://how2j.cn/tmall../../../img/site/promise.png"> </div> </div> </td> <td width="100px" class="orderItemProductInfoPartTD"> <div class="orderListItemProductOriginalPrice">¥1,188.00</div> <div class="orderListItemProductPrice">¥1,128.60</div> </td> <td width="100px" valign="top" class="orderListItemNumberTD orderItemOrderInfoPartTD" rowspan="1"> <span class="orderListItemNumber">1</span> </td> <td width="120px" valign="top" class="orderListItemProductRealPriceTD orderItemOrderInfoPartTD" rowspan="1"> <div class="orderListItemProductRealPrice">¥1,128.60</div> <div class="orderListItemPriceWithTransport">(含运费:¥0.00)</div> </td> <td width="100px" valign="top" class="orderListItemButtonTD orderItemOrderInfoPartTD" rowspan="1"> <a href="#nowhere"> <button class="orderListItemConfirm">确认收货</button> </a> </td> </tr> </tbody></table> </div> </div>


源代码
1. 双击选中单词 2. 三击选中整行 3. CTRL+F 查找 4. F8 全屏编辑,再次点击恢复
渲染中 渲染完成
效果
增值内容,请先登录
模仿天猫前端,单纯使用Html和CSS实现天猫官网, 大大提升前端技术与能力,积累宝贵前端项目经验。总计28张页面布局分析图, 33个js交互代码讲解, 395个选择器,1150个样式(每个均有注释), 涵盖全部68个知识点,267个学习步骤,包含一共21个讲解视频,累计时长11小时44分25秒,大小1.97G,为简历加上一个有吸引力的砝码。 学习期间,遇到本项目任何问题,都可以得到我的专业指导。 (购买一次,即可访问天猫前端所有知识点)
增值内容,点击购买
步骤 6 :

再整合在一起

edit edit
增值内容,请先登录
模仿天猫前端,单纯使用Html和CSS实现天猫官网, 大大提升前端技术与能力,积累宝贵前端项目经验。总计28张页面布局分析图, 33个js交互代码讲解, 395个选择器,1150个样式(每个均有注释), 涵盖全部68个知识点,267个学习步骤,包含一共21个讲解视频,累计时长11小时44分25秒,大小1.97G,为简历加上一个有吸引力的砝码。 学习期间,遇到本项目任何问题,都可以得到我的专业指导。 (购买一次,即可访问天猫前端所有知识点)
增值内容,点击购买
使用爬虫已经被系统记录,请勿使用爬虫,增大封号风险。 如果是误封 ,请联系站长,谢谢
运行效果
<!DOCTYPE html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script src="https://how2j.cn/study../../../js/jquery/2.0.0/jquery.min.js"></script> <link href="https://how2j.cn/study../../../css/bootstrap/3.3.6/bootstrap.min.css" rel="stylesheet"> <script src="https://how2j.cn/study../../../js/bootstrap/3.3.6/bootstrap.min.js"></script> </head> <style> div.boughtDiv{ max-width: 1013px; margin: 10px auto; } table.orderListItemTable{ border: 2px solid #ECECEC; width: 100%; margin: 20px 0px; font-size:12px; } table.orderListItemTable:hover{ border: 2px solid #aaa !important; } table.orderListItemTable td{ padding: 8px 10px; } tr.orderListItemFirstTR{ background-color: #F1F1F1; } div.orderItemWangWangGif{ display: inline-block; width: 67px; height: 22px; background-image:url(https://how2j.cn/tmall../../../img/site/wangwang.gif); background-repeat: no-repeat; background-color: transparent; background-attachment: scroll; background-position: -0px -0px; position: relative; top: 0px; left: 2px; } td.orderItemDeleteTD{ text-align: right; } span.orderListItemDelete{ display: inline-block; margin: 0px 10px; color: #999999; font-size: 16px; } div.orderListItemProductLinkOutDiv{ position: relative; height: 80px; } div.orderListItemProductLinkInnerDiv{ position: absolute; bottom: 0px; } div.orderListItemProductOriginalPrice{ color: #999999; font-size: 14px; } div.orderListItemProductPrice{ color: #3C3C3C; font-size: 14px; } td.orderListItemNumberTD{ text-align: center; } td.orderItemOrderInfoPartTD{ border: solid 1px #ECECEC; } span.orderListItemNumber{ color: #3C3C3C; } td.orderListItemProductRealPriceTD{ text-align: center; } div.orderListItemProductRealPrice{ color: #3C3C3C; font-size: 14px; font-weight: bold; } div.orderListItemPriceWithTransport{ color: #6C6C6C; font-size: 12px; } td.orderListItemButtonTD{ text-align: center; } button.orderListItemReview{ border: 1px solid #DCDCDC; background-color: #fff; border-radius: 2px; color: #3C3C3C; font-size: 12px; font-weight: bold; padding: 6px 12px; } button.orderListItemReview:hover{ border-color: #C40000; color: #C40000; } button.orderListItemConfirm{ background-color: #66B6FF; border-radius: 2px; color: white; font-size: 12px; font-weight: bold; border-width: 0px; padding: 6px 12px; } button.orderListItemConfirm:hover{ background-color: #118ADB; } a{ color:#999; } a:hover{ text-decoration:none; color: #C40000; } </style> <div class="boughtDiv"> <div class="orderListItem"> <table oid="946" orderstatus="waitReview" class="orderListItemTable"> <tbody><tr class="orderListItemFirstTR"> <td colspan="2"> <b>2016-09-12 17:00:41</b> <span>订单号: 20160912170041674794 </span> </td> <td colspan="2"><img width="13px" src="https://how2j.cn/tmall../../../img/site/orderItemTmall.png">天猫商场</td> <td colspan="1"> <a href="#nowhere" class="wangwanglink"> <div class="orderItemWangWangGif"></div> </a> </td> <td class="orderItemDeleteTD"> <a href="#nowhere" oid="946" class="deleteOrderLink"> <span class="orderListItemDelete glyphicon glyphicon-trash"></span> </a> </td> </tr> <tr class="orderItemProductInfoPartTR"> <td class="orderItemProductInfoPartTD"><img width="80" height="80" src="https://how2j.cn/tmall/img/productSingle_middle/3796.jpg"></td> <td class="orderItemProductInfoPartTD"> <div class="orderListItemProductLinkOutDiv"> <a href="#nowhere">公众智能扫地机器人家用全自动电动清洁地毯擦拖地一体机吸尘器</a> <div class="orderListItemProductLinkInnerDiv"> <img title="支持信用卡支付" src="https://how2j.cn/tmall../../../img/site/creditcard.png"> <img title="消费者保障服务,承诺7天退货" src="https://how2j.cn/tmall../../../img/site/7day.png"> <img title="消费者保障服务,承诺如实描述" src="https://how2j.cn/tmall../../../img/site/promise.png"> </div> </div> </td> <td width="100px" class="orderItemProductInfoPartTD"> <div class="orderListItemProductOriginalPrice">¥2,499.00</div> <div class="orderListItemProductPrice">¥2,124.15</div> </td> <td width="100px" valign="top" class="orderListItemNumberTD orderItemOrderInfoPartTD" rowspan="1"> <span class="orderListItemNumber">1</span> </td> <td width="120px" valign="top" class="orderListItemProductRealPriceTD orderItemOrderInfoPartTD" rowspan="1"> <div class="orderListItemProductRealPrice">¥2,124.15</div> <div class="orderListItemPriceWithTransport">(含运费:¥0.00)</div> </td> <td width="100px" valign="top" class="orderListItemButtonTD orderItemOrderInfoPartTD" rowspan="1"> <a href="#nowhere"> <button class="orderListItemReview">评价</button> </a> </td> </tr> </tbody></table> <table oid="945" orderstatus="waitConfirm" class="orderListItemTable"> <tbody><tr class="orderListItemFirstTR"> <td colspan="2"> <b>2016-09-12 17:00:33</b> <span>订单号: 201609121700333128784 </span> </td> <td colspan="2"><img width="13px" src="https://how2j.cn/tmall../../../img/site/orderItemTmall.png">天猫商场</td> <td colspan="1"> <a href="#nowhere" class="wangwanglink"> <div class="orderItemWangWangGif"></div> </a> </td> <td class="orderItemDeleteTD"> <a href="#nowhere" oid="945" class="deleteOrderLink"> <span class="orderListItemDelete glyphicon glyphicon-trash"></span> </a> </td> </tr> <tr class="orderItemProductInfoPartTR"> <td class="orderItemProductInfoPartTD"><img width="80" height="80" src="https://how2j.cn/tmall/img/productSingle_middle/6651.jpg"></td> <td class="orderItemProductInfoPartTD"> <div class="orderListItemProductLinkOutDiv"> <a href="#nowhere">ULIFE原创信封包男个性真皮手包男士手拿包休闲男包手抓包拉链潮</a> <div class="orderListItemProductLinkInnerDiv"> <img title="支持信用卡支付" src="https://how2j.cn/tmall../../../img/site/creditcard.png"> <img title="消费者保障服务,承诺7天退货" src="https://how2j.cn/tmall../../../img/site/7day.png"> <img title="消费者保障服务,承诺如实描述" src="https://how2j.cn/tmall../../../img/site/promise.png"> </div> </div> </td> <td width="100px" class="orderItemProductInfoPartTD"> <div class="orderListItemProductOriginalPrice">¥1,188.00</div> <div class="orderListItemProductPrice">¥1,128.60</div> </td> <td width="100px" valign="top" class="orderListItemNumberTD orderItemOrderInfoPartTD" rowspan="1"> <span class="orderListItemNumber">1</span> </td> <td width="120px" valign="top" class="orderListItemProductRealPriceTD orderItemOrderInfoPartTD" rowspan="1"> <div class="orderListItemProductRealPrice">¥1,128.60</div> <div class="orderListItemPriceWithTransport">(含运费:¥0.00)</div> </td> <td width="100px" valign="top" class="orderListItemButtonTD orderItemOrderInfoPartTD" rowspan="1"> <a href="#nowhere"> <button class="orderListItemConfirm">确认收货</button> </a> </td> </tr> </tbody></table> </div> </div>


源代码
1. 双击选中单词 2. 三击选中整行 3. CTRL+F 查找 4. F8 全屏编辑,再次点击恢复
渲染中 渲染完成
效果


HOW2J公众号,关注后实时获知最新的教程和优惠活动,谢谢。


提问已经提交成功,正在审核。 请于 我的提问 处查看提问记录,谢谢
关于 实践项目-天猫前端-产品列表部分 的提问

尽量提供截图代码异常信息,有助于分析和解决问题。 也可进本站QQ群交流: 982790551
提问尽量提供完整的代码,环境描述,越是有利于问题的重现,您的问题越能更快得到解答。
对教程中代码有疑问,请提供是哪个步骤,哪一行有疑问,这样便于快速定位问题,提高问题得到解答的速度
在已经存在的几千个提问里,有相当大的比例,是因为使用了和站长不同版本的开发环境导致的,比如 jdk, eclpise, idea, mysql,tomcat 等等软件的版本不一致。
请使用和站长一样的版本,可以节约自己大量的学习时间。 站长把教学中用的软件版本整理了,都统一放在了这里, 方便大家下载: https://how2j.cn/k/helloworld/helloworld-version/1718.html

上传截图