diff --git a/pages/main/order.vue b/pages/main/order.vue index 1e2c021..0180b18 100644 --- a/pages/main/order.vue +++ b/pages/main/order.vue @@ -1,30 +1,6 @@ @@ -32,26 +8,15 @@ export default { data() { return { - list: ['未付款', '已付款', '申请售后'], - curNow: 0 + list: [{ + name: '待收货' + }, { + name: '待付款' + }, { + name: '待评价', + count: 5 + }], } - }, - computed: { - orderList() { - return this.$store.state.orderList - } - }, - methods: { - sectionChange(index) { - this.curNow = index; - } - }, - onLoad() { - this.$store.dispatch('fetchOrderList') } } - - - \ No newline at end of file + \ No newline at end of file