diff --git a/src/pages.json b/src/pages.json
index d99f2fb..99bcb48 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -1,5 +1,10 @@
{
"pages": [
+ {
+ "path" : "pages/myOrder/myOrder",
+ "style" : {
+ "navigationBarTitleText": "我的订单"}
+ },
{
"path": "pages/cart/cart",
"style": {
@@ -36,11 +41,6 @@
"navigationBarTitleText": "申请退款"
}
},
- {
- "path" : "pages/myOrder/myOrder",
- "style" : {
- "navigationBarTitleText": "我的订单"}
- },
{
"path": "pages/addAddress/addAddress",
"style": {
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 396b2b9..68e224f 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -121,7 +121,7 @@ export default {
computed: {
goodsList() {
// 也可以从 getters 获取
- console.log(this.$store.getters.list);
+ console.log('list', this.$store.state.test.list);
return this.$store.state.test.list;
}
},
diff --git a/src/pages/myOrder/components/OrderCard.vue b/src/pages/myOrder/components/OrderCard.vue
index 9baac0f..adbb338 100644
--- a/src/pages/myOrder/components/OrderCard.vue
+++ b/src/pages/myOrder/components/OrderCard.vue
@@ -57,10 +57,10 @@
再次购买
-
-
-
-
-
-
+ }
+
diff --git a/src/pages/myOrder/myOrder.vue b/src/pages/myOrder/myOrder.vue
index 5335572..3f81338 100644
--- a/src/pages/myOrder/myOrder.vue
+++ b/src/pages/myOrder/myOrder.vue
@@ -13,7 +13,10 @@
-
+
@@ -21,10 +24,12 @@