修改购物车页面
This commit is contained in:
parent
7ac5846bcc
commit
de3547c79b
|
@ -54,7 +54,19 @@ export default {
|
||||||
name: "order-cart",
|
name: "order-cart",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
list: [
|
list: [],
|
||||||
|
};
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
AppLayout,
|
||||||
|
WidgetTips,
|
||||||
|
WidgetCheckBox,
|
||||||
|
WidgetCountModify,
|
||||||
|
WidgetLoadMore,
|
||||||
|
ServicePreviewItem,
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
this.list = this.parseList([
|
||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
name: "空调安装",
|
name: "空调安装",
|
||||||
|
@ -85,19 +97,7 @@ export default {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
]);
|
||||||
};
|
|
||||||
},
|
|
||||||
components: {
|
|
||||||
AppLayout,
|
|
||||||
WidgetTips,
|
|
||||||
WidgetCheckBox,
|
|
||||||
WidgetCountModify,
|
|
||||||
WidgetLoadMore,
|
|
||||||
ServicePreviewItem,
|
|
||||||
},
|
|
||||||
onLoad() {
|
|
||||||
this.list = this.parseList(this.list);
|
|
||||||
},
|
},
|
||||||
onShow() {},
|
onShow() {},
|
||||||
onReady() {},
|
onReady() {},
|
||||||
|
@ -137,7 +137,7 @@ export default {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.list[parentIndex].checked = allChecked;
|
this.list[parentIndex].checked = allChecked;
|
||||||
this.$forceUpdate();
|
// this.$forceUpdate();
|
||||||
},
|
},
|
||||||
changeNumber(e, d) {
|
changeNumber(e, d) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
|
|
Loading…
Reference in New Issue