diff --git a/uni-app/src/config.js b/uni-app/src/config.js index d199787..8fe3eb4 100644 --- a/uni-app/src/config.js +++ b/uni-app/src/config.js @@ -10,11 +10,13 @@ export const STORAGE_KEYS = { export const PAGES = { INDEX: '/pages/index/index', + WORKSPACE_CUSTOMER: '/pages/workspace-customer/workspace-customer', + WORKSPACE_BIZ: '/pages/workspace-biz/workspace-biz', + PROFILE: '/pages/profile/profile', TRANSLATE: '/pages/translate/translate', CUSTOMERS: '/pages/customers/customers', MARKETING: '/pages/marketing/marketing', QUOTATION: '/pages/quotation/quotation', - PROFILE: '/pages/profile/profile', LOGIN: '/pages/login/login', PRODUCT: '/pages/product/product', UPGRADE: '/pages/upgrade/upgrade', diff --git a/uni-app/src/pages.json b/uni-app/src/pages.json index 3d46fa0..0646b4c 100644 --- a/uni-app/src/pages.json +++ b/uni-app/src/pages.json @@ -18,6 +18,20 @@ "navigationBarTitleText": "客户管理" } }, + { + "path": "pages/workspace-customer/workspace-customer", + "style": { + "navigationBarTitleText": "客户工作台", + "navigationStyle": "custom" + } + }, + { + "path": "pages/workspace-biz/workspace-biz", + "style": { + "navigationBarTitleText": "业务工作台", + "navigationStyle": "custom" + } + }, { "path": "pages/marketing/marketing", "style": { @@ -145,16 +159,12 @@ "text": "首页" }, { - "pagePath": "pages/customers/customers", + "pagePath": "pages/workspace-customer/workspace-customer", "text": "客户" }, { - "pagePath": "pages/marketing/marketing", - "text": "营销" - }, - { - "pagePath": "pages/quotation/quotation", - "text": "报价" + "pagePath": "pages/workspace-biz/workspace-biz", + "text": "业务" }, { "pagePath": "pages/profile/profile", diff --git a/uni-app/src/pages/index/index.vue b/uni-app/src/pages/index/index.vue index e175b34..9e6ac47 100644 --- a/uni-app/src/pages/index/index.vue +++ b/uni-app/src/pages/index/index.vue @@ -130,25 +130,33 @@ - 功能矩阵 + 快捷入口 - + 🔤 翻译 - + 🔍 - 挖掘新客 + 客户 - + 📦 - 产品库 + 产品 - + 📋 跟进 {{ followupStats.pending > 99 ? '99+' : followupStats.pending }} + + 💰 + 报价 + + + 📝 + 营销 + 🔔 通知 diff --git a/uni-app/src/pages/profile/profile.vue b/uni-app/src/pages/profile/profile.vue index 21b49e6..22540fc 100644 --- a/uni-app/src/pages/profile/profile.vue +++ b/uni-app/src/pages/profile/profile.vue @@ -19,6 +19,26 @@ + + 工作台 + + 🔔 + 通知中心 + {{ unreadCount > 99 ? '99+' : unreadCount }} + + + + 📊 + 数据分析 + + + + 👥 + 团队协作 + + + + 账号设置 @@ -59,6 +79,16 @@ 意见反馈 + + 💎 + 升级会员 + + + + 💁 + 联系客服 + + @@ -138,12 +168,13 @@ diff --git a/uni-app/src/pages/workspace-customer/workspace-customer.vue b/uni-app/src/pages/workspace-customer/workspace-customer.vue new file mode 100644 index 0000000..4e404a5 --- /dev/null +++ b/uni-app/src/pages/workspace-customer/workspace-customer.vue @@ -0,0 +1,1202 @@ +