npmapps 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/wujie-wk/dev.log +1979 -0
- package/app/wujie-wk/t.html +90 -0
- package/app/wujie-wk/wujie-react-child/README.md +126 -0
- package/app/wujie-wk/wujie-react-child/eslint.config.js +28 -0
- package/app/wujie-wk/wujie-react-child/index.html +13 -0
- package/app/wujie-wk/wujie-react-child/package-lock.json +4344 -0
- package/app/wujie-wk/wujie-react-child/package.json +32 -0
- package/app/wujie-wk/wujie-react-child/public/vite.svg +1 -0
- package/app/wujie-wk/wujie-react-child/src/App.css +0 -0
- package/app/wujie-wk/wujie-react-child/src/App.tsx +72 -0
- package/app/wujie-wk/wujie-react-child/src/assets/react.svg +1 -0
- package/app/wujie-wk/wujie-react-child/src/components/FeatureCards.css +63 -0
- package/app/wujie-wk/wujie-react-child/src/components/FeatureCards.tsx +112 -0
- package/app/wujie-wk/wujie-react-child/src/components/LightCard/index.tsx +36 -0
- package/app/wujie-wk/wujie-react-child/src/components/LightCard/style.css +20 -0
- package/app/wujie-wk/wujie-react-child/src/hooks/use3DCard.ts +53 -0
- package/app/wujie-wk/wujie-react-child/src/hooks/useLightCard.ts +141 -0
- package/app/wujie-wk/wujie-react-child/src/index.css +0 -0
- package/app/wujie-wk/wujie-react-child/src/main.tsx +8 -0
- package/app/wujie-wk/wujie-react-child/src/pages/ChildToParent/index.css +55 -0
- package/app/wujie-wk/wujie-react-child/src/pages/ChildToParent/index.tsx +88 -0
- package/app/wujie-wk/wujie-react-child/src/pages/Css.tsx +28 -0
- package/app/wujie-wk/wujie-react-child/src/pages/Home.tsx +72 -0
- package/app/wujie-wk/wujie-react-child/src/pages/ParentToChild.css +85 -0
- package/app/wujie-wk/wujie-react-child/src/pages/ParentToChild.tsx +119 -0
- package/app/wujie-wk/wujie-react-child/src/pages/RouterJump/index.css +61 -0
- package/app/wujie-wk/wujie-react-child/src/pages/RouterJump/index.tsx +87 -0
- package/app/wujie-wk/wujie-react-child/src/router/index.tsx +63 -0
- package/app/wujie-wk/wujie-react-child/src/types/wujie.d.ts +26 -0
- package/app/wujie-wk/wujie-react-child/src/vite-env.d.ts +1 -0
- package/app/wujie-wk/wujie-react-child/tsconfig.app.json +26 -0
- package/app/wujie-wk/wujie-react-child/tsconfig.json +7 -0
- package/app/wujie-wk/wujie-react-child/tsconfig.node.json +24 -0
- package/app/wujie-wk/wujie-react-child/vite.config.ts +10 -0
- package/app/wujie-wk/wujie-vue2-child/.eslintrc.js +19 -0
- package/app/wujie-wk/wujie-vue2-child/README.md +24 -0
- package/app/wujie-wk/wujie-vue2-child/babel.config.js +5 -0
- package/app/wujie-wk/wujie-vue2-child/docs/superpowers/plans/2026-05-29-quill-editor.md +836 -0
- package/app/wujie-wk/wujie-vue2-child/docs/superpowers/specs/2026-05-29-quill-editor-design.md +210 -0
- package/app/wujie-wk/wujie-vue2-child/jsconfig.json +19 -0
- package/app/wujie-wk/wujie-vue2-child/package-lock.json +21333 -0
- package/app/wujie-wk/wujie-vue2-child/package.json +63 -0
- package/app/wujie-wk/wujie-vue2-child/postcss.config.js +10 -0
- package/app/wujie-wk/wujie-vue2-child/public/favicon.ico +0 -0
- package/app/wujie-wk/wujie-vue2-child/public/index.html +17 -0
- package/app/wujie-wk/wujie-vue2-child/public/rili.jpg +0 -0
- package/app/wujie-wk/wujie-vue2-child/public//344/270/200/351/224/256/351/273/221/346/232/227.html +136 -0
- package/app/wujie-wk/wujie-vue2-child/src/App.vue +110 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/bpmn-camunda.jpg +0 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/css/diagram.less +17 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/Icon.less +31 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app-codes.css +26 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.eot +0 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.svg +60 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.ttf +0 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.woff +0 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.woff2 +0 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/config.json +248 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-bottom-tool.svg +30 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-horizontal-center-tool.svg +85 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-left-tool.svg +84 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-right-tool.svg +80 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-top-tool.svg +84 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-vertical-center-tool.svg +89 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/distribute-horizontally-tool.svg +95 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/distribute-vertically-tool.svg +99 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/set-color-tool.svg +111 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-bottom-tool.svg +30 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-horizontal-center-tool.svg +30 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-left-tool.svg +30 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-right-tool.svg +30 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-top-tool.svg +30 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-vertical-center-tool.svg +30 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/distribute-horizontally-tool.svg +30 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/distribute-vertically-tool.svg +30 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/set-color-tool.svg +63 -0
- package/app/wujie-wk/wujie-vue2-child/src/assets/logo.png +0 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/EllTable/README.md +70 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/EllTable/article.md +184 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/EllTable/index.js +213 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/CalendarSkeleton.vue +147 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/CodeBlock.vue +199 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/MonthSelect.vue +376 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/README.md +485 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/example.vue +1747 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/index.vue +2720 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/mockData.js +475 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/recruitmentAdapter.js +51 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/utils.js +202 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/FormulaEditor/FunctionSelector.vue +123 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/FormulaEditor/OperatorSelector.vue +184 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/FormulaEditor/ParameterSelector.vue +123 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/FormulaEditor/api.js +69 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/FormulaEditor/index.vue +435 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/HelloWorld.vue +58 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/PageHeader/index.vue +158 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/Splitter/README.md +144 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/Splitter/example.vue +84 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/Splitter/index.vue +203 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/diagram/ToolBar.vue +357 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/diagram/customTranslate/customTranslate.js +12 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/diagram/customTranslate/translationsGerman.js +241 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/diagram/index.vue +261 -0
- package/app/wujie-wk/wujie-vue2-child/src/components/diagram/xmlData.js +29 -0
- package/app/wujie-wk/wujie-vue2-child/src/directives/filldown.js +155 -0
- package/app/wujie-wk/wujie-vue2-child/src/directives/filldownTable.js +291 -0
- package/app/wujie-wk/wujie-vue2-child/src/main.js +40 -0
- package/app/wujie-wk/wujie-vue2-child/src/router/index.js +72 -0
- package/app/wujie-wk/wujie-vue2-child/src/store/index.js +23 -0
- package/app/wujie-wk/wujie-vue2-child/src/utils/winBox.js +23 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/Extend/A.vue +12 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/Extend/B.vue +10 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/Extend/MagicalComponentsForELFormItem.vue +78 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/Extend/index.vue +59 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/Extend/tableMouseHorizontalWheel.vue +184 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/Home.vue +27 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/RouterJump.vue +145 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/calendar/index.vue +19 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/css.vue +57 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/cssComponents/EllipsisText.vue +73 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/cssComponents/HoverCard.vue +69 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/cssComponents/TableHover.vue +130 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/cssComponents/inputSlo.vue +42 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/cssComponents/tableFixed.vue +148 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/echarts/echart-dome.vue +73 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/echarts/index.vue +118 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/echarts/pei3d.vue +658 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/bpmn/index.vue +15 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/components/attendanceCycle/index.vue +131 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/components/attendanceGroup/index.vue +147 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/components/attendancePersonnel/index.vue +158 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/components/companyCalendar/index.vue +147 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/components/shift/index.vue +147 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/components/shiftRotationSystem/index.vue +147 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/columnManagement.vue +340 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/dialogInput.vue +71 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/elTableJsx.vue +1826 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/formTable.vue +595 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/index.vue +29 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/simpleTable.vue +189 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx.zip +0 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/index.vue +39 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/quillEditor/README.md +163 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/quillEditor/example.vue +307 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/quillEditor/index.vue +409 -0
- package/app/wujie-wk/wujie-vue2-child/src/views/element/quillEditor/toolbar.js +122 -0
- package/app/wujie-wk/wujie-vue2-child/vue.config.js +15 -0
- package/app/wujie-wk/wujie-vue3-child/.claude/settings.local.json +8 -0
- package/app/wujie-wk/wujie-vue3-child/.vscode/extensions.json +3 -0
- package/app/wujie-wk/wujie-vue3-child/PROJECT_MEMORY.md +427 -0
- package/app/wujie-wk/wujie-vue3-child/README.md +5 -0
- package/app/wujie-wk/wujie-vue3-child/index.html +13 -0
- package/app/wujie-wk/wujie-vue3-child/package-lock.json +5744 -0
- package/app/wujie-wk/wujie-vue3-child/package.json +28 -0
- package/app/wujie-wk/wujie-vue3-child/public/vite.svg +1 -0
- package/app/wujie-wk/wujie-vue3-child/src/App.vue +130 -0
- package/app/wujie-wk/wujie-vue3-child/src/assets/vue.svg +1 -0
- package/app/wujie-wk/wujie-vue3-child/src/components/HelloWorld.vue +43 -0
- package/app/wujie-wk/wujie-vue3-child/src/components/SmartAnchorTabs/index.jsx +224 -0
- package/app/wujie-wk/wujie-vue3-child/src/components/SmartAnchorTabs/style.css +154 -0
- package/app/wujie-wk/wujie-vue3-child/src/components/tags-view.vue +193 -0
- package/app/wujie-wk/wujie-vue3-child/src/components/tags-view1.vue +131 -0
- package/app/wujie-wk/wujie-vue3-child/src/directives/aiLoading.js +182 -0
- package/app/wujie-wk/wujie-vue3-child/src/hooks/useClickOutside.js +11 -0
- package/app/wujie-wk/wujie-vue3-child/src/hooks/useTableDragSort.js +28 -0
- package/app/wujie-wk/wujie-vue3-child/src/main.js +18 -0
- package/app/wujie-wk/wujie-vue3-child/src/router/index.js +104 -0
- package/app/wujie-wk/wujie-vue3-child/src/store/tagsViewStroe.js +34 -0
- package/app/wujie-wk/wujie-vue3-child/src/style.css +171 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/collapseExpand/index.jsx +108 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/collapseExpand/index.module.scss +97 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/README.md +836 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/REFLEX_EXAMPLES.md +728 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentPersonnelSelector.jsx +687 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentPersonnelSelector.module.scss +560 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelector.jsx +570 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelector.module.scss +330 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelectorV2.jsx +378 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelectorV2.module.scss +228 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/OptionsSelector.jsx +399 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/OptionsSelector.module.scss +252 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PersonnelSelector.jsx +585 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PersonnelSelector.module.scss +331 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PopoverSelector.jsx +392 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PopoverSelector.module.scss +39 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/README.md +248 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/SelectorTrigger.jsx +194 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/index.jsx +1459 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/mockData.js +301 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/dialogueSegment/index.jsx +182 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/dialogueSegment/index.module.scss +28 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/index.jsx +375 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ChartsPanel/index.jsx +121 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ChartsPanel/index.module.scss +76 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/DonutChart/index.jsx +104 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/PracticeTable/index.jsx +75 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/PracticeTable/index.module.scss +12 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankBarChart/index.jsx +62 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankBarChart/index.module.scss +43 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingGroup/index.jsx +29 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingGroup/index.module.scss +5 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingList/index.jsx +58 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingList/index.module.scss +85 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ScriptStatsPanel/index.jsx +92 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ScriptStatsPanel/index.module.scss +56 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/StatCardsRow/index.jsx +40 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/StatCardsRow/index.module.scss +53 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/echarts/EchartsDonut.jsx +106 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/echarts/EchartsRankBar.jsx +132 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/index.jsx +176 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/index.module.scss +96 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/CoachReport/index.jsx +162 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/CoachReport/index.module.scss +16 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ComprehensiveEvaluation/index.jsx +29 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ComprehensiveEvaluation/index.module.scss +25 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueBubble/index.jsx +106 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueBubble/index.module.scss +164 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueRecord/index.jsx +182 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueRecord/index.module.scss +203 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionDetail/index.jsx +145 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionDetail/index.module.scss +126 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionScores/index.jsx +67 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionScores/index.module.scss +105 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ReportHeader/index.jsx +81 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ReportHeader/index.module.scss +47 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/RoleInfo/index.jsx +64 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/RoleInfo/index.module.scss +85 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ScoreBadge/index.jsx +39 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ScoreBadge/index.module.scss +44 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/SubDimensionItem/index.jsx +83 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/SubDimensionItem/index.module.scss +101 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/index.jsx +50 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/index.module.scss +25 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/index.jsx +196 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/index.module.scss +41 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/inputColumn/index.jsx +183 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/inputColumn/index.module.scss +115 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/child-to-parent.vue +117 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/home.vue +53 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/jsx/btnSelect/btnSelect.vue +169 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/jsx/btnSelect/index.vue +69 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/jsx/com.vue +44 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/jsx/dialog.jsx +66 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/jsx/index.vue +72 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/jsx/props.vue +33 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/parent-to-child.vue +225 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/phone-code.vue +318 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/router-jump.vue +123 -0
- package/app/wujie-wk/wujie-vue3-child/src/views/test.vue +192 -0
- package/app/wujie-wk/wujie-vue3-child/vite.config.js +15 -0
- package/app/wujie-wk/wujie-vue3-child copy/.vscode/extensions.json +3 -0
- package/app/wujie-wk/wujie-vue3-child copy/README.md +5 -0
- package/app/wujie-wk/wujie-vue3-child copy/index.html +13 -0
- package/app/wujie-wk/wujie-vue3-child copy/package-lock.json +4617 -0
- package/app/wujie-wk/wujie-vue3-child copy/package.json +22 -0
- package/app/wujie-wk/wujie-vue3-child copy/public/vite.svg +1 -0
- package/app/wujie-wk/wujie-vue3-child copy/src/App.vue +124 -0
- package/app/wujie-wk/wujie-vue3-child copy/src/assets/vue.svg +1 -0
- package/app/wujie-wk/wujie-vue3-child copy/src/components/HelloWorld.vue +43 -0
- package/app/wujie-wk/wujie-vue3-child copy/src/main.js +12 -0
- package/app/wujie-wk/wujie-vue3-child copy/src/router/index.js +84 -0
- package/app/wujie-wk/wujie-vue3-child copy/src/style.css +4 -0
- package/app/wujie-wk/wujie-vue3-child copy/src/views/child-to-parent.vue +117 -0
- package/app/wujie-wk/wujie-vue3-child copy/src/views/home.vue +53 -0
- package/app/wujie-wk/wujie-vue3-child copy/src/views/parent-to-child.vue +225 -0
- package/app/wujie-wk/wujie-vue3-child copy/src/views/phone-code.vue +318 -0
- package/app/wujie-wk/wujie-vue3-child copy/src/views/router-jump.vue +115 -0
- package/app/wujie-wk/wujie-vue3-child copy/src/views/test.vue +192 -0
- package/app/wujie-wk/wujie-vue3-child copy/vite.config.js +10 -0
- package/app/wujie-wk/wujie-vue3-main/.vscode/extensions.json +3 -0
- package/app/wujie-wk/wujie-vue3-main/README.md +154 -0
- package/app/wujie-wk/wujie-vue3-main/index.html +13 -0
- package/app/wujie-wk/wujie-vue3-main/package-lock.json +4736 -0
- package/app/wujie-wk/wujie-vue3-main/package.json +25 -0
- package/app/wujie-wk/wujie-vue3-main/public/vite.svg +1 -0
- package/app/wujie-wk/wujie-vue3-main/src/App.vue +879 -0
- package/app/wujie-wk/wujie-vue3-main/src/assets/vue.svg +1 -0
- package/app/wujie-wk/wujie-vue3-main/src/components/HelloWorld.vue +43 -0
- package/app/wujie-wk/wujie-vue3-main/src/components/WujieReact/index.vue +20 -0
- package/app/wujie-wk/wujie-vue3-main/src/components/WujieVue2/index.vue +8 -0
- package/app/wujie-wk/wujie-vue3-main/src/components/WujieVue3/index.vue +8 -0
- package/app/wujie-wk/wujie-vue3-main/src/components/WujieVue3Copy/index.vue +8 -0
- package/app/wujie-wk/wujie-vue3-main/src/main.js +23 -0
- package/app/wujie-wk/wujie-vue3-main/src/router/index.js +88 -0
- package/app/wujie-wk/wujie-vue3-main/src/store/useMicroAppStore.js +66 -0
- package/app/wujie-wk/wujie-vue3-main/src/style.css +3 -0
- package/app/wujie-wk/wujie-vue3-main/src/views/home.vue +103 -0
- package/app/wujie-wk/wujie-vue3-main/src/views/router-jump.vue +159 -0
- package/app/wujie-wk/wujie-vue3-main/src/views/test.vue +125 -0
- package/app/wujie-wk/wujie-vue3-main/src/views/vue3-child-msg.vue +108 -0
- package/app/wujie-wk/wujie-vue3-main/vite.config.js +12 -0
- package/package.json +1 -1
- package/app/check-import-case.js +0 -344
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<ell-table :data="tableData" border style="width: 100%" height="400">
|
|
4
|
+
<el-table-column
|
|
5
|
+
prop="date"
|
|
6
|
+
label="日期"
|
|
7
|
+
width="180"
|
|
8
|
+
fixed="left"
|
|
9
|
+
></el-table-column>
|
|
10
|
+
<el-table-column label="合并列" width="660">
|
|
11
|
+
<el-table-column prop="name" label="姓名" width="180"></el-table-column>
|
|
12
|
+
<el-table-column
|
|
13
|
+
prop="nickname"
|
|
14
|
+
label="昵称"
|
|
15
|
+
width="180"
|
|
16
|
+
></el-table-column>
|
|
17
|
+
<el-table-column
|
|
18
|
+
prop="address"
|
|
19
|
+
label="地址"
|
|
20
|
+
width="300"
|
|
21
|
+
></el-table-column>
|
|
22
|
+
</el-table-column>
|
|
23
|
+
<el-table-column prop="phone" label="电话" width="180"></el-table-column>
|
|
24
|
+
<el-table-column prop="gender" label="性别" width="180"></el-table-column>
|
|
25
|
+
<el-table-column prop="age" label="年龄" width="180"></el-table-column>
|
|
26
|
+
<el-table-column prop="hobby" label="爱好" width="180"></el-table-column>
|
|
27
|
+
<el-table-column
|
|
28
|
+
prop="favorite"
|
|
29
|
+
label="爱好"
|
|
30
|
+
width="180"
|
|
31
|
+
></el-table-column>
|
|
32
|
+
<el-table-column prop="remark" label="备注" width="180"></el-table-column>
|
|
33
|
+
<el-table-column prop="price" label="价格" width="180"></el-table-column>
|
|
34
|
+
<el-table-column
|
|
35
|
+
prop="quantity"
|
|
36
|
+
label="数量"
|
|
37
|
+
width="180"
|
|
38
|
+
></el-table-column>
|
|
39
|
+
<el-table-column prop="total" label="合计" width="180"></el-table-column>
|
|
40
|
+
<el-table-column prop="status" label="状态" width="180"></el-table-column>
|
|
41
|
+
</ell-table>
|
|
42
|
+
</div>
|
|
43
|
+
</template>
|
|
44
|
+
|
|
45
|
+
<script>
|
|
46
|
+
import Vue from "vue";
|
|
47
|
+
import { tableMouseHorizontalWheel } from "@/components/EllTable/index";
|
|
48
|
+
Vue.component("ell-table", tableMouseHorizontalWheel);
|
|
49
|
+
export default {
|
|
50
|
+
name: "TableMouseHorizontalWheel",
|
|
51
|
+
data() {
|
|
52
|
+
return {
|
|
53
|
+
tableData: [
|
|
54
|
+
{
|
|
55
|
+
date: "2016-05-02",
|
|
56
|
+
name: "王小虎",
|
|
57
|
+
nickname: "王小虎",
|
|
58
|
+
address: "上海市普陀区金沙江路 1518 弄",
|
|
59
|
+
phone: "13800000000",
|
|
60
|
+
gender: "男",
|
|
61
|
+
age: 25,
|
|
62
|
+
hobby: "游泳",
|
|
63
|
+
favorite: "外套",
|
|
64
|
+
remark: "无",
|
|
65
|
+
price: 100,
|
|
66
|
+
quantity: 1,
|
|
67
|
+
total: 100,
|
|
68
|
+
status: "已完成",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
date: "2016-05-041",
|
|
72
|
+
name: "王小虎1",
|
|
73
|
+
nickname: "王小虎1",
|
|
74
|
+
address: "上海市普陀区金沙江路 1517 弄1",
|
|
75
|
+
phone: "138000000001",
|
|
76
|
+
gender: "男1",
|
|
77
|
+
age: 25,
|
|
78
|
+
hobby: "游泳1",
|
|
79
|
+
favorite: "外套1",
|
|
80
|
+
remark: "无1",
|
|
81
|
+
price: 100,
|
|
82
|
+
quantity: 1,
|
|
83
|
+
total: 100,
|
|
84
|
+
status: "已完成1",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
date: "2016-05-06",
|
|
88
|
+
name: "王小虎2",
|
|
89
|
+
nickname: "王小虎2",
|
|
90
|
+
address: "上海市普陀区金沙江路 1519 弄2",
|
|
91
|
+
phone: "138000000002",
|
|
92
|
+
gender: "男2",
|
|
93
|
+
age: 25,
|
|
94
|
+
hobby: "游泳2",
|
|
95
|
+
favorite: "外套2",
|
|
96
|
+
remark: "无2",
|
|
97
|
+
price: 100,
|
|
98
|
+
quantity: 1,
|
|
99
|
+
total: 100,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
date: "2016-05-08",
|
|
103
|
+
name: "王小虎3",
|
|
104
|
+
nickname: "王小虎3",
|
|
105
|
+
address: "上海市普陀区金沙江路 1519 弄3",
|
|
106
|
+
phone: "138000000003",
|
|
107
|
+
gender: "男3",
|
|
108
|
+
age: 25,
|
|
109
|
+
hobby: "游泳3",
|
|
110
|
+
favorite: "外套3",
|
|
111
|
+
remark: "无3",
|
|
112
|
+
price: 100,
|
|
113
|
+
quantity: 1,
|
|
114
|
+
total: 100,
|
|
115
|
+
status: "已完成3",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
date: "2016-05-02",
|
|
119
|
+
name: "王小虎",
|
|
120
|
+
nickname: "王小虎",
|
|
121
|
+
address: "上海市普陀区金沙江路 1518 弄",
|
|
122
|
+
phone: "13800000000",
|
|
123
|
+
gender: "男",
|
|
124
|
+
age: 25,
|
|
125
|
+
hobby: "游泳",
|
|
126
|
+
favorite: "外套",
|
|
127
|
+
remark: "无",
|
|
128
|
+
price: 100,
|
|
129
|
+
quantity: 1,
|
|
130
|
+
total: 100,
|
|
131
|
+
status: "已完成",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
date: "2016-05-041",
|
|
135
|
+
name: "王小虎1",
|
|
136
|
+
nickname: "王小虎1",
|
|
137
|
+
address: "上海市普陀区金沙江路 1517 弄1",
|
|
138
|
+
phone: "138000000001",
|
|
139
|
+
gender: "男1",
|
|
140
|
+
age: 25,
|
|
141
|
+
hobby: "游泳1",
|
|
142
|
+
favorite: "外套1",
|
|
143
|
+
remark: "无1",
|
|
144
|
+
price: 100,
|
|
145
|
+
quantity: 1,
|
|
146
|
+
total: 100,
|
|
147
|
+
status: "已完成1",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
date: "2016-05-06",
|
|
151
|
+
name: "王小虎2",
|
|
152
|
+
nickname: "王小虎2",
|
|
153
|
+
address: "上海市普陀区金沙江路 1519 弄2",
|
|
154
|
+
phone: "138000000002",
|
|
155
|
+
gender: "男2",
|
|
156
|
+
age: 25,
|
|
157
|
+
hobby: "游泳2",
|
|
158
|
+
favorite: "外套2",
|
|
159
|
+
remark: "无2",
|
|
160
|
+
price: 100,
|
|
161
|
+
quantity: 1,
|
|
162
|
+
total: 100,
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
date: "2016-05-08",
|
|
166
|
+
name: "王小虎3",
|
|
167
|
+
nickname: "王小虎3",
|
|
168
|
+
address: "上海市普陀区金沙江路 1519 弄3",
|
|
169
|
+
phone: "138000000003",
|
|
170
|
+
gender: "男3",
|
|
171
|
+
age: 25,
|
|
172
|
+
hobby: "游泳3",
|
|
173
|
+
favorite: "外套3",
|
|
174
|
+
remark: "无3",
|
|
175
|
+
price: 100,
|
|
176
|
+
quantity: 1,
|
|
177
|
+
total: 100,
|
|
178
|
+
status: "已完成3",
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
};
|
|
182
|
+
},
|
|
183
|
+
};
|
|
184
|
+
</script>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="home">
|
|
3
|
+
<h1 style="">Vue2子应用</h1>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<style scoped>
|
|
8
|
+
.home {
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: center;
|
|
12
|
+
height: 100vh;
|
|
13
|
+
background-color: #f0f0f0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
h1 {
|
|
17
|
+
color: #42b983;
|
|
18
|
+
font-family: 'Arial', sans-serif;
|
|
19
|
+
font-size: 18px;
|
|
20
|
+
}
|
|
21
|
+
</style>
|
|
22
|
+
|
|
23
|
+
<script>
|
|
24
|
+
export default {
|
|
25
|
+
name: 'Home'
|
|
26
|
+
}
|
|
27
|
+
</script>
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="router-jump-page">
|
|
3
|
+
<div class="flex-container">
|
|
4
|
+
<div class="container">
|
|
5
|
+
<h1>vue2子应用路由跳转</h1>
|
|
6
|
+
<el-input v-model="url" placeholder="请输入地址" class="input-field"></el-input>
|
|
7
|
+
<el-input v-model="name" placeholder="请输入姓名" class="input-field"></el-input>
|
|
8
|
+
<el-input
|
|
9
|
+
v-model="age"
|
|
10
|
+
placeholder="请输入年龄"
|
|
11
|
+
type="number"
|
|
12
|
+
class="input-field"
|
|
13
|
+
></el-input>
|
|
14
|
+
<el-select v-model="selectedApp" placeholder="请选择应用" class="input-field">
|
|
15
|
+
<el-option label="main" value="main"></el-option>
|
|
16
|
+
<el-option label="vue3-child-copy" value="vue3-child-copy"></el-option>
|
|
17
|
+
</el-select>
|
|
18
|
+
<el-button type="primary" @click="jumpToMain" class="action-button" v-if="isShow"
|
|
19
|
+
>跳转到主应用</el-button
|
|
20
|
+
>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="route-params">
|
|
23
|
+
<h1>接收到的路由参数:</h1>
|
|
24
|
+
<p>路径: {{ $route.path }}</p>
|
|
25
|
+
<p v-for="(item, key) in $route.query" :key="item">{{ key }}:{{ item }}</p>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<script>
|
|
32
|
+
export default {
|
|
33
|
+
data() {
|
|
34
|
+
return {
|
|
35
|
+
url: "/router-jump",
|
|
36
|
+
name: "name",
|
|
37
|
+
age: "age",
|
|
38
|
+
selectedApp: "main",
|
|
39
|
+
isShow: true,
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
mounted() {
|
|
43
|
+
this.$nextTick(() => {
|
|
44
|
+
if (!window.$wujie) {
|
|
45
|
+
this.isShow = false;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
},
|
|
49
|
+
methods: {
|
|
50
|
+
jumpToMain() {
|
|
51
|
+
window.$wujie?.bus.$emit("router-jump-to-main", {
|
|
52
|
+
app: this.selectedApp,
|
|
53
|
+
path: this.url,
|
|
54
|
+
query: {
|
|
55
|
+
name: this.name,
|
|
56
|
+
age: this.age,
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
</script>
|
|
63
|
+
|
|
64
|
+
<style scoped>
|
|
65
|
+
.router-jump-page {
|
|
66
|
+
padding: 20px;
|
|
67
|
+
}
|
|
68
|
+
.container {
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
align-items: center;
|
|
72
|
+
gap: 20px;
|
|
73
|
+
padding: 20px;
|
|
74
|
+
background-color: #f8f8f8;
|
|
75
|
+
border-radius: 10px;
|
|
76
|
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
77
|
+
width: 45%;
|
|
78
|
+
margin: 0;
|
|
79
|
+
transition: box-shadow 0.3s ease-in-out;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
h1 {
|
|
83
|
+
color: #333;
|
|
84
|
+
margin-bottom: 20px;
|
|
85
|
+
font-family: "Helvetica Neue", Arial, sans-serif;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.input-field {
|
|
89
|
+
width: 100%;
|
|
90
|
+
border: 1px solid #ccc;
|
|
91
|
+
border-radius: 5px;
|
|
92
|
+
padding: 10px;
|
|
93
|
+
transition: border-color 0.3s ease-in-out;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.input-field:focus {
|
|
97
|
+
border-color: #007bff;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.action-button {
|
|
101
|
+
width: 100%;
|
|
102
|
+
height: 40px;
|
|
103
|
+
background-color: #007bff;
|
|
104
|
+
color: white;
|
|
105
|
+
border: none;
|
|
106
|
+
border-radius: 5px;
|
|
107
|
+
transition: background-color 0.3s ease-in-out;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.action-button:hover {
|
|
111
|
+
background-color: #0056b3;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.route-params {
|
|
115
|
+
padding: 20px;
|
|
116
|
+
background-color: #eef2f7;
|
|
117
|
+
border-radius: 8px;
|
|
118
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
119
|
+
width: 45%;
|
|
120
|
+
margin: 0;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.route-params h1 {
|
|
124
|
+
color: #007bff;
|
|
125
|
+
font-size: 24px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.route-params p {
|
|
129
|
+
font-size: 16px;
|
|
130
|
+
color: #333;
|
|
131
|
+
margin-bottom: 10px;
|
|
132
|
+
background-color: #fff;
|
|
133
|
+
padding: 10px;
|
|
134
|
+
border-radius: 5px;
|
|
135
|
+
border: 1px solid #ccc;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.flex-container {
|
|
139
|
+
display: flex;
|
|
140
|
+
justify-content: space-around;
|
|
141
|
+
align-items: flex-start;
|
|
142
|
+
padding: 20px;
|
|
143
|
+
gap: 20px;
|
|
144
|
+
}
|
|
145
|
+
</style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<EventCalendarExample />
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
/**
|
|
7
|
+
* 日程日历示例页
|
|
8
|
+
* ------------------------------------------------------------------
|
|
9
|
+
* 页面本身只是一层薄壳,所有示例都在
|
|
10
|
+
* src/components/EventCalendar/example.vue 里,
|
|
11
|
+
* 这样组件文件夹整体拷贝到别的项目时,示例也一并带走。
|
|
12
|
+
*/
|
|
13
|
+
import EventCalendarExample from '@/components/EventCalendar/example.vue'
|
|
14
|
+
|
|
15
|
+
export default {
|
|
16
|
+
name: 'CalendarView',
|
|
17
|
+
components: { EventCalendarExample }
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="css-page">
|
|
3
|
+
<el-tabs type="border-card">
|
|
4
|
+
<el-tab-pane label="中间显示省略号...">
|
|
5
|
+
<div>
|
|
6
|
+
<EllipsisText text="你好,我是中间显示省略号,我是一个稍微有点长的标题,超出一行以后才会有title提示,标题是 实现优惠券的技巧 - 2021-03-26" />
|
|
7
|
+
<EllipsisText text="你好,我是中间显示省略号,我是一个稍微有点长的标题,超出一行以后才会有title提示,标题是 实现优惠券的技巧 - 2021-03-26" />
|
|
8
|
+
</div>
|
|
9
|
+
</el-tab-pane>
|
|
10
|
+
<el-tab-pane label="表格悬浮效果">
|
|
11
|
+
<div>
|
|
12
|
+
<TableHover />
|
|
13
|
+
</div>
|
|
14
|
+
</el-tab-pane>
|
|
15
|
+
<el-tab-pane label="悬浮卡片效果">
|
|
16
|
+
<div>
|
|
17
|
+
<HoverCard />
|
|
18
|
+
</div>
|
|
19
|
+
</el-tab-pane>
|
|
20
|
+
<el-tab-pane label="el-input slot对不齐问题">
|
|
21
|
+
<div>
|
|
22
|
+
<InputSlo />
|
|
23
|
+
</div>
|
|
24
|
+
</el-tab-pane>
|
|
25
|
+
<el-tab-pane label="el-table fixed 问题">
|
|
26
|
+
<div>
|
|
27
|
+
<TableFixed />
|
|
28
|
+
</div>
|
|
29
|
+
</el-tab-pane>
|
|
30
|
+
</el-tabs>
|
|
31
|
+
</div>
|
|
32
|
+
</template>
|
|
33
|
+
|
|
34
|
+
<script>
|
|
35
|
+
import EllipsisText from '@/views/cssComponents/EllipsisText.vue'
|
|
36
|
+
import TableHover from '@/views/cssComponents/TableHover.vue'
|
|
37
|
+
import HoverCard from '@/views/cssComponents/HoverCard.vue'
|
|
38
|
+
import InputSlo from './cssComponents/inputSlo.vue'
|
|
39
|
+
import TableFixed from './cssComponents/tableFixed.vue'
|
|
40
|
+
|
|
41
|
+
export default {
|
|
42
|
+
name: 'CssPage',
|
|
43
|
+
components: {
|
|
44
|
+
EllipsisText,
|
|
45
|
+
TableHover,
|
|
46
|
+
HoverCard,
|
|
47
|
+
InputSlo,
|
|
48
|
+
TableFixed,
|
|
49
|
+
},
|
|
50
|
+
}
|
|
51
|
+
</script>
|
|
52
|
+
|
|
53
|
+
<style scoped>
|
|
54
|
+
.css-page {
|
|
55
|
+
padding: 20px;
|
|
56
|
+
}
|
|
57
|
+
</style>
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="ellipsis-text-page">
|
|
3
|
+
<div class="ellipsis-text">
|
|
4
|
+
<ul class="con">
|
|
5
|
+
<li class="wrap">
|
|
6
|
+
<span class="txt">{{ text }}</span>
|
|
7
|
+
<span class="title" :title="text">{{ text }}</span>
|
|
8
|
+
</li>
|
|
9
|
+
</ul>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
export default {
|
|
16
|
+
name: 'EllipsisText',
|
|
17
|
+
props: {
|
|
18
|
+
text: {
|
|
19
|
+
type: String,
|
|
20
|
+
required: true
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<style scoped>
|
|
27
|
+
.con {
|
|
28
|
+
font-size: 14px;
|
|
29
|
+
color: #666;
|
|
30
|
+
width: 600px;
|
|
31
|
+
border-radius: 8px;
|
|
32
|
+
padding: 4px;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
resize: horizontal;
|
|
35
|
+
border: 1px solid #ccc;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.wrap {
|
|
39
|
+
position: relative;
|
|
40
|
+
line-height: 2;
|
|
41
|
+
height: 2em;
|
|
42
|
+
padding: 0 10px;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
background: #fff;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
.title {
|
|
50
|
+
display: block;
|
|
51
|
+
position: relative;
|
|
52
|
+
background: inherit;
|
|
53
|
+
text-align: justify;
|
|
54
|
+
height: 2em;
|
|
55
|
+
overflow: hidden;
|
|
56
|
+
top: -4em;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.txt {
|
|
60
|
+
display: block;
|
|
61
|
+
max-height: 4em;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.title::before {
|
|
65
|
+
content: attr(title);
|
|
66
|
+
width: 50%;
|
|
67
|
+
float: right;
|
|
68
|
+
white-space: nowrap;
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
text-overflow: ellipsis;
|
|
71
|
+
direction: rtl;
|
|
72
|
+
}
|
|
73
|
+
</style>
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="hover-card-page">
|
|
3
|
+
<div class="card-container">
|
|
4
|
+
<div class="card">
|
|
5
|
+
<div class="card-content">
|
|
6
|
+
<h3>悬浮卡片</h3>
|
|
7
|
+
<p>将鼠标悬浮在卡片上查看效果</p>
|
|
8
|
+
<button class="card-btn">了解更多</button>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script>
|
|
16
|
+
export default {
|
|
17
|
+
name: 'HoverCard'
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<style scoped>
|
|
22
|
+
.card-container {
|
|
23
|
+
padding: 20px;
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.card {
|
|
29
|
+
width: 300px;
|
|
30
|
+
background: white;
|
|
31
|
+
border-radius: 15px;
|
|
32
|
+
padding: 20px;
|
|
33
|
+
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
|
34
|
+
transition: all 0.3s ease;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.card:hover {
|
|
38
|
+
transform: translateY(-10px);
|
|
39
|
+
box-shadow: 0 12px 24px rgba(0,0,0,0.2);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.card-content {
|
|
43
|
+
text-align: center;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.card-content h3 {
|
|
47
|
+
color: #333;
|
|
48
|
+
margin-bottom: 15px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.card-content p {
|
|
52
|
+
color: #666;
|
|
53
|
+
margin-bottom: 20px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.card-btn {
|
|
57
|
+
background: #409EFF;
|
|
58
|
+
color: white;
|
|
59
|
+
border: none;
|
|
60
|
+
padding: 10px 20px;
|
|
61
|
+
border-radius: 5px;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
transition: background 0.3s ease;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.card-btn:hover {
|
|
67
|
+
background: #66b1ff;
|
|
68
|
+
}
|
|
69
|
+
</style>
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="table-hover-page">
|
|
3
|
+
<el-table
|
|
4
|
+
:data="data"
|
|
5
|
+
style="width: 100%"
|
|
6
|
+
:span-method="objectSpanMethod"
|
|
7
|
+
:row-class-name="tableRowClassName"
|
|
8
|
+
:cell-style="cellStyle"
|
|
9
|
+
@cell-mouse-enter="handleCellMouseEnter"
|
|
10
|
+
@cell-mouse-leave="handleCellMouseLeave"
|
|
11
|
+
border>
|
|
12
|
+
<el-table-column prop="service" label="服务" width="180">
|
|
13
|
+
</el-table-column>
|
|
14
|
+
<el-table-column prop="name" label="实现变量" width="280">
|
|
15
|
+
</el-table-column>
|
|
16
|
+
<el-table-column prop="value" label="总配额">
|
|
17
|
+
</el-table-column>
|
|
18
|
+
</el-table>
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
|
|
22
|
+
<script>
|
|
23
|
+
export default {
|
|
24
|
+
name: 'TableHover',
|
|
25
|
+
data() {
|
|
26
|
+
return {
|
|
27
|
+
data: [
|
|
28
|
+
{ service: 'ActiveMQ连接数', name: 'ActiveMQ队列数', value: '11' },
|
|
29
|
+
{ service: 'ActiveMQ连接数', name: 'ActiveMQ流控配额', value: '111112' },
|
|
30
|
+
{ service: 'ActiveMQ连接数', name: 'ActiveMQ连接配额', value: '111111' },
|
|
31
|
+
{ service: 'ActiveMQ连接数', name: 'ActiveMQ存储配额', value: '111111' },
|
|
32
|
+
{ service: '服务内类', name: 'westest00005activeMQ', value: '0' },
|
|
33
|
+
{ service: '服务内类', name: '服务内类配额', value: '111111' },
|
|
34
|
+
{ service: '测试公司内网', name: '配额测试配额测试配额测试配额测试配额测试配额测试', value: '0' },
|
|
35
|
+
{ service: '测试公司内网', name: '测试公司内网(个/人)', value: '111111' },
|
|
36
|
+
{ service: '测试公司内网', name: '测试公司内网配额', value: '111111' },
|
|
37
|
+
{ service: '测试公司内网', name: 'test111165', value: '0' },
|
|
38
|
+
{ service: '测试公司内网', name: 'sss', value: '111111' },
|
|
39
|
+
{ service: '测试公司内网', name: 'westest001测试', value: '0' }
|
|
40
|
+
],
|
|
41
|
+
currentIndex: '', // 当前悬浮行的标识
|
|
42
|
+
currentColumnIndex: '' // 当前悬浮列的标识
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
methods: {
|
|
46
|
+
objectSpanMethod({ row, column, rowIndex, columnIndex }) {
|
|
47
|
+
// 获取表格数据
|
|
48
|
+
const tableData = this.data;
|
|
49
|
+
|
|
50
|
+
// 只处理第一列的合并
|
|
51
|
+
if (columnIndex === 0) {
|
|
52
|
+
// 获取当前行的值
|
|
53
|
+
const currentValue = row.service; // 假设要根据 service 来合并
|
|
54
|
+
|
|
55
|
+
// 向上查找相同值的行数
|
|
56
|
+
let count = 1; // 至少包含当前行
|
|
57
|
+
for (let i = rowIndex - 1; i >= 0; i--) {
|
|
58
|
+
if (tableData[i].service === currentValue) {
|
|
59
|
+
count++;
|
|
60
|
+
} else {
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// 如果是相同值的第一行,则合并
|
|
66
|
+
if (rowIndex === 0 || tableData[rowIndex - 1].service !== currentValue) {
|
|
67
|
+
// 向下查找相同值的行数
|
|
68
|
+
for (let i = rowIndex + 1; i < tableData.length; i++) {
|
|
69
|
+
if (tableData[i].service === currentValue) {
|
|
70
|
+
count++;
|
|
71
|
+
} else {
|
|
72
|
+
break;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
rowspan: count,
|
|
77
|
+
colspan: 1
|
|
78
|
+
};
|
|
79
|
+
} else {
|
|
80
|
+
// 不是第一行则隐藏
|
|
81
|
+
return {
|
|
82
|
+
rowspan: 0,
|
|
83
|
+
colspan: 0
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// 其他列保持不变
|
|
89
|
+
return {
|
|
90
|
+
rowspan: 1,
|
|
91
|
+
colspan: 1
|
|
92
|
+
};
|
|
93
|
+
},
|
|
94
|
+
handleCellMouseEnter(row, column, cell, event) {
|
|
95
|
+
this.currentIndex = row.service; // 记录当前悬浮行的 service 值
|
|
96
|
+
this.currentColumnIndex = column.label;
|
|
97
|
+
},
|
|
98
|
+
|
|
99
|
+
handleCellMouseLeave() {
|
|
100
|
+
this.currentIndex = '';
|
|
101
|
+
this.currentColumnIndex = '';
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
// 行的样式类名
|
|
105
|
+
tableRowClassName({ row }) {
|
|
106
|
+
let flag = row.service === this.currentIndex &&
|
|
107
|
+
this.currentColumnIndex === '服务'; // 根据实际的第一列标题修改
|
|
108
|
+
return flag ? 'table-hover-row' : '';
|
|
109
|
+
},
|
|
110
|
+
|
|
111
|
+
// 单元格样式
|
|
112
|
+
cellStyle({ row, column, rowIndex, columnIndex }) {
|
|
113
|
+
let flag = row.service === this.currentIndex &&
|
|
114
|
+
this.currentColumnIndex &&
|
|
115
|
+
this.currentColumnIndex !== '服务' &&
|
|
116
|
+
columnIndex === 0;
|
|
117
|
+
return flag ? 'background: #f4f6fa' : '';
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
</script>
|
|
122
|
+
|
|
123
|
+
<style>
|
|
124
|
+
.el-table .table-hover-row {
|
|
125
|
+
background: #f4f6fa !important;
|
|
126
|
+
}
|
|
127
|
+
.el-table td {
|
|
128
|
+
padding: 8px 0;
|
|
129
|
+
}
|
|
130
|
+
</style>
|