diff --git a/api/store.js b/api/store.js index 3945c17..a05034e 100644 --- a/api/store.js +++ b/api/store.js @@ -226,24 +226,12 @@ export function getBrandByName() { login: false }); } -// <<<<<<< HEAD -// /** -// * 添加收藏 -// * -// */ -// export function getUserCollection(data) { -// console.log(9999999966); -// return request.post("/collectEvaluation/add", data, { -// login: true -// }); -// ======= /** * 添加收藏 * */ export function getUserCollection(data) { return request.post("/collectEvaluation/add",data); -// >>>>>>> sxx } /** * @@ -269,4 +257,13 @@ export function getEntry(data) { return request.get("/entryByName", data, { login: false }); +} + +/** + * 热门榜单 + */ +export function getHotList(data) { + return request.get("/hotList/"+ data, {}, { + login: false + }); } \ No newline at end of file diff --git a/config/index.js b/config/index.js index e2ada4c..c081c7e 100644 --- a/config/index.js +++ b/config/index.js @@ -1,8 +1,8 @@ // export const VUE_APP_API_URL = 'http://192.168.10.129:48080/bxgApp' -// export const VUE_APP_API_URL = 'http://192.168.10.113:48080/bxgApp' -export const VUE_APP_API_URL = 'https://farm.lotus-wallet.com/bxgApp' +export const VUE_APP_API_URL = 'http://192.168.10.113:48080/bxgApp' +// export const VUE_APP_API_URL = 'https://farm.lotus-wallet.com/bxgApp' // export const VUE_APP_API_URL = 'https://xiaohui.shop.cyjyyjy.com/xiaohuiapp' export const VUE_APP_RESOURCES_URL = 'https://h5.yixiang.co/static' -export const BXG_TENANT_ID = 129 -// export const BXG_TENANT_ID = 138 +// export const BXG_TENANT_ID = 129 +export const BXG_TENANT_ID = 138 // export const BXG_TENANT_ID = 128 \ No newline at end of file diff --git a/pages.json b/pages.json index 52ce28d..6ba560b 100644 --- a/pages.json +++ b/pages.json @@ -142,7 +142,8 @@ { "path": "pages/shop/HotNewGoods/index", "style": { - "navigationBarTitleText": "热门商品" + "navigationBarTitleText": "热门榜单", + "navigationStyle": "custom" } }, { diff --git a/pages/shop/HotNewGoods/index.vue b/pages/shop/HotNewGoods/index.vue index 88b3766..a5cc3a1 100644 --- a/pages/shop/HotNewGoods/index.vue +++ b/pages/shop/HotNewGoods/index.vue @@ -1,27 +1,90 @@ + \ No newline at end of file