diff --git a/package.json b/package.json index 18f8c9d..04e8e0a 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "dayjs": "^1.11.7", "dompurify": "^3.2.6", "echarts": "^5.6.0", + "element-resize-detector": "^1.2.4", "html2canvas": "^1.4.1", "jspdf": "^3.0.1", "lodash-es": "^4.17.21", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9f86b94..46a84df 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -32,6 +32,9 @@ importers: echarts: specifier: ^5.6.0 version: 5.6.0 + element-resize-detector: + specifier: ^1.2.4 + version: 1.2.4 html2canvas: specifier: ^1.4.1 version: 1.4.1 @@ -1462,6 +1465,9 @@ packages: resolution: {integrity: sha512-hCEtSWF9Xin1mVIrgCAwJhIJxURWOu3odjKsv+9TXofdJly0vO9Di87hnkChwi44v0+LPzHtNOjoCUYb36fBhg==} engines: {node: '>=0.10.0'} + batch-processor@1.0.0: + resolution: {integrity: sha512-xoLQD8gmmR32MeuBHgH0Tzd5PuSZx71ZsbhVxOCRbgktZEPe4SQy7s9Z50uPp0F/f7iw2XmkHN2xkgbMfckMDA==} + big.js@5.2.2: resolution: {integrity: sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==} @@ -2005,6 +2011,9 @@ packages: electron-to-chromium@1.4.284: resolution: {integrity: sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==} + element-resize-detector@1.2.4: + resolution: {integrity: sha512-Fl5Ftk6WwXE0wqCgNoseKWndjzZlDCwuPTcoVZfCP9R3EHQF8qUtr3YUPNETegRBOKqQKPW3n4kiIWngGi8tKg==} + emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -7270,6 +7279,8 @@ snapshots: transitivePeerDependencies: - supports-color + batch-processor@1.0.0: {} + big.js@5.2.2: {} binary-extensions@2.2.0: {} @@ -7910,6 +7921,10 @@ snapshots: electron-to-chromium@1.4.284: {} + element-resize-detector@1.2.4: + dependencies: + batch-processor: 1.0.0 + emoji-regex@8.0.0: {} emoji-regex@9.2.2: {} diff --git a/src/components/text-over-tips/index.vue b/src/components/text-over-tips/index.vue new file mode 100644 index 0000000..c116d05 --- /dev/null +++ b/src/components/text-over-tips/index.vue @@ -0,0 +1,141 @@ + + + + diff --git a/src/router/routes/modules/agent.ts b/src/router/routes/modules/agent.ts index ee460e8..3617ce0 100644 --- a/src/router/routes/modules/agent.ts +++ b/src/router/routes/modules/agent.ts @@ -39,7 +39,8 @@ const COMPONENTS: AppRouteRecordRaw[] = [ requireLogin: true, hideFooter: true, id: MENU_GROUP_IDS.AGENT, - isAgentRoute: true + isAgentRoute: true, + hideInMenu: true, }, }, @@ -53,7 +54,8 @@ const COMPONENTS: AppRouteRecordRaw[] = [ requireLogin: true, hideFooter: true, id: MENU_GROUP_IDS.AGENT, - isAgentRoute: true + isAgentRoute: true, + hideInMenu: true, }, }, ], diff --git a/src/views/agent/index/index.vue b/src/views/agent/index/index.vue index 4431dec..31f5c65 100644 --- a/src/views/agent/index/index.vue +++ b/src/views/agent/index/index.vue @@ -22,14 +22,14 @@ :xl="6" :xxl="4" v-for="(product, k) in item.agent_products"> -
+
{{ product?.name }}
-
{{ product?.description }}
+