From bf6e7263fc4e867a969275088d522af5b96659a7 Mon Sep 17 00:00:00 2001 From: zzh <1368735060@qq.com> Date: Thu, 3 Dec 2026 12:24:48 +0800 Subject: [PATCH] =?UTF-8?q?refine:=20=E5=AE=A2=E6=88=B7=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E5=8F=B0=E4=B8=8E=E4=BE=A7=E6=A0=8F=E4=BD=93=E9=AA=8C=EF=BC=8C?= =?UTF-8?q?=E6=94=B6=E4=BB=B6=E5=9C=B0=E5=9B=BE=E4=B8=8E=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E5=88=86=E5=8C=BA=EF=BC=8C=E9=A1=BA=E5=B8=A6=20H5/=E5=AE=98?= =?UTF-8?q?=E7=BD=91=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit EOF Co-authored-by: Cursor --- package.json | 1 + pnpm-lock.yaml | 18 +- src/components.d.ts | 1 + .../CustomerPortalTopTools.vue | 326 +++++ src/components/customer-side-rail/index.vue | 596 +++------ src/components/top-nav/RightTopUser.vue | 512 +++----- src/layout/default-layout.vue | 32 +- src/locale/en-US.ts | 2 + src/locale/zh-CN.ts | 2 + src/utils/customer-portal-nav.ts | 39 +- .../components/H5JourneyGuide.vue | 187 ++- .../components/H5OpenApiCredentialSheet.vue | 565 ++++++-- .../components/WechatOpenidMigrateModal.vue | 308 ++++- .../h5/customer-center/invoice/index.vue | 1144 ++++++++++++----- src/views/h5/customer-center/locale/en-US.ts | 47 +- src/views/h5/customer-center/locale/zh-CN.ts | 46 +- src/views/h5/customer-center/me/index.vue | 267 ++-- .../home/workplace/biz-ops/WorldDestMap.vue | 18 +- .../components/CustomerDestMapPanel.vue | 294 +++++ .../components/CustomerWorkplace.vue | 65 +- .../workplace/components/announcement.vue | 54 +- .../home/workplace/components/banner.vue | 288 +++-- .../home/workplace/components/data-panel.vue | 355 +++-- .../components/marketing-shortcuts.vue | 118 +- .../workplace/components/quick-operation.vue | 305 +++-- src/views/home/workplace/locale/en-US.ts | 14 + src/views/home/workplace/locale/zh-CN.ts | 20 +- src/views/site/SiteHeader.vue | 41 +- src/views/site/SiteRunway.vue | 10 +- src/views/site/index.vue | 47 +- src/views/site/lib/site-fonts.ts | 50 + src/views/site/lib/site-style-lifecycle.ts | 9 +- src/views/site/styles/ai-advisor.css | 134 +- src/views/site/styles/main.css | 6 +- src/views/wechat/locale/en-US.ts | 11 +- src/views/wechat/locale/zh-CN.ts | 13 +- 36 files changed, 3952 insertions(+), 1993 deletions(-) create mode 100644 src/components/customer-side-rail/CustomerPortalTopTools.vue create mode 100644 src/views/home/workplace/components/CustomerDestMapPanel.vue create mode 100644 src/views/site/lib/site-fonts.ts diff --git a/package.json b/package.json index 5d76e2c..a476a1f 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "@codemirror/state": "^6.5.4", "@codemirror/theme-one-dark": "^6.1.3", "@codemirror/view": "^6.39.17", + "@fontsource/nunito": "^5.3.0", "@handsontable/vue3": "^16.2.0", "@types/lodash-es": "^4.17.12", "@vueuse/core": "^9.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9130bea..316ef6e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,6 +36,9 @@ importers: '@codemirror/view': specifier: ^6.39.17 version: 6.39.17 + '@fontsource/nunito': + specifier: ^5.3.0 + version: 5.3.0 '@handsontable/vue3': specifier: ^16.2.0 version: 16.2.0(handsontable@16.2.0)(vue@3.5.18(typescript@4.9.5)) @@ -932,6 +935,9 @@ packages: '@floating-ui/utils@0.2.10': resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==} + '@fontsource/nunito@5.3.0': + resolution: {integrity: sha512-vw9TaTQJ/zpEpKrsODuPmOvaVjXgdda6B+xXA4YqjrdeJ62MLgVoDerdRXFQHyBnSCt2yQ2nHKCHPP/Pv7Xq4Q==} + '@handsontable/pikaday@1.0.0': resolution: {integrity: sha512-1VN6N38t5/DcjJ7y7XUYrDx1LuzvvzlrFdBdMG90Qo1xc8+LXHqbWbsTEm5Ec5gXTEbDEO53vUT35R+2COmOyg==} @@ -7969,6 +7975,8 @@ snapshots: '@floating-ui/utils@0.2.10': {} + '@fontsource/nunito@5.3.0': {} + '@handsontable/pikaday@1.0.0': {} '@handsontable/vue3@16.2.0(handsontable@16.2.0)(vue@3.5.18(typescript@4.9.5))': @@ -12984,7 +12992,7 @@ snapshots: dependencies: htmlparser2: 3.10.1 postcss: 7.0.39 - postcss-syntax: 0.36.2(postcss-html@0.36.0(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-jsx@0.36.4(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-less@3.1.4)(postcss-markdown@0.36.0(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-scss@2.1.1)(postcss@7.0.39) + postcss-syntax: 0.36.2(postcss-html@0.36.0)(postcss-jsx@0.36.4(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-less@3.1.4)(postcss-markdown@0.36.0)(postcss-scss@2.1.1)(postcss@7.0.39) postcss-html@1.8.0: dependencies: @@ -12997,7 +13005,7 @@ snapshots: dependencies: '@babel/core': 7.28.0 postcss: 7.0.39 - postcss-syntax: 0.36.2(postcss-html@0.36.0(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-jsx@0.36.4(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-less@3.1.4)(postcss-markdown@0.36.0(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-scss@2.1.1)(postcss@7.0.39) + postcss-syntax: 0.36.2(postcss-html@0.36.0)(postcss-jsx@0.36.4(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-less@3.1.4)(postcss-markdown@0.36.0)(postcss-scss@2.1.1)(postcss@7.0.39) transitivePeerDependencies: - supports-color @@ -13012,7 +13020,7 @@ snapshots: postcss-markdown@0.36.0(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39): dependencies: postcss: 7.0.39 - postcss-syntax: 0.36.2(postcss-html@0.36.0(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-jsx@0.36.4(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-less@3.1.4)(postcss-markdown@0.36.0(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-scss@2.1.1)(postcss@7.0.39) + postcss-syntax: 0.36.2(postcss-html@0.36.0)(postcss-jsx@0.36.4(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-less@3.1.4)(postcss-markdown@0.36.0)(postcss-scss@2.1.1)(postcss@7.0.39) remark: 10.0.1 unist-util-find-all-after: 1.0.5 @@ -13064,7 +13072,7 @@ snapshots: dependencies: postcss: 8.5.6 - postcss-syntax@0.36.2(postcss-html@0.36.0(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-jsx@0.36.4(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-less@3.1.4)(postcss-markdown@0.36.0(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-scss@2.1.1)(postcss@7.0.39): + postcss-syntax@0.36.2(postcss-html@0.36.0)(postcss-jsx@0.36.4(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-less@3.1.4)(postcss-markdown@0.36.0)(postcss-scss@2.1.1)(postcss@7.0.39): dependencies: postcss: 7.0.39 optionalDependencies: @@ -14126,7 +14134,7 @@ snapshots: postcss-sass: 0.3.5 postcss-scss: 2.1.1 postcss-selector-parser: 3.1.2 - postcss-syntax: 0.36.2(postcss-html@0.36.0(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-jsx@0.36.4(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-less@3.1.4)(postcss-markdown@0.36.0(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-scss@2.1.1)(postcss@7.0.39) + postcss-syntax: 0.36.2(postcss-html@0.36.0)(postcss-jsx@0.36.4(postcss-syntax@0.36.2(postcss-html@1.8.0)(postcss@8.5.6))(postcss@7.0.39))(postcss-less@3.1.4)(postcss-markdown@0.36.0)(postcss-scss@2.1.1)(postcss@7.0.39) postcss-value-parser: 3.3.1 resolve-from: 4.0.0 signal-exit: 3.0.7 diff --git a/src/components.d.ts b/src/components.d.ts index c2cf86f..a9819b2 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -22,6 +22,7 @@ declare module 'vue' { CodeMirror: typeof import('./components/CodeMirror/index.vue')['default'] CompleteContactModal: typeof import('./components/CompleteContactModal/index.vue')['default'] ContactService: typeof import('./components/ContactService/index.vue')['default'] + CustomerPortalTopTools: typeof import('./components/customer-side-rail/CustomerPortalTopTools.vue')['default'] CustomerSideRail: typeof import('./components/customer-side-rail/index.vue')['default'] CustomLeftMenu: typeof import('./components/CustomLeftMenu/index.vue')['default'] CustomList: typeof import('./components/CustomList/index.vue')['default'] diff --git a/src/components/customer-side-rail/CustomerPortalTopTools.vue b/src/components/customer-side-rail/CustomerPortalTopTools.vue new file mode 100644 index 0000000..a9341a0 --- /dev/null +++ b/src/components/customer-side-rail/CustomerPortalTopTools.vue @@ -0,0 +1,326 @@ + + + + + diff --git a/src/components/customer-side-rail/index.vue b/src/components/customer-side-rail/index.vue index 09ae7c2..3cee1f6 100644 --- a/src/components/customer-side-rail/index.vue +++ b/src/components/customer-side-rail/index.vue @@ -5,10 +5,11 @@ 'is-collapsed': collapsed, 'is-compact': compactLayout, 'is-animating': animating, + 'is-resizing': resizing, }" :style="{ width: `${railWidth}px`, - '--csr-shell-width': `${CUSTOMER_SIDE_RAIL_EXPANDED_WIDTH}px`, + '--csr-shell-width': `${expandedWidth}px`, }" aria-label="客户门户导航" @transitionend="onRailTransitionEnd" @@ -56,7 +57,6 @@ :key="navKey(item)" :content="formatTitle(item)" position="right" - :disabled="!compactLayout" >
- +
-
- -
- - - - -
- -
-
- + + - +