Unify frontend config, fix marketing tracking field mismatch, expose customer notes in API

Centralizes all hardcoded page paths, storage keys, external URLs, and branding into a single uni-app/src/config.js. Fixes trackMarketingEffect sending wrong field names (action/content_preview -> event_type/content) that silently dropped tracking data. Adds notes, estimated_value, next_followup_at to Customer response. Removes '翻译' from bottom tab nav (5 tabs now), adds quick translate card on home page. Makes profile page header color consistent with app theme (#1890ff).
This commit is contained in:
TradeMate Dev
2026-05-20 14:30:50 +08:00
parent f8a23855d2
commit a60aac4638
12 changed files with 689 additions and 67 deletions
+10 -4
View File
@@ -96,6 +96,12 @@
"style": {
"navigationBarTitleText": "智能跟进"
}
},
{
"path": "pages/profile/profile",
"style": {
"navigationBarTitleText": "个人中心"
}
}
],
"globalStyle": {
@@ -114,10 +120,6 @@
"pagePath": "pages/index/index",
"text": "首页"
},
{
"pagePath": "pages/translate/translate",
"text": "翻译"
},
{
"pagePath": "pages/customers/customers",
"text": "客户"
@@ -129,6 +131,10 @@
{
"pagePath": "pages/quotation/quotation",
"text": "报价"
},
{
"pagePath": "pages/profile/profile",
"text": "我的"
}
]
}