From 1ea5694e9b20004a5bafeba4862d648b1af89878 Mon Sep 17 00:00:00 2001 From: zhangjun1 Date: Mon, 18 May 2020 11:33:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/infoList.vue | 5 +- src/components/shop-car-apply/apply_foot.vue | 58 +++++ src/components/shop-car-apply/apply_form.vue | 93 ++++++++ .../shop-car-apply/apply_service_state.vue | 222 ++++++++++++++++++ .../shop-car-apply/service_list.vue | 79 +++++++ src/pages/shop_car_apply.vue | 137 +++++++++++ src/router/index.js | 5 + static/data.json | 40 ++++ 8 files changed, 638 insertions(+), 1 deletion(-) create mode 100644 src/components/shop-car-apply/apply_foot.vue create mode 100644 src/components/shop-car-apply/apply_form.vue create mode 100644 src/components/shop-car-apply/apply_service_state.vue create mode 100644 src/components/shop-car-apply/service_list.vue create mode 100644 src/pages/shop_car_apply.vue diff --git a/src/components/infoList.vue b/src/components/infoList.vue index 6b69a90..59412b3 100644 --- a/src/components/infoList.vue +++ b/src/components/infoList.vue @@ -14,7 +14,10 @@ export default { } }, - props:['list_arr'] + props:['list_arr'], + mounted(){ + console.log(this.$solts); + } }; diff --git a/src/components/shop-car-apply/apply_foot.vue b/src/components/shop-car-apply/apply_foot.vue new file mode 100644 index 0000000..8fc3e94 --- /dev/null +++ b/src/components/shop-car-apply/apply_foot.vue @@ -0,0 +1,58 @@ + + + + + diff --git a/src/components/shop-car-apply/apply_form.vue b/src/components/shop-car-apply/apply_form.vue new file mode 100644 index 0000000..cf88a93 --- /dev/null +++ b/src/components/shop-car-apply/apply_form.vue @@ -0,0 +1,93 @@ + + + + + + diff --git a/src/components/shop-car-apply/apply_service_state.vue b/src/components/shop-car-apply/apply_service_state.vue new file mode 100644 index 0000000..2af8f7a --- /dev/null +++ b/src/components/shop-car-apply/apply_service_state.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/src/components/shop-car-apply/service_list.vue b/src/components/shop-car-apply/service_list.vue new file mode 100644 index 0000000..3703784 --- /dev/null +++ b/src/components/shop-car-apply/service_list.vue @@ -0,0 +1,79 @@ + + + + + + diff --git a/src/pages/shop_car_apply.vue b/src/pages/shop_car_apply.vue new file mode 100644 index 0000000..8895490 --- /dev/null +++ b/src/pages/shop_car_apply.vue @@ -0,0 +1,137 @@ + + + + + diff --git a/src/router/index.js b/src/router/index.js index 12bb250..3295193 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -116,6 +116,11 @@ export default new Router({ name: "shoppingCart", component: () => import("@/pages/shopping_cart"), }, + { + path: "/shop/shop_car_apply", // 购物车页 + name: "shopCarApply", + component: () => import("@/pages/shop_car_apply"), + }, ], }, { diff --git a/static/data.json b/static/data.json index 6fa4a31..3f41178 100644 --- a/static/data.json +++ b/static/data.json @@ -495,6 +495,46 @@ "explanation": "上海市普陀区金沙江路 1516 弄" } ], + "applydata":[ + { + "id": 1, + "code": "weqwe", + "type": "字符串", + "name": "王小虎", + "desc": "上海市普陀区金沙江路 1518 弄" + }, + { + "id": 2, + "code": "weqwe", + "type": "字符串", + "name": "王小虎", + "desc": "上海市普陀区金沙江路 1518 弄" + }, + { + "id": 3, + "code": "weqwe", + "type": "字符串", + "name": "王小虎", + "desc": "上海市普陀区金沙江路 1518 弄", + "children":[ + { + "id": 12, + "code": "weqwe", + "type": "字符串", + "name": "王小虎", + "desc": "上海市普陀区金沙江路 1518 弄" + }, + { + "id": 13, + "code": "weqwe", + "type": "字符串", + "name": "王小虎", + "desc": "上海市普陀区金沙江路 1518 弄" + } + ] + } + + ], "fhcstx": [ { "id": 1, -- 2.26.0