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