AJAX/PHP/JQuery/CSS设计拖拉式购物车

开发 前端
在电子商务网站的建设中,购物车这个功能是不能缺少的。而编写购物车的方法也是多种多样,有的简单有的复杂,而在本文中,将带领大家使用PHP,JQuery和CSS和AJAX技术,去设计一个拖拉式的购物车。

  下边,笔者将带领大家使用PHP,JQuery和CSS和AJAX技术,去设计一个拖拉式的购物车,这个购物车的效果比较酷,当你选择好要购买的商品后,直接用鼠标拖拉到一个购物篮的图标中去,则完成一次购物的过程,跟在超市购物的过程有点相像。本文将使用MySQL数据库,并且用到了jQuery中的一个很好用的插件simpletip(地址:http://craigsworks.com/projects/simpletip/),接下来会介绍其详细的用法。

  步骤1 建立Mysql数据库

  首先,为我们的购物车应用建立如下的mysql数据库文件,下面给出表结构,并添加一些样例数据:

  1. CREATE TABLE IF NOT EXISTS `internet_shop` (  
  2.   `id` int(6) NOT NULL auto_increment,  
  3.   `img` varchar(32) collate utf8_unicode_ci NOT NULL default '',  
  4.   `name` varchar(64) collate utf8_unicode_ci NOT NULL default '',  
  5.   `description` text collate utf8_unicode_ci NOT NULL,  
  6.   `price` double NOT NULL default '0',  
  7.   PRIMARY KEY  (`id`),  
  8.   UNIQUE KEY `img` (`img`)  
  9. ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7 ;  
  10.  
  11. INSERT INTO `internet_shop` VALUES(1, 'iPod.png''iPod''The original and popular iPod.', 200);  
  12. INSERT INTO `internet_shop` VALUES(2, 'iMac.png''iMac''The iMac computer.', 1200);  
  13. INSERT INTO `internet_shop` VALUES(3, 'iPhone.png''iPhone''This is the new iPhone.', 400);  
  14. INSERT INTO `internet_shop` VALUES(4, 'iPod-Shuffle.png''iPod Shuffle''The new iPod shuffle.', 49);  
  15. INSERT INTO `internet_shop` VALUES(5, 'iPod-Nano.png''iPod Nano''The new iPod Nano.', 99);  
  16. INSERT INTO `internet_shop` VALUES(6, 'Apple-TV.png''Apple TV''The new Apple TV. Buy it now!', 300); 

  这里我们只是简单地设计了商品的属性表,其中包括了商品的图片,名称,价格和描述,在实际的应用中,可能会设计更复杂的商品属性。

#p#

  步骤2 设计页面结构

  接下来,我们开始设计我们的页面结构,HTML代码如下:

  1. <div id="main-container"> <!—主DIV --> 
  2.  
  3. <div class="tutorialzine">    <!—标题 --> 
  4. <h1>Shopping cart</h1> 
  5. <h3>The best products at the best prices</h3> 
  6. </div> 
  7.  
  8. <div class="container">    <!—显示商品区域--> 
  9.  
  10. <span class="top-label"> 
  11. <span class="label-txt">Products</span>    <!—显示Products的标题div --> 
  12. </span> 
  13.  
  14. <div class="content-area"> 
  15. <div class="content drag-desired">      
  16. <?php 
  17. // 这里动态从数据库中读取商品  
  18. ?> 
  19.  
  20. <div class="clear"></div>    <!—这里用于当用户鼠标移动到该产品时,显示该产品的简介-> 
  21. </div> 
  22. </div> 
  23.  
  24. <div class="bottom-container-border">    <!—区域底部的圆角区域--> 
  25. </div> 
  26.  
  27. </div>      
  28. <div class="container">    <!—购物车的div层> 
  29.  
  30. <span class="top-label"> 
  31. <span class="label-txt">Shopping Cart</span>      
  32. </span> 
  33.  
  34. <div class="content-area"> 
  35. <div class="content drop-here">    <!—该区域为可接收用户拖拉物品到购物车的区域 --> 
  36. <div id="cart-icon"> 
  37. <img src="img/Shoppingcart_128x128.png" alt="shopping cart" class="pngfix" width="128" height="128" />      
  38. <!--一个加载等待的图标--> 
  39. <img src="img/ajax_load_2.gif" alt="loading.." id="ajax-loader" width="16" height="16" /> 
  40. </div> 
  41. <!—购物表单?  
  42. <form name="checkoutForm" method="post" action="order.php">      
  43. <div id="item-list">    <!—购物清单列表 --> 
  44.  
  45. </div> 
  46. </form>      
  47.  
  48. <div class="clear"></div>      
  49. <div id="total"></div>    <!—商品总价 --> 
  50. <div class="clear"></div>    <!-- clearing the floats --> 
  51.  
  52. <!--结帐的按钮?  
  53. <a href="" onclick="document.forms.checkoutForm.submit(); return false;" class="button">Checkout</a>      
  54. </div> 
  55. </div> 
  56.  
  57. <div class="bottom-container-border">    <!--该区域的底部--> 
  58. </div> 
  59.  
  60. </div> 

  在这个页面中,在上半部分,设置了一个div层,用于显示各种商品,并且在页面下半部分,另外设置了一个用于接收用户拖拽商品到购物车的层,只要用户把商品拖拽到这个层中的任意区域(不限于拖拽到购物车内),都被认为是用户把商品放到了购物车中。

#p#

  步骤3 设计CSS

  将CSS的名称命名为demo.css,代码如下:

  1.   body,h1,h2,h3,p,td,quote,small,form,input,ul,li,ol,label{...}{  
  2. /**//* 为某些浏览器兼容性而设计 */ 
  3.     margin:0px;  
  4.     padding:0px;  
  5.     font-family:ArialHelveticasans-serif;  
  6. }  
  7.  
  8. body{...}{  
  9.     color:#555555;  
  10.     font-size:13px;  
  11.     background-color:#282828;  
  12. }  
  13.  
  14. .clear{...}{      
  15.     clear:both;  
  16. }  
  17.  
  18. #main-container{...}{    /**//* 页面中主层的宽度和边距设置*/ 
  19.     width:700px;  
  20.     margin:20px auto;  
  21. }  
  22.  
  23. .container{...}{    /**//* 商品列表层和购物车区域的div设置 */ 
  24.     margin-bottom:40px;  
  25. }  
  26.  
  27. .top-label{...}{    /**//* 这是页面上部products的样式*/ 
  28.     background:url(img/label_bg.png) no-repeat;      
  29.     display:inline-block;  
  30.     margin-left:20px;  
  31.     position:relative;  
  32.     margin-bottom:-15px;      
  33. }  
  34.  
  35. .label-txt{...}{      
  36.     background:url(img/label_bg.png) no-repeat top right;      
  37.     display:inline-block;  
  38.     font-size:10px;  
  39.     height:36px;  
  40.     margin-left:10px;      
  41.     padding:12px 15px 0 5px;  
  42.     text-transform:uppercase;  
  43. }  
  44.  
  45. .content-area{...}{    /**//* content-area区域的样式 */ 
  46.     background:url(img/container_top.png) no-repeat #fcfcfc;  
  47.     padding:15px 20px 0 20px;  
  48. }  
  49.  
  50. .content{...}{      
  51.     padding:10px;  
  52. }  
  53.  
  54. .drag-desired{...}{    /**//* 商品列表区域的样式*/ 
  55.     background:url(img/drag_desired_label.png) no-repeat top right;  
  56.     padding:30px;  
  57. }  
  58.  
  59. .drop-here{...}{    /**//*购物车区域的样式 */ 
  60.     background:url(img/drop_here_label.png) no-repeat top right;  
  61. }  
  62.  
  63. .bottom-container-border{...}{      
  64.     background:url(img/container_bottom.png) no-repeat;  
  65.     height:14px;  
  66. }  
  67.  
  68. .product{...}{    /**//* 商品的样式 */ 
  69.     border:2px solid #F5F5F5;  
  70.     float:left;  
  71.     margin:15px;  
  72.     padding:10px;  
  73. }  
  74.  
  75. .product img{...}{  
  76.     cursor:move;  
  77. }  
  78.  
  79. p.descr{...}{  
  80.     padding:5px 0;  
  81. }  
  82.  
  83. small{...}{  
  84.     display:block;  
  85.     margin-top:4px;  
  86. }  
  87.  
  88. .tooltip{...}{    /**//* 商品的简单介绍用到的样式,这个样式jQuery 的simpletip plugin插件会用到 */ 
  89.     positionabsolute;  
  90.     top: 0;  
  91.     left: 0;  
  92.     z-index3;  
  93.     displaynone;  
  94.  
  95.     background-color:#666666;  
  96.     border:1px solid #666666;  
  97.     color:#fcfcfc;  
  98.  
  99.     padding:10px;  
  100.  
  101.     -moz-border-radius:12px;    /**//* 圆角效果*/ 
  102.     -khtml-border-radius: 12px;  
  103.     -webkit-border-radius: 12px;  
  104.     border-radius:12px;  

  以上的样式中给出了关键部分的注释,其中注意的是使用了CSS3中的圆角效果样式border-radius,接下来再看剩余的其他样式部分:  

  1. #cart-icon{...}{    /**//* 购物篮的样式 */ 
  2.     width:128px;  
  3.     float:left;  
  4.     position:relative;      
  5. }  
  6.  
  7. #ajax-loader{...}{  
  8.     position:absolute;    /**//* 这是等待加载的图标的样式*/ 
  9.     top:0px;  
  10.     left:0px;  
  11.     visibility:hidden;  
  12. }  
  13.  
  14. #item-list{...}{    /**//* 购物篮中已放置的商品的样式*/ 
  15.     float:left;  
  16.     width:490px;  
  17.     margin-left:20px;  
  18.     padding-top:15px;  
  19. }  
  20.  
  21. a.remove,a.remove:visited{...}{    /**//* 移除购物车中商品的链接的样式 */ 
  22.     color:red;  
  23.     font-size:10px;  
  24.     text-transform:uppercase;  
  25. }  
  26.  
  27. #total{...}{    /**//* 总计的样式*/ 
  28.     clear:both;  
  29.     float:right;  
  30.     font-size:10px;  
  31.     font-weight:bold;  
  32.     padding:10px 12px;  
  33.     text-transform:uppercase;  
  34. }  
  35.  
  36. #item-list table{...}{      
  37.     background-color:#F7F7F7;  
  38.     border:1px solid #EFEFEF;  
  39.     margin-top:5px;  
  40.     padding:4px;  
  41. }  
  42.  
  43. a.button,a.button:visited{...}{    /**//* 结算按钮*/ 
  44.     display:none;  
  45.  
  46.     height:29px;  
  47.     width:136px;  
  48.  
  49.     padding-top:15px;  
  50.     margin:0 auto;  
  51.     overflow:hidden;  
  52.  
  53.     color:white;  
  54.     font-size:12px;  
  55.     font-weight:bold;  
  56.     text-align:center;  
  57.     text-transform:uppercase;  
  58.  
  59.     background:url(img/button.png) no-repeat center top;      
  60. }  
  61.  
  62. a.button:hover{...}{  
  63.     background-position:bottom;      
  64.     text-decoration:none;  

  为了兼容IE 6浏览器,我们特别添加如下的CSS样式代码,以让IE 6支持PNG下背景透明的特性:

  1. <!--[if lt IE 7]>  
  2. <style type="text/css">  
  3.     .pngfix { behavior: url(pngfix/iepngfix.htc);}      
  4.     .tooltip{width:200px;};    /*为商品的介绍设置默认的宽度 */ 
  5. </style>  
  6. <![endif]--> 

  将其中的iepngfix.htc和blank.gif解压缩到合适的目录内,.htc即Html Components,该文件需要在CSS中被调用;blank.gif是一个1×1像素的透明GIF图片。

  最后,我们的页面效果做出来应该是这样的:

AJAX/PHP/JQuery/CSS设计拖拉式购物车 

 

#p#

  步骤4 PHP部分设计

  下面进行PHP部分的代码设计,首先是列出数据库表中的商品,代码简单,如下所示:

  1. Demo.php中  
  2. $result = mysql_query("SELECT * FROM internet_shop");      
  3. while($row=mysql_fetch_assoc($result))  
  4. {  
  5.     echo '<div class="product"><img src="img/products/'.$row['img'].'" alt="'.htmlspecialchars($row['name']).'" width="128" height="128" class="pngfix" /></div>';  

  另外一个需要编写PHP代码的地方,是当用户鼠标移动到某个商品介绍时,通过jQuery的simpletips插件,将商品的图片作为参数,使用ajax方式调用,获得该商品的介绍,并且返回为一个HTML文件再给前端页面进行处理,该文件在ajax目录下的tips.php文件,如下所示:

  1. Ajax/tips.php  
  2.  
  3. define('INCLUDE_CHECK',1);  
  4. require "../connect.php";  
  5.  
  6. if(!$_POST['img']) die("There is no such product!");  
  7.  
  8. $img=mysql_real_escape_string(end(explode('/',$_POST['img'])));  
  9.  
  10. $row=mysql_fetch_assoc(mysql_query("SELECT * FROM internet_shop WHERE img='".$img."'"));  
  11.  
  12. if(!$rowdie("There is no such product!");  
  13.  
  14. echo '<strong>'.$row['name'].'</strong>  
  15. <p class="descr">'.$row['description'].'</p>  
  16. <strong>price: $'.$row['price'].'</strong>  
  17. <small>Drag it to your shopping cart to purchase it</small>'; 

  此外,我们还需要编写一个addtocart.php文件,这个文件的作用是:当用户将选定的商品拖拉到购物车时,程序在数据库中检索该商品,然后以JSON的形式返回给前端,代码如下:

  1. <?  
  2. define('INCLUDE_CHECK',1);  
  3. require "../connect.php";  
  4.  
  5. if(!$_POST['img']) die("There is no such product!");  
  6.  
  7. $img=mysql_real_escape_string(end(explode('/',$_POST['img'])));  
  8. $row=mysql_fetch_assoc(mysql_query("SELECT * FROM internet_shop WHERE img='".$img."'"));  
  9.  
  10. echo '{status:1,id:'.$row['id'].',price:'.$row['price'].',txt:\'\  
  11. \  
  12. <table width="100%" id="table_'.$row['id'].'">\  
  13. <tr>\  
  14. <td width="60%">'.$row['name'].'</td>\  
  15. <td width="10%">$'.$row['price'].'</td>\  
  16. <td width="15%"><select name="'.$row['id'].'_cnt" id="'.$row['id'].'_cnt" onchange="change('.$row['id'].');">\  
  17. <option value="1">1</option>\  
  18. <option value="2">2</option>\  
  19. <option value="3">3</option></select>\  
  20. \  
  21. </td>\  
  22. <td width="15%"><a href="#" onclick="remove('.$row['id'].');return false;" class="remove">remove</a></td>\  
  23. </tr>\  
  24. </table>\'}'

  当用户把商品拖拉到购物车区域后,前端页面就以表格的形式逐一显示出用户所选的商品,如下图:

 

 

  最后,我们看下当用户点结帐按钮后的页面order.php的编写,这里我们只是简单把用户的选择最后罗列出来并且进行商品价格合计,代码如下:

  1. <?php  
  2.  
  3. define('INCLUDE_CHECK',1);  
  4. require "connect.php";  
  5.  
  6. if(!$_POST)    // 检查是否有数据提交  
  7.  
  8. {  
  9.     if($_SERVER['HTTP_REFERER'])      
  10.     header('Location : '.$_SERVER['HTTP_REFERER']);  
  11.     exit;      
  12. }  
  13.  
  14. ?>  
  15.  
  16. <!-- XHTML code.. -->  
  17.  
  18. <?php  
  19.  
  20. $cnt = array();  
  21. $products = array();  
  22.  
  23. foreach($_POST as $key=>$value)  
  24. {  
  25.     $key=(int)str_replace('_cnt','',$key);  
  26.     $products[]=$key;    // 将产品的ID编号放到数组products中去  
  27.    
  28.     $cnt[$key]=$value;      
  29.  
  30. $result = mysql_query("SELECT * FROM internet_shop WHERE id IN(".join($products,',').")");    // selecting all the products with the IN() function  
  31.  
  32. if(!mysql_num_rows($result))    // 没找到相关产品  
  33. {  
  34.     echo '<h1>There was an error with your order!</h1>';  
  35. }  
  36. else 
  37. {  
  38.     echo '<h1>You ordered:</h1>';  
  39.     while($row=mysql_fetch_assoc($result))  
  40.     {  
  41.         echo '<h2>'.$cnt[$row['id']].' x '.$row['name'].'</h2>';  
  42.         //计算总价格  
  43.         $total+=$cnt[$row['id']]*$row['price'];  
  44.     }  
  45.  
  46.     echo '<h1>Total: $'.$total.'</h1>';  
  47. }  
  48.  
  49. ?> 

  这里,使用数组products保存了用户选择好的商品名称,而cnt数组则记录了每个商品购买的件数,最后实现效果如下:

 

 

#p#

  步骤5 jQuery部分设计

  我们首先要引入相关的jQuery文件,如下:

  1. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>  
  2. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>  
  3. <script type="text/javascript" src="simpletip/jquery.simpletip-1.3.1.pack.js"></script> <!-- the jQuery simpletip plugin -->  
  4. <script type="text/javascript" src="script.js"></script>  

  同时,我们要编写自己的script.js文件,在这个文件中,我们使用了jQuery的toolstip控件:

  1. var purchased=new Array();    //该数组包含了用户购买的商品  
  2.  
  3.  var totalprice=0;    //商品总价  
  4. $(document).ready(function()...{  
  5.  
  6.     $('.product').simpletip(...{    //使用simpletip控件  
  7.         offset:[40,0],  
  8.         content:'<img style="margin:10px;" src="img/ajax_load.gif" alt="loading" />',      
  9.  
  10.         onShow: function()...{  
  11.  
  12.             var param = this.getParent().find('img').attr('src');  
  13.             // 修复IE6的问题  
  14.             if($.browser.msie && $.browser.version=='6.0')  
  15.             ...{  
  16.                 param = this.getParent().find('img').attr('style').match(/src=\"([^\"]+)\"/);  
  17.                 param = param[1];  
  18.             }  
  19.  
  20.             // 通过ajax方式加载tips.php文件  
  21.             this.load('ajax/tips.php',...{img:param});  
  22.         }   
  23.  
  24.     });  
  25.  
  26.     $(".product img").draggable(...{    // 允许所有商品图片能拖拽  
  27.  
  28.     containment: 'document',  
  29.     opacity: 0.6,  
  30.     revert: 'invalid',  
  31.     helper: 'clone',  
  32.     zIndex: 100  
  33.  
  34.     });  
  35.  
  36.     $("div.content.drop-here").droppable(...{    // 当商品被拖拉到购物车区域时触发  
  37.  
  38.             drop:  
  39.                 function(e, ui)  
  40.                 ...{  
  41.                     var param = $(ui.draggable).attr('src');  
  42.                     // 修复IE 6下的问题  
  43.                     if($.browser.msie && $.browser.version=='6.0')  
  44.                     ...{  
  45.                         param = $(ui.draggable).attr('style').match(/src=\"([^\"]+)\"/);  
  46.                         param = param[1];  
  47.                     }  
  48.  
  49.                     addlist(param);    //调用addlist方法  
  50.                 }  
  51.  
  52.     });  
  53.  
  54. });  
  55.    接下来看addlist方法的编写,其中都提供了详细的注释:  
  56. function addlist(param)  
  57. ...{  
  58.       
  59.  
  60.     $.ajax(...{    // ajax方法调用 addtocart.php  
  61.     type: "POST",  
  62.     url: "ajax/addtocart.php",  
  63.     data: 'img='+encodeURIComponent(param),    // the product image as a parameter  
  64.     dataType: 'json',    // JSON形式调用  
  65.  
  66. //在调用前,显示加载的小图标  
  67.     beforeSend: function(x)...{$('#ajax-loader').css('visibility','visible');},      
  68. //调用成功时的回调方法  
  69.     success: function(msg)...{  
  70.  
  71. //调用成功后,隐藏等待加载的小图标  
  72.         $('#ajax-loader').css('visibility','hidden');    // hiding the loading gif animation  
  73. //如果有出错  
  74.         if(parseInt(msg.status)!=1)  
  75.         ...{  
  76.             return false;            }  
  77.         else 
  78.         ...{  
  79.             var check=false;  
  80.             var cnt = false;  
  81.  
  82. //检查某个商品是否已经在购物车中存在了  
  83.             for(var i=0; i<purchased.length;i++)  
  84.             ...{  
  85.                 if(purchased[i].id==msg.id)                    ...{  
  86.                     check=true;  
  87.                     cnt=purchased[i].cnt;  
  88.  
  89.                     break;  
  90.                 }  
  91.             }  
  92.  
  93.             if(!cnt)      
  94.                 $('#item-list').append(msg.txt);  
  95.  
  96.             if(!check)    //如果该商品是新购买商品,购物车中不存在,则purchased数组中增加相关产品  
  97.             ...{  
  98.                 purchased.push(...{id:msg.id,cnt:1,price:msg.price});  
  99.             }  
  100.  
  101.             else    // 如果购物车中已经有该商品,则数量增加  
  102.  
  103.             ...{  
  104. // 这里设置每样商品只能买3件,当然大家可以修改  
  105.                 if(cnt>=3) return false;      
  106.  
  107. //增加购物车中显示的数量  
  108.                 purchased[i].cnt++;  
  109.  
  110. //设置数量下拉框中的数量  
  111.                 $('#'+msg.id+'_cnt').val(purchased[i].cnt);      
  112.  
  113.             }  
  114.  
  115.             totalprice+=msg.price;    // 重新计算总价格  
  116.             update_total();    // 修改总价格  
  117.  
  118.         }  
  119.  
  120.         $('.tooltip').hide();    // 隐藏商品的介绍  
  121.     }  
  122.     });  
  123. }  
  124.  
  125.  
  126. //帮助工具类,找出当前产品在purchased数组中的位置  
  127. function findpos(id)      
  128. ...{  
  129.     for(var i=0; i<purchased.length;i++)  
  130.     ...{  
  131.         if(purchased[i].id==id)  
  132.             return i;  
  133.     }  
  134.  
  135.     return false;  
  136. }  
  137.  
  138. //将商品从购物车中移除  
  139. function remove(id)      
  140. ...{  
  141. //找出其在数组中的位置  
  142.     var i=findpos(id);      
  143.  
  144.     totalprice-=purchased[i].price*purchased[i].cnt;    //更新总价格  
  145.     purchased[i].cnt = 0;    // reset the counter设置purchased数组中,该商品的数量为0  
  146.  
  147.     $('#table_'+id).remove();    //在购物车列表中删除该项目  
  148.     update_total();      
  149. }  
  150.  
  151.  
  152. //当用户点每个商品的下拉框,改变数量时触发该方法  
  153. function change(id)       
  154. ...{  
  155.     var i=findpos(id);  
  156.  
  157. //更新总价格  
  158.     totalprice+=(parseInt($('#'+id+'_cnt').val())-purchased[i].cnt)*purchased[i].price;  
  159.  
  160.     purchased[i].cnt=parseInt($('#'+id+'_cnt').val());  
  161.     update_total();  
  162. }  
  163.  
  164.  
  165. //计算当前购物车中的货品总价格  
  166. function update_total()      
  167.  
  168. ...{  
  169.     if(totalprice)  
  170.     ...{  
  171. //如果买了商品,显示总价格标签文本  
  172.         $('#total').html('total: $'+totalprice);            $('a.button').css('display','block');  
  173.     }  
  174.     else    // 如果没购买商品,不显示总价格标签文本  
  175.     ...{  
  176.         $('#total').html('');  
  177.         $('a.button').hide();  
  178.     }  

  最后,我们可以运行看到相关效果:

  效果可以在这个地址看到:http://demo.tutorialzine.com/2009/09/shopping-cart-php-jquery/demo.php

  相关代码下载:http://demo.tutorialzine.com/2009/09/shopping-cart-php-jquery/demo.zip

【编辑推荐】

  1. 开发购物车应用程序
  2. Ajax基础教程
  3. PHP新手上路(献给新手)
  4. CSS开发手册
  5. jQuery基础教程
责任编辑:韩亚珊 来源: IT168
相关推荐

2022-12-16 08:52:14

购物车系统存储

2015-08-03 11:48:12

购物车动画

2012-10-08 11:18:05

JavaMVC项目

2022-09-13 16:01:13

购物车京东接口

2022-06-28 14:42:26

ETS购物车应用

2013-12-11 11:26:24

移动互联网

2009-07-07 15:57:29

JSP购物车

2018-05-28 09:53:12

京东购物车Java

2023-11-08 08:01:40

Spring购物车代码

2018-05-17 16:45:29

Java购物车京东

2009-07-28 13:47:47

ASP.NET电子商务ASP.NET购物车

2017-11-06 09:10:56

程序员数据行业

2012-05-27 18:28:46

jQuery Mobi

2013-09-13 13:25:16

html5拖拽

2021-02-01 09:57:29

鸿蒙HarmonyOS应用

2011-05-18 13:28:46

jQueryPHPAJAX

2009-07-02 16:14:28

JSP Session购物车程序

2011-05-18 13:43:52

jQueryAjaxPHP

2021-10-20 06:00:34

淘宝微信朋友圈购物车

2017-11-10 13:21:45

华为
点赞
收藏

51CTO技术栈公众号