使用jQuery实现购物车结算功能

前端之家收集整理的这篇文章主要介绍了使用jQuery实现购物车结算功能前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

本文实例为大家分享了jQuery实现购物车结算功能展示的具体代码,供大家参考,具体内容如下

<div class="jb51code">
<pre class="brush:xhtml;">
<!DOCTYPE html>

<Meta charset="UTF-8">
数量删除 <tr class="shopping_product_list" id="shoppingProduct_01"&gt; <td class="shopping_product_list_1"&gt;<a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="blue"&gt;私募(首部披露资本博弈秘密的金融...</a></td&gt; <td class="shopping_product_list_2"&gt;<label>189</label></td&gt; <td class="shopping_product_list_3"&gt;¥<label>32.00</label></td&gt; <td class="shopping_product_list_4"&gt;¥<label>18.90 </label>(59折)</td&gt; <td class="shopping_product_list_5"&gt;<input type="text" value="1"/&gt;</td&gt; <td class="shopping_product_list_6"&gt;<a href="javascript:void(0)" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="blue"&gt;删除</a></td&gt; </tr&gt; <tr class="shopping_product_list" id="shoppingProduct_02"&gt; <td class="shopping_product_list_1"&gt;<a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="blue"&gt; 小团圆(张爱玲最神秘小说遗稿)</a></td&gt; <td class="shopping_product_list_2"&gt;<label>173</label></td&gt; <td class="shopping_product_list_3"&gt;¥<label>28.00</label></td&gt; <td class="shopping_product_list_4"&gt;¥<label>17.30</label>(62折)</td&gt; <td class="shopping_product_list_5"&gt;<input type="text" value="1"/&gt;</td&gt; <td class="shopping_product_list_6"&gt;<a href="javascript:void(0)" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="blue"&gt;删除</a></td&gt; </tr&gt; <tr class="shopping_product_list" id="shoppingProduct_03"&gt; <td class="shopping_product_list_1"&gt;<a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="blue"&gt;不抱怨的世界(畅销全球80国的世界...</a></td&gt; <td class="shopping_product_list_2"&gt;<label>154</label></td&gt; <td class="shopping_product_list_3"&gt;¥<label>24.80</label></td&gt; <td class="shopping_product_list_4"&gt;¥<label>15.40</label> (62折)</td&gt; <td class="shopping_product_list_5"&gt;<input type="text" value="2"/&gt;</td&gt; <td class="shopping_product_list_6"&gt;<a href="javascript:void(0)" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="blue"&gt;删除</a></td&gt; </tr&gt; <tr class="shopping_product_list" id="shoppingProduct_04"&gt; <td class="shopping_product_list_1"&gt;<a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="blue"&gt;福玛特双桶洗衣机XPB20-07S</a></td&gt; <td class="shopping_product_list_2"&gt;<label>358</label></td&gt; <td class="shopping_product_list_3"&gt;¥<label>458.00</label></td&gt; <td class="shopping_product_list_4"&gt;¥<label>358.00</label> (78折)</td&gt; <td class="shopping_product_list_5"&gt;<input type="text" value="1"/&gt;</td&gt; <td class="shopping_product_list_6"&gt;<a href="javascript:void(0)" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="blue"&gt;删除</a></td&gt; </tr&gt; <tr class="shopping_product_list" id="shoppingProduct_05"&gt; <td class="shopping_product_list_1"&gt;<a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="blue"&gt;PHP和MySQL Web开发 (原书第4版)</a></td&gt; <td class="shopping_product_list_2"&gt;<label>712</label></td&gt; <td class="shopping_product_list_3"&gt;¥<label>95.00</label></td&gt; <td class="shopping_product_list_4"&gt;¥<label>71.20</label> (75折)</td&gt; <td class="shopping_product_list_5"&gt;<input type="text" value="1"/&gt;</td&gt; <td class="shopping_product_list_6"&gt;<a href="javascript:void(0)" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="blue"&gt;删除</a></td&gt; </tr&gt; <tr class="shopping_product_list" id="shoppingProduct_06"&gt; <td class="shopping_product_list_1"&gt;<a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="blue"&gt;法布尔昆虫记</a>(再买¥68.30即可参加“满199元减10元现金”活动)</td&gt; <td class="shopping_product_list_2"&gt;<label>10</label></td&gt; <td class="shopping_product_list_3"&gt;¥<label>198.00</label></td&gt; <td class="shopping_product_list_4"&gt;¥<label>130.70</label> (66折)</td&gt; <td class="shopping_product_list_5"&gt;<input type="text" value="1"/&gt;</td&gt; <td class="shopping_product_list_6"&gt;<a href="javascript:void(0)" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="blue"&gt;删除</a></td&gt; </tr&gt; </table&gt; <div class="shopping_list_end"&gt; <div><a id="removeAllProduct" href="javascript:void(0);" rel="external nofollow" >清空购物车</a></div> <ul> <li class="shopping_list_end_1"&gt;<input name="" type="image" src="images/shopping_balance.gif"/&gt;</li> <li class="shopping_list_end_2"&gt;¥<label id="product_total"&gt;</label></li> <li class="shopping_list_end_3"&gt;商品金额总计:</li> <li class="shopping_list_end_4"&gt;您共节省金额:¥<label class="shopping_list_end_yellow" id="product_save"&gt;</label><br/> 可获商品积分:<label class="shopping_list_end_yellow" id="product_integral"&gt;</label> </li> </ul> </div>

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持编程之家。

原文链接:https://www.f2er.com/jquery/37161.html

猜你在找的jQuery相关文章