原生JS实现高大上的购物车

购物车可谓是js中十分经典的案例,很多电商网站都会用到,是一个十分考验综合性的案例今天分享一个自己编写的购物车,采用的是原生面向对象实现,数据的传导通过事件代理进行。
zip
shopCar.zip 预估大小:16个文件
folder
shopCar 文件夹
folder
style 文件夹
file
shop.css 1KB
folder
server 文件夹
file
server.js 487B
folder
img 文件夹
file
10.png 3KB
file
5.png 3KB
file
9.png 3KB
file
1.png 2KB
file
6.png 3KB
file
2.png 3KB
file
7.png 2KB
file
4.png 2KB
file
8.png 2KB
file
3.png 2KB
folder
json 文件夹
file
shop.json 1KB
folder
js 文件夹
file
methods.js 1KB
file
shop.js 16KB
file
shopCar.html 1KB
zip 文件大小:31.11KB