diff --git a/api/store.js b/api/store.js index 1343894..a81a54d 100644 --- a/api/store.js +++ b/api/store.js @@ -10,6 +10,9 @@ export function getGoodsCateList() { export function getGoodsList(params) { return http.get("/store/getproductlist", params); } +export function getRecommendGoodsList(params) { + return http.get("/store/getRecommendProductList", params); +} export function getIndexData() { return http.get("/store/index_api"); diff --git a/components/AddressPicker/index.vue b/components/AddressPicker/index.vue index b5bd38b..089f8f2 100644 --- a/components/AddressPicker/index.vue +++ b/components/AddressPicker/index.vue @@ -27,6 +27,7 @@ export default { async getAddressData() { try { const res = await getAddressData(); + console.log(res); this.cityData = res; } catch (err) { this.$util.showMsg("获取地址数据失败!"); diff --git a/pages.json b/pages.json index 6935730..110e8a4 100644 --- a/pages.json +++ b/pages.json @@ -352,6 +352,12 @@ "style": { "navigationBarTitleText": "商品列表" } + }, + { + "path": "pages/store/applyInvoicing", + "style": { + "navigationBarTitleText": "申请开票" + } } ], "subPackages": [ diff --git a/pages/my/address.vue b/pages/my/address.vue index b510881..1197388 100644 --- a/pages/my/address.vue +++ b/pages/my/address.vue @@ -1,17 +1,17 @@