From 439e67697233b97ebfca97c01928b48062eaeaf9 Mon Sep 17 00:00:00 2001
From: whyneedname <542399163@qq.com>
Date: Tue, 1 Nov 2022 16:21:43 +0800
Subject: [PATCH] =?UTF-8?q?=E7=83=AD=E9=97=A8=E6=A6=9C=E5=8D=95=E9=A1=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/store.js | 21 ++-
config/index.js | 8 +-
pages.json | 3 +-
pages/shop/HotNewGoods/index.vue | 252 ++++++++++++++++++++++++++++++-
4 files changed, 263 insertions(+), 21 deletions(-)
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 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 全部
+
+ 2022年10月
+
+
+
+
+
+
+
+
+ 榜单每月30号统计,下月1号左右更新
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file