From ea1ca41c62ef77b733bb120c2369a134c7905b66 Mon Sep 17 00:00:00 2001 From: sszdot Date: Thu, 19 Dec 2024 14:21:15 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=B1=BB=20=20=E5=9E=8B=E3=80=91?= =?UTF-8?q?=EF=BC=9Atest=20=E3=80=90=E5=8E=9F=20=20=E5=9B=A0=E3=80=91?= =?UTF-8?q?=EF=BC=9A=20=E3=80=90=E8=BF=87=20=20=E7=A8=8B=E3=80=91=EF=BC=9A?= =?UTF-8?q?=20=E3=80=90=E5=BD=B1=20=20=E5=93=8D=E3=80=91=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动 --- pages/main/order.vue | 55 ++++++++------------------------------------ 1 file changed, 10 insertions(+), 45 deletions(-) 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