feat: 首页改造

This commit is contained in:
2026-07-13 18:14:00 +08:00
parent 85fff5c363
commit c6015b8295
15 changed files with 2726 additions and 1399 deletions
+2 -2
View File
@@ -4,10 +4,10 @@
// export const BASE_URL = "https://api.tbmall.xin"; //生产
export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产
// export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产
export const BASE_URL ='https://api.o.tbmall.xin'; // 本地测试
// export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试
export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试
// https://h.o.tbmall.xin/#/
+44 -3
View File
@@ -414,7 +414,7 @@ export const FINANCE_WITHDRAWAL_STATUS = [
];
/**
* 页面:1-APP首页,2-APP分类页,3-商学院资讯,4-爆单区,5-好物区,6-积分专区
* 页面:1-APP首页,2-APP分类页,3-商学院资讯,4-爆单区,5-好物区,6-积分专区,7-数字积分页 8-新人专享、9-超级补贴、10-限时秒杀
* @type {[{value: string, key: string}]}
*/
export const APP_PAGE_TYPE = {
@@ -424,6 +424,10 @@ export const APP_PAGE_TYPE = {
HOT: 4,
GOOD: 5,
INTEGRAL: 6,
DIGITAL_INTEGRAL: 7,
NEW: 8,
SUPER_SUBSIDY: 9,
SECKILL: 10,
};
/**
@@ -443,7 +447,7 @@ export const NEWS_TYPE = [
}, {
key: 5,
value: "商学院"
},
},
// {
// key: 4,
// value: "RWA资讯"
@@ -467,4 +471,41 @@ export const RWA_STATUS = [
key: 3,
value: "交易失败"
},
];
];
// 商品--活动的类型 activityType
export const ACTIVITY_TYPE = [
{
key: 'seckill',
value: "秒杀活动"
},
]
// 商品--分类的类型 type
export const SORT_TYPE = [
{
key: 3,
value: "新人专享",
path: "/pages/active/newcomer-exclusive/newcomer-exclusive"
},
{
key: 4,
value: "低价好物",
path: "/pages/supply_chain/supply_chain"
},
{
key: 5,
value: "全网爆款",
path: "/pages/supply_chain/supply_chain"
},
{
key: 12,
value: "超级补贴",
path: "/pages/active/super-subsidy/super-subsidy"
},
{
key: 13,
value: "限时秒杀",
path: "/pages/active/limited-time/limited-time"
},
]