From ab4209caf56abceed7a60a2d7ddcc11b5a331f86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=96=BB=E9=B9=8F?= <1242402566@qq.com> Date: Tue, 12 May 2020 16:30:23 +0800 Subject: [PATCH] update --- src/components/CommodityCard/CommodityCard.vue | 22 +- src/components/UniCountdown/UniCountdown.vue | 190 +++++++ src/pages.json | 26 +- src/pages/cart/cart.vue | 188 +++++-- .../detailsChoiceArgs/compoents/MyCollapse.vue | 228 ++++++++ src/pages/detailsChoiceArgs/detailsChoiceArgs.vue | 571 +++++++++++++++++++++ src/pages/myOrder/myOrder.vue | 3 +- src/pages/myOrderPaying/myOrderPaying.vue | 129 ++--- src/pages/user/user.vue | 27 +- 9 files changed, 1263 insertions(+), 121 deletions(-) create mode 100644 src/components/UniCountdown/UniCountdown.vue create mode 100644 src/pages/detailsChoiceArgs/compoents/MyCollapse.vue create mode 100644 src/pages/detailsChoiceArgs/detailsChoiceArgs.vue diff --git a/src/components/CommodityCard/CommodityCard.vue b/src/components/CommodityCard/CommodityCard.vue index d277950..0d8eec8 100644 --- a/src/components/CommodityCard/CommodityCard.vue +++ b/src/components/CommodityCard/CommodityCard.vue @@ -1,16 +1,15 @@ @@ -22,16 +21,17 @@ * 商品数据 */ goods: { - id: Number, - imgurl: String, + goods_id: Number, + img: String, name: String, - oldPrice:String, + originCost:String, price: String, - memo:String + slogan:String } }, created() { + console.log(this.goods) }, data() { return { diff --git a/src/components/UniCountdown/UniCountdown.vue b/src/components/UniCountdown/UniCountdown.vue new file mode 100644 index 0000000..ad7125a --- /dev/null +++ b/src/components/UniCountdown/UniCountdown.vue @@ -0,0 +1,190 @@ + + + diff --git a/src/pages.json b/src/pages.json index db9b855..38fcca7 100644 --- a/src/pages.json +++ b/src/pages.json @@ -68,10 +68,22 @@ "path": "pages/predelivery/predelivery" }, { - "path": "pages/customerService/customerService" + "path": "pages/customerService/customerService", + "style":{ + "navigationBarTitleText" : "在线客服" + } }, { - "path": "pages/myOrderPaying/myOrderPaying" + "path": "pages/myOrderPaying/myOrderPaying", + "style":{ + "navigationBarTitleText" : "我的订单" + } + }, + { + "path": "pages/detailsChoiceArgs/detailsChoiceArgs", + "style":{ + "navigationBarTitleText" : "镜片名称名称" + } }, { "path" : "pages/detailStandard/detailStandard_sun", @@ -117,5 +129,15 @@ "text": "我的" } ] + }, + "condition" : { //模式配置,仅开发期间生效 + "current": 0, //当前激活的模式(list 的索引项) + "list": [ + { + "name": "", //模式名称 + "path": "", //启动页面,必选 + "query": "" //启动参数,在页面的onLoad函数里面得到 + } + ] } } diff --git a/src/pages/cart/cart.vue b/src/pages/cart/cart.vue index 2d75583..25e9787 100644 --- a/src/pages/cart/cart.vue +++ b/src/pages/cart/cart.vue @@ -1,62 +1,116 @@ @@ -72,7 +141,7 @@ diff --git a/src/pages/detailsChoiceArgs/compoents/MyCollapse.vue b/src/pages/detailsChoiceArgs/compoents/MyCollapse.vue new file mode 100644 index 0000000..3bbf9f9 --- /dev/null +++ b/src/pages/detailsChoiceArgs/compoents/MyCollapse.vue @@ -0,0 +1,228 @@ + + + + + diff --git a/src/pages/detailsChoiceArgs/detailsChoiceArgs.vue b/src/pages/detailsChoiceArgs/detailsChoiceArgs.vue new file mode 100644 index 0000000..36aade9 --- /dev/null +++ b/src/pages/detailsChoiceArgs/detailsChoiceArgs.vue @@ -0,0 +1,571 @@ + + + + + diff --git a/src/pages/myOrder/myOrder.vue b/src/pages/myOrder/myOrder.vue index 3f81338..d3ad1a7 100644 --- a/src/pages/myOrder/myOrder.vue +++ b/src/pages/myOrder/myOrder.vue @@ -20,7 +20,8 @@ - 已显示全部 + 已显示全部 +