yfling / shoppingcart Goto Github PK
View Code? Open in Web Editor NEW🛒 Cart components based on vue2.0
🛒 Cart components based on vue2.0
下载完成后不能解压对应的包。提示无此文件或目录~
老师怎么下载项目啊
node_module别提交上来呀
cartView: function() {
var _this = this;
this.$http.get("data/cartData.json", {"id": 123}).then(res=> {
_this.productList = JSON.parse(res.body).result.list;
_this.totalMoney = JSON.parse(res.body).result.totalMoney;
});
}
只要转换成json对象即可
1.json文件的图片路径加了static目录,但是实际项目目录没有static目录,
"productImage":"static/img/goods-1.jpg",
"imgSrc":"static/img/part-1.jpg"
<style type="text/css">
.quantity input {
width: 40px;
padding: 5px 10px;
text-align: center;
}
cart.html自定义样式quantity 类拼写错了,这很明显,打开网页一看就发现了...商品数量旁边没有加减号。
包括cart.html里面的内容,是修改后的内容啊
请问项目如何运行?
很感谢,居然是手写的address.html
我用atom编译器打开index.html文件
上面没有显示购买的商品列表,只有全选和取消全选是为啥
谢谢你的整理 对我很有帮助 希望大家共同努力
我想下载项目之后自己学习修改,但是不知道怎么运行看效果呀
下载了代码,运行不起来,标题的报错只是其中之一,我是个新手,代码看不懂,也运行不来,怎么办?
这是另一个错:Uncaught( in promise) Response { url:'........',ok:flase,................. }
求大神帮帮我
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.