{{item.productName}}
20 | 21 | {{item.salePrice}} 22 | 23 |├── vue-cart ├── 01filter.html ├── 02计算属性.html ├── 03get-set.html ├── 04checked-change.html ├── 05foreach.html ├── 06every.html ├── 07购物车.html ├── 09cart-computed.html ├── data │ └── carts.json └── test.html └── vue-shop ├── .browserslistrc ├── .eslintrc.js ├── .gitignore ├── README.md ├── babel.config.js ├── package.json ├── public ├── favicon.ico └── index.html ├── server ├── app.js ├── bin │ └── www ├── models │ ├── db.js │ ├── goods.js │ └── users.js ├── package-lock.json ├── package.json ├── public │ └── stylesheets │ │ └── style.css ├── resource │ ├── carts.json │ ├── dumall-users.json │ └── goods-net.json ├── routes │ ├── goods.js │ └── users.js ├── views │ ├── error.pug │ ├── index.pug │ └── layout.pug └── yarn.lock ├── src ├── App.vue ├── assets │ ├── css │ │ └── global.css │ └── logo.png ├── main.js ├── router │ └── index.js ├── store │ └── index.js └── views │ ├── About.vue │ └── Home │ ├── cart.vue │ ├── componets │ ├── CartItem.vue │ ├── Content.vue │ ├── HomeTop.vue │ └── NavBread.vue │ └── index.vue └── yarn.lock /vue-cart/01filter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 |全选 | 31 |商品 | 32 |单价 | 33 |数量 | 34 |小计 | 35 |操作 | 36 |
---|---|---|---|---|---|
41 | | {{item.productPrice}} | 43 |44 | | {{item.productPrice*item.productCount |format(2)}} | 45 |46 | |
总价格:{{sum() |format(2)}}
50 |全选 | 31 |商品 | 32 |单价 | 33 |数量 | 34 |小计 | 35 |操作 | 36 |
---|---|---|---|---|---|
41 | | {{item.productPrice}} | 43 |44 | | {{item.productPrice*item.productCount |format(2)}} | 45 |46 | |
总值:{{sum | format(2)}}
50 |全选 | 33 |商品 | 34 |单价 | 35 |数量 | 36 |小计 | 37 |操作 | 38 |
---|---|---|---|---|---|
43 | 44 | | 45 |
46 | |
49 | 50 | {{item.productPrice}} 51 | | 52 |53 | 54 | | 55 |56 | {{item.productPrice*item.productCount | format(2)}} 57 | | 58 |59 | |
总价格:{{sum | format(2)}}
63 |{{item.productName}}
20 | 21 | {{item.salePrice}} 22 | 23 |{{data.productName}}
6 |{{"$"+data.salePrice}}
7 |{{item.gt}}--{{item.lt}}
17 |