From e5a37372b8f8bda29365732c562400aa05a7d3a0 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Mon, 22 May 2023 09:42:01 +0800 Subject: [PATCH] 12 --- api/api.js | 3 + pages.json | 29 +- pages/index/index.vue | 2111 ++++------------------ pages/index/index_two.vue | 1757 ++++++++++++++++++ pages/nongKe/gather/select_warehouse.vue | 350 +++- pages/store/home/index.vue | 5 +- pages/users/login/index.vue | 3 +- 7 files changed, 2455 insertions(+), 1803 deletions(-) create mode 100644 pages/index/index_two.vue diff --git a/api/api.js b/api/api.js index 316cb46..586a609 100644 --- a/api/api.js +++ b/api/api.js @@ -18,6 +18,9 @@ export function getProductSpuAPI(id) { export function get_cloud_shop(street_code) { return request.get(`city/get_cloud_shop?street_code=${street_code}`, {}, { noAuth: true }); } +export function post_product_import(id) { + return request.post(`micro/product_import`,{ id: id }, { noAuth: true }); +} /** * 公共接口 ,优惠券接口 , 行业此讯 , 手机号码注册 * diff --git a/pages.json b/pages.json index 658635b..dc25e0a 100644 --- a/pages.json +++ b/pages.json @@ -1,7 +1,7 @@ { "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { - "path": "pages/home/index", + "path": "pages/index/index", "style": { "navigationBarTitleText": "首页", "navigationStyle": "custom", @@ -95,23 +95,7 @@ } ], - "subPackages": [{ - "root": "pages/index", - "name": "index", - "pages": [{ - "path": "index", - "style": { - "navigationBarTitleText": "首页", - "navigationStyle": "custom", - // #ifdef APP-PLUS - "enablePullDownRefresh": true, - // #endif - "app-plus": { - "scrollIndicator": false //禁用原生导航栏 - } - } - }] - }, + "subPackages": [ { "root": "pages/goods_cate", "name": "goods_cate", @@ -905,13 +889,6 @@ "navigationBarTitleText": "商户基本设置", "enablePullDownRefresh": false } - }, { - "path": "addGoods/addMyStore", - "style": { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - } ] }, @@ -1289,7 +1266,7 @@ "borderStyle": "white", "backgroundColor": "#ffffff", "list": [{ - "pagePath": "pages/home/index", + "pagePath": "pages/index/index", "iconPath": "static/tabbar_icon/a.png", "selectedIconPath": "static/tabbar_icon/a-a.png", "text": "泸州" diff --git a/pages/index/index.vue b/pages/index/index.vue index 3011f4d..b869105 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,1757 +1,364 @@ + - - + \ No newline at end of file diff --git a/pages/index/index_two.vue b/pages/index/index_two.vue new file mode 100644 index 0000000..3011f4d --- /dev/null +++ b/pages/index/index_two.vue @@ -0,0 +1,1757 @@ + + + + diff --git a/pages/nongKe/gather/select_warehouse.vue b/pages/nongKe/gather/select_warehouse.vue index 65e822a..20acd1a 100644 --- a/pages/nongKe/gather/select_warehouse.vue +++ b/pages/nongKe/gather/select_warehouse.vue @@ -9,20 +9,28 @@ - - - - - - - - {{item.store_name}} - 加入仓库 - - - - - + + + + + + + + {{ item.store_name }} + + {{item.merchant.type_name}} + + + + + ¥ + {{ item.price }} + + 加入仓库 + + + + @@ -45,7 +53,7 @@ - + @@ -64,7 +72,7 @@