exploria-ui-mcp-server 2.0.0
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/LICENSE +194 -0
- package/README.md +242 -0
- package/dist/README.md +633 -0
- package/dist/components/advanced/e_parallax_scrolling/Document.vue +23 -0
- package/dist/components/advanced/e_parallax_scrolling/Using.vue +20 -0
- package/dist/components/advanced/e_parallax_scrolling/img.png +0 -0
- package/dist/components/advanced/e_parallax_scrolling/img_1.png +0 -0
- package/dist/components/advanced/e_parallax_scrolling//350/247/206/345/267/256/346/273/232/345/212/250 +0 -0
- package/dist/components/advanced/e_rolling_follow/Document.vue +21 -0
- package/dist/components/advanced/e_rolling_follow/Using.vue +54 -0
- package/dist/components/advanced/e_virtual_list/ComprehensiveCase.vue +209 -0
- package/dist/components/advanced/e_virtual_list/Document.vue +68 -0
- package/dist/components/advanced/e_virtual_list/DynamicData.vue +42 -0
- package/dist/components/advanced/e_virtual_list/Using.vue +32 -0
- package/dist/components/advanced/e_virtual_list/iconfont/iconfont.css +19 -0
- package/dist/components/advanced/e_virtual_list/iconfont/iconfont.ttf +0 -0
- package/dist/components/advanced/e_virtual_list/iconfont/iconfont.woff +0 -0
- package/dist/components/advanced/e_virtual_list/iconfont/iconfont.woff2 +0 -0
- package/dist/components/advanced/e_virtual_list/img.png +0 -0
- package/dist/components/advanced/e_watermark/AutoSize.vue +89 -0
- package/dist/components/advanced/e_watermark/BasicUsing.vue +9 -0
- package/dist/components/advanced/e_watermark/CustomFont.vue +73 -0
- package/dist/components/advanced/e_watermark/CustomStyle.vue +76 -0
- package/dist/components/advanced/e_watermark/Dense.vue +28 -0
- package/dist/components/advanced/e_watermark/Document.vue +197 -0
- package/dist/components/advanced/e_watermark/HighZIndex.vue +105 -0
- package/dist/components/advanced/e_watermark/ImageWatermark.vue +31 -0
- package/dist/components/advanced/e_watermark/MultiLine.vue +29 -0
- package/dist/components/advanced/e_watermark/OpacityWatermark.vue +73 -0
- package/dist/components/ai/typing_effect/Document.vue +47 -0
- package/dist/components/ai/typing_effect/Using1.vue +189 -0
- package/dist/components/ai/typing_effect/Using2.vue +167 -0
- package/dist/components/basic/e_badge/BasicBadge.vue +31 -0
- package/dist/components/basic/e_badge/Document.vue +137 -0
- package/dist/components/basic/e_badge/DotBadge.vue +35 -0
- package/dist/components/basic/e_badge/MaxBadge.vue +33 -0
- package/dist/components/basic/e_badge/ShowZeroBadge.vue +30 -0
- package/dist/components/basic/e_badge/SizeBadge.vue +29 -0
- package/dist/components/basic/e_badge/TypeBadge.vue +36 -0
- package/dist/components/basic/e_button/CircleButtons.vue +30 -0
- package/dist/components/basic/e_button/DisabledButtons.vue +30 -0
- package/dist/components/basic/e_button/Document.vue +171 -0
- package/dist/components/basic/e_button/LoadingButtons.vue +30 -0
- package/dist/components/basic/e_button/NormalButtons.vue +30 -0
- package/dist/components/basic/e_button/PlainButtons.vue +30 -0
- package/dist/components/basic/e_button/RoundButtons.vue +30 -0
- package/dist/components/basic/e_button/RoundedRectangleButtons.vue +35 -0
- package/dist/components/basic/e_button/SizeButtons.vue +19 -0
- package/dist/components/basic/e_button/Using.vue +89 -0
- package/dist/components/basic/e_card/BasicCard.vue +9 -0
- package/dist/components/basic/e_card/BorderlessCard.vue +8 -0
- package/dist/components/basic/e_card/ComplexContentCard.vue +92 -0
- package/dist/components/basic/e_card/CustomHeaderCard.vue +24 -0
- package/dist/components/basic/e_card/Document.vue +131 -0
- package/dist/components/basic/e_card/FooterCard.vue +12 -0
- package/dist/components/basic/e_card/ShadowCard.vue +30 -0
- package/dist/components/basic/e_card/SizesCard.vue +29 -0
- package/dist/components/basic/e_svg_icon/Document.vue +38 -0
- package/dist/components/basic/e_svg_icon/Using.vue +7 -0
- package/dist/components/basic/e_underline/BaseUsing.vue +13 -0
- package/dist/components/basic/e_underline/Document.vue +27 -0
- package/dist/components/basic/e_underline/ImgUsing.vue +36 -0
- package/dist/components/data/e_calendar/Document.vue +41 -0
- package/dist/components/data/e_calendar/Using.vue +9 -0
- package/dist/components/data/e_calendar//346/227/245/345/216/206 +0 -0
- package/dist/components/data/e_carousel/Document.vue +143 -0
- package/dist/components/data/e_carousel/Using.vue +20 -0
- package/dist/components/data/e_carousel/Using1.vue +23 -0
- package/dist/components/data/e_carousel/Using2.vue +17 -0
- package/dist/components/data/e_carousel/Using3.vue +17 -0
- package/dist/components/data/e_collapse/Document.vue +40 -0
- package/dist/components/data/e_collapse/Using.vue +9 -0
- package/dist/components/data/e_collapse//346/212/230/345/217/240/351/235/242/346/235/277 +0 -0
- package/dist/components/data/e_image/Document.vue +71 -0
- package/dist/components/data/e_image/Using.vue +21 -0
- package/dist/components/data/e_image/img.png +0 -0
- package/dist/components/data/e_list/BasicUsage.vue +18 -0
- package/dist/components/data/e_list/CustomCheckboxUsage.vue +22 -0
- package/dist/components/data/e_list/CustomEmptyDataUsage.vue +38 -0
- package/dist/components/data/e_list/CustomRowUsage.vue +64 -0
- package/dist/components/data/e_list/DividerUsage.vue +20 -0
- package/dist/components/data/e_list/Document.vue +261 -0
- package/dist/components/data/e_list/EmptyDataUsage.vue +3 -0
- package/dist/components/data/e_list/EventUsage.vue +23 -0
- package/dist/components/data/e_list/MultipleSelectUsage.vue +22 -0
- package/dist/components/data/e_list/SingleSelectUsage.vue +21 -0
- package/dist/components/data/e_list/SizeUsage.vue +35 -0
- package/dist/components/data/e_media_viewer/Document.vue +39 -0
- package/dist/components/data/e_media_viewer/Using.vue +30 -0
- package/dist/components/data/e_media_viewer/img.png +0 -0
- package/dist/components/data/e_progress/BasicProgress.vue +21 -0
- package/dist/components/data/e_progress/CircleProgress.vue +23 -0
- package/dist/components/data/e_progress/CustomColorProgress.vue +63 -0
- package/dist/components/data/e_progress/Document.vue +179 -0
- package/dist/components/data/e_progress/IndeterminateProgress.vue +49 -0
- package/dist/components/data/e_progress/ProgressSize.vue +50 -0
- package/dist/components/data/e_progress/ProgressStatus.vue +21 -0
- package/dist/components/data/e_progress/ProgressText.vue +52 -0
- package/dist/components/data/e_rolling_pagination/Document.vue +21 -0
- package/dist/components/data/e_rolling_pagination/Using.vue +33 -0
- package/dist/components/data/e_rolling_pagination//346/273/232/345/212/250/345/210/206/351/241/265 +0 -0
- package/dist/components/data/e_skeleton/Document.vue +26 -0
- package/dist/components/data/e_skeleton/Using.vue +18 -0
- package/dist/components/data/e_skeleton//351/252/250/346/236/266 +0 -0
- package/dist/components/data/e_table/Document.vue +85 -0
- package/dist/components/data/e_table/Using.vue +131 -0
- package/dist/components/data/e_timeline/Document.vue +90 -0
- package/dist/components/data/e_timeline/Using.vue +124 -0
- package/dist/components/feedback/e_dialog/AsyncUsing.vue +30 -0
- package/dist/components/feedback/e_dialog/BaseUsing.vue +15 -0
- package/dist/components/feedback/e_dialog/Document.vue +26 -0
- package/dist/components/feedback/e_drawer/BaseUsing.vue +35 -0
- package/dist/components/feedback/e_drawer/DirectionUsing.vue +93 -0
- package/dist/components/feedback/e_drawer/Document.vue +153 -0
- package/dist/components/feedback/e_drawer/LargeSizeDrawer.vue +29 -0
- package/dist/components/feedback/e_drawer/MediumSizeDrawer.vue +29 -0
- package/dist/components/feedback/e_drawer/SizeUsing.vue +67 -0
- package/dist/components/feedback/e_drawer/SmallSizeDrawer.vue +29 -0
- package/dist/components/feedback/e_message/Document.vue +18 -0
- package/dist/components/feedback/e_message/Using.vue +16 -0
- package/dist/components/feedback/e_message_box/BaseUsing.vue +11 -0
- package/dist/components/feedback/e_message_box/Document.vue +18 -0
- package/dist/components/feedback/e_message_box/intro.md +12 -0
- package/dist/components/feedback/e_notification/AllPositionsNotification.vue +35 -0
- package/dist/components/feedback/e_notification/BasicTypesNotification.vue +47 -0
- package/dist/components/feedback/e_notification/ClickableNotification.vue +18 -0
- package/dist/components/feedback/e_notification/Document.vue +147 -0
- package/dist/components/feedback/e_notification/ManualCloseNotification.vue +17 -0
- package/dist/components/feedback/e_notification/Using.vue +253 -0
- package/dist/components/feedback/e_popover/BasicUsage.vue +51 -0
- package/dist/components/feedback/e_popover/ContextmenuTrigger.vue +27 -0
- package/dist/components/feedback/e_popover/CustomContent.vue +43 -0
- package/dist/components/feedback/e_popover/CustomTrigger.vue +39 -0
- package/dist/components/feedback/e_popover/Document.vue +84 -0
- package/dist/components/feedback/e_popover/HoverTrigger.vue +29 -0
- package/dist/components/feedback/e_popover/SizeVariants.vue +36 -0
- package/dist/components/feedback/e_popover/Using.vue +177 -0
- package/dist/components/feedback/e_tooltip/Document.vue +42 -0
- package/dist/components/feedback/e_tooltip/SizeUsing.vue +28 -0
- package/dist/components/feedback/e_tooltip/Using.vue +44 -0
- package/dist/components/form/e_checkbox/Document.vue +88 -0
- package/dist/components/form/e_checkbox/Using.vue +10 -0
- package/dist/components/form/e_color_picker/Document.vue +55 -0
- package/dist/components/form/e_color_picker/Using.vue +10 -0
- package/dist/components/form/e_condition_group/Document.vue +52 -0
- package/dist/components/form/e_condition_group/Using.vue +165 -0
- package/dist/components/form/e_file_selector/Document.vue +50 -0
- package/dist/components/form/e_file_selector/Using.vue +44 -0
- package/dist/components/form/e_form/BaseUsage.vue +155 -0
- package/dist/components/form/e_form/Document.vue +93 -0
- package/dist/components/form/e_form/LoginForm.vue +150 -0
- package/dist/components/form/e_form/RegisterForm.vue +46 -0
- package/dist/components/form/e_form/iconfont/iconfont.css +67 -0
- package/dist/components/form/e_form/iconfont/iconfont.ttf +0 -0
- package/dist/components/form/e_form/iconfont/iconfont.woff +0 -0
- package/dist/components/form/e_form/iconfont/iconfont.woff2 +0 -0
- package/dist/components/form/e_input/BaseUsage.vue +16 -0
- package/dist/components/form/e_input/Clearable.vue +24 -0
- package/dist/components/form/e_input/Document.vue +111 -0
- package/dist/components/form/e_input/Number.vue +10 -0
- package/dist/components/form/e_input/Password.vue +52 -0
- package/dist/components/form/e_input/iconfont/iconfont.css +67 -0
- package/dist/components/form/e_input/iconfont/iconfont.ttf +0 -0
- package/dist/components/form/e_input/iconfont/iconfont.woff +0 -0
- package/dist/components/form/e_input/iconfont/iconfont.woff2 +0 -0
- package/dist/components/form/e_radio/Document.vue +88 -0
- package/dist/components/form/e_radio/Using.vue +14 -0
- package/dist/components/form/e_select/Document.vue +32 -0
- package/dist/components/form/e_select/Using.vue +24 -0
- package/dist/components/form/e_select//351/200/211/351/241/271/346/241/206 +0 -0
- package/dist/components/form/e_slider/BaseUsage.vue +10 -0
- package/dist/components/form/e_slider/CustomRange.vue +21 -0
- package/dist/components/form/e_slider/Disabled.vue +10 -0
- package/dist/components/form/e_slider/Document.vue +55 -0
- package/dist/components/form/e_slider/ShowValue.vue +10 -0
- package/dist/components/form/e_slider/Sizes.vue +47 -0
- package/dist/components/form/e_time_picker/Document.vue +58 -0
- package/dist/components/form/e_time_picker/Using.vue +13 -0
- package/dist/components/geometry/css_3d/Document.vue +17 -0
- package/dist/components/geometry/css_3d/Using.vue +9 -0
- package/dist/components/layout/e_scroll_x/Document.vue +39 -0
- package/dist/components/layout/e_scroll_x/Using.vue +38 -0
- package/dist/components/navigation/e_dropdown/BasicUsage.vue +64 -0
- package/dist/components/navigation/e_dropdown/Contextmenu.vue +41 -0
- package/dist/components/navigation/e_dropdown/Document.vue +72 -0
- package/dist/components/navigation/e_dropdown/HoverTrigger.vue +66 -0
- package/dist/components/navigation/e_dropdown/NestedDropdown.vue +143 -0
- package/dist/components/navigation/e_tabs/Document.vue +33 -0
- package/dist/components/navigation/e_tabs/Using.vue +40 -0
- package/dist/directives/e_uuid_util/Document.vue +15 -0
- package/dist/directives/e_uuid_util/Using.vue +13 -0
- package/dist/index.js +13708 -0
- package/dist/other/advanced/gsap/BasicUsing.vue +26 -0
- package/dist/other/advanced/gsap/Document.vue +45 -0
- package/dist/other/advanced/gsap/GSAP/345/212/250/347/224/273 +0 -0
- package/dist/other/advanced/gsap/ScrollTrigger.vue +195 -0
- package/dist/other/advanced/gsap/ScrollX.vue +81 -0
- package/dist/other/advanced/gsap/Timeline.vue +30 -0
- package/dist/other/advanced/lottie/BasicUsing.vue +33 -0
- package/dist/other/advanced/lottie/Document.vue +30 -0
- package/dist/other/advanced/lottie/Lottie /345/212/250/347/224/273 +0 -0
- package/dist/other/advanced/rich_text_editor/Document.vue +24 -0
- package/dist/other/advanced/rich_text_editor/RichTextEditor.vue +105 -0
- package/dist/other/advanced/rich_text_editor/wangeditor_style.css +684 -0
- package/dist/other/advanced/sortablejs/Document.vue +32 -0
- package/dist/other/advanced/sortablejs/ShuttleFrame.vue +181 -0
- package/dist/other/advanced/sortablejs/Using.vue +68 -0
- package/dist/other/advanced/sortablejs/iconfont/iconfont.ttf +0 -0
- package/dist/other/advanced/sortablejs/iconfont/iconfont.woff +0 -0
- package/dist/other/advanced/sortablejs/iconfont/iconfont.woff2 +0 -0
- package/dist/other/advanced/spelling/Document.vue +17 -0
- package/dist/other/advanced/spelling/Using.vue +104 -0
- package/dist/other/advanced/svg/BasicUsing.vue +12 -0
- package/dist/other/advanced/svg/Document.vue +24 -0
- package/dist/other/advanced/svg/FeDisplacementMap/FeDisplacementMap.vue +30 -0
- package/dist/other/advanced/svg/FeDisplacementMap/example/Image.vue +41 -0
- package/dist/other/advanced/svg/FeDisplacementMap/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/dist/other/advanced/svg/FeDisplacementMap//344/275/215/347/275/256/346/233/277/346/215/242/346/273/244/351/225/234 +0 -0
- package/dist/other/advanced/svg/FeTurbulence/FeTurbulence.vue +28 -0
- package/dist/other/advanced/svg/FeTurbulence/example/Image.vue +41 -0
- package/dist/other/advanced/svg/FeTurbulence/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/dist/other/advanced/svg/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
- package/dist/other/canvas/base/Document.vue +15 -0
- package/dist/other/canvas/base/Using.vue +125 -0
- package/dist/other/canvas/burrow/Clip.vue +66 -0
- package/dist/other/canvas/burrow/Document.vue +36 -0
- package/dist/other/canvas/burrow/Erase.vue +58 -0
- package/dist/other/canvas/burrow/NonZeroSurroundRule.vue +70 -0
- package/dist/other/canvas/clip/Clip.vue +58 -0
- package/dist/other/canvas/clip/Document.vue +26 -0
- package/dist/other/canvas/definition/Document.vue +26 -0
- package/dist/other/canvas/definition/Using.vue +60 -0
- package/dist/other/echarts/basic/Document.vue +36 -0
- package/dist/other/echarts/basic/Label.vue +98 -0
- package/dist/other/echarts/data_zoom/Document.vue +38 -0
- package/dist/other/echarts/data_zoom/Using.vue +119 -0
- package/dist/other/echarts/data_zoom/img.svg +33 -0
- package/dist/other/echarts/gauge/Document.vue +38 -0
- package/dist/other/echarts/gauge/Gauge.vue +340 -0
- package/dist/other/echarts/gauge//344/273/252/350/241/250/347/233/230 +0 -0
- package/dist/other/echarts/liquidfill/Document.vue +46 -0
- package/dist/other/echarts/liquidfill/Using.vue +239 -0
- package/dist/other/git/sample_set/Document.vue +43 -0
- package/dist/other/git/sample_set/img/img.png +0 -0
- package/dist/other/git/sample_set/img/img_1.png +0 -0
- package/dist/other/git/sample_set/img/img_2.png +0 -0
- package/dist/other/layout/flex/Advanced.vue +104 -0
- package/dist/other/layout/flex/Advanced2.vue +181 -0
- package/dist/other/layout/flex/Base.vue +48 -0
- package/dist/other/layout/flex/Document.vue +57 -0
- package/dist/other/layout/flex/Grid.vue +54 -0
- package/dist/other/layout/flex/Height100.vue +35 -0
- package/dist/other/layout/flex/intro.md +1 -0
- package/dist/other/layout/grid/Base.vue +29 -0
- package/dist/other/layout/grid/Document.vue +54 -0
- package/dist/other/layout/grid/Grid.vue +28 -0
- package/dist/other/layout/grid/Height100.vue +35 -0
- package/dist/other/layout/grid/intro.md +1 -0
- package/dist/other/navigation/new_tab_page/Document.vue +18 -0
- package/dist/other/navigation/new_tab_page/OpenNewTabPage.vue +7 -0
- package/dist/other/navigation/new_tab_page/new-tab-page-demo.html +450 -0
- package/dist/other/network/sse/Document.vue +21 -0
- package/dist/other/network/sse/Using.vue +24 -0
- package/dist/other/network/sse/server/app.ts +62 -0
- package/dist/other/network/sse/server/static/text.md +99 -0
- package/dist/other/network/sse/server/utils/sleep.ts +5 -0
- package/dist/other/observer/mutation_observer/Document.vue +15 -0
- package/dist/other/observer/mutation_observer/Using.vue +46 -0
- package/dist/other/optimize/Document.vue +19 -0
- package/dist/other/optimize/HeavyComp.vue +19 -0
- package/dist/other/optimize/Using.vue +14 -0
- package/dist/other/optimize/useDefer.ts +28 -0
- package/dist/other/svg/base/BasicUsing.vue +12 -0
- package/dist/other/svg/base/Document.vue +24 -0
- package/dist/other/svg/base/FeDisplacementMap/FeDisplacementMap.vue +30 -0
- package/dist/other/svg/base/FeDisplacementMap/example/Image.vue +41 -0
- package/dist/other/svg/base/FeDisplacementMap/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/dist/other/svg/base/FeDisplacementMap//344/275/215/347/275/256/346/233/277/346/215/242/346/273/244/351/225/234 +0 -0
- package/dist/other/svg/base/FeTurbulence/FeTurbulence.vue +28 -0
- package/dist/other/svg/base/FeTurbulence/example/Image.vue +41 -0
- package/dist/other/svg/base/FeTurbulence/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/dist/other/svg/base/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
- package/dist/other/threejs/base/Document.vue +17 -0
- package/dist/other/threejs/base/Using.vue +127 -0
- package/dist/other/threejs/controller_sync/Document.vue +15 -0
- package/dist/other/threejs/controller_sync/Using.vue +347 -0
- package/dist/other/threejs/controller_sync/bone//345/217/214/350/204/232/345/206/205/344/276/247/350/270/242/347/220/203.fbx +0 -0
- package/dist/other/threejs/controller_sync/motion//345/217/214/350/204/232/345/206/205/344/276/247/350/270/242/347/220/203.fbx +0 -0
- package/dist/other/threejs/controller_sync/scene/EnvMapTexture.jpg +0 -0
- package/dist/other/threejs/controller_sync/scene//347/257/256/347/220/203/345/234/272.glb +0 -0
- package/dist/other/threejs/controller_sync/scene//347/276/275/346/257/233/347/220/203/345/234/272.glb +0 -0
- package/dist/other/threejs/phoenix/Document.vue +17 -0
- package/dist/other/threejs/phoenix/Using.vue +79 -0
- package/dist/other/vue/life_cycle/Child.vue +43 -0
- package/dist/other/vue/life_cycle/Document.vue +15 -0
- package/dist/other/vue/life_cycle/Using.vue +16 -0
- package/dist/utils/e_echarts_util/Document.vue +14 -0
- package/dist/utils/e_echarts_util/Using.vue +81 -0
- package/dist/utils/e_image_util/Document.vue +15 -0
- package/dist/utils/e_image_util/Using.vue +24 -0
- package/dist/utils/e_image_util/author_avatar.png +0 -0
- package/dist/utils/e_uuid_util/Document.vue +15 -0
- package/dist/utils/e_uuid_util/Using.vue +13 -0
- package/dist/utils/type_utils/Document.vue +16 -0
- package/dist/utils/type_utils/TupleType.vue +16 -0
- package/package.json +33 -0
- package/public/README.md +633 -0
- package/public/components/advanced/e_parallax_scrolling/Document.vue +23 -0
- package/public/components/advanced/e_parallax_scrolling/Using.vue +20 -0
- package/public/components/advanced/e_parallax_scrolling/img.png +0 -0
- package/public/components/advanced/e_parallax_scrolling/img_1.png +0 -0
- package/public/components/advanced/e_parallax_scrolling//350/247/206/345/267/256/346/273/232/345/212/250 +0 -0
- package/public/components/advanced/e_rolling_follow/Document.vue +21 -0
- package/public/components/advanced/e_rolling_follow/Using.vue +54 -0
- package/public/components/advanced/e_virtual_list/ComprehensiveCase.vue +209 -0
- package/public/components/advanced/e_virtual_list/Document.vue +68 -0
- package/public/components/advanced/e_virtual_list/DynamicData.vue +42 -0
- package/public/components/advanced/e_virtual_list/Using.vue +32 -0
- package/public/components/advanced/e_virtual_list/iconfont/iconfont.css +19 -0
- package/public/components/advanced/e_virtual_list/iconfont/iconfont.ttf +0 -0
- package/public/components/advanced/e_virtual_list/iconfont/iconfont.woff +0 -0
- package/public/components/advanced/e_virtual_list/iconfont/iconfont.woff2 +0 -0
- package/public/components/advanced/e_virtual_list/img.png +0 -0
- package/public/components/advanced/e_watermark/AutoSize.vue +89 -0
- package/public/components/advanced/e_watermark/BasicUsing.vue +9 -0
- package/public/components/advanced/e_watermark/CustomFont.vue +73 -0
- package/public/components/advanced/e_watermark/CustomStyle.vue +76 -0
- package/public/components/advanced/e_watermark/Dense.vue +28 -0
- package/public/components/advanced/e_watermark/Document.vue +197 -0
- package/public/components/advanced/e_watermark/HighZIndex.vue +105 -0
- package/public/components/advanced/e_watermark/ImageWatermark.vue +31 -0
- package/public/components/advanced/e_watermark/MultiLine.vue +29 -0
- package/public/components/advanced/e_watermark/OpacityWatermark.vue +73 -0
- package/public/components/ai/typing_effect/Document.vue +47 -0
- package/public/components/ai/typing_effect/Using1.vue +189 -0
- package/public/components/ai/typing_effect/Using2.vue +167 -0
- package/public/components/basic/e_badge/BasicBadge.vue +31 -0
- package/public/components/basic/e_badge/Document.vue +137 -0
- package/public/components/basic/e_badge/DotBadge.vue +35 -0
- package/public/components/basic/e_badge/MaxBadge.vue +33 -0
- package/public/components/basic/e_badge/ShowZeroBadge.vue +30 -0
- package/public/components/basic/e_badge/SizeBadge.vue +29 -0
- package/public/components/basic/e_badge/TypeBadge.vue +36 -0
- package/public/components/basic/e_button/CircleButtons.vue +30 -0
- package/public/components/basic/e_button/DisabledButtons.vue +30 -0
- package/public/components/basic/e_button/Document.vue +171 -0
- package/public/components/basic/e_button/LoadingButtons.vue +30 -0
- package/public/components/basic/e_button/NormalButtons.vue +30 -0
- package/public/components/basic/e_button/PlainButtons.vue +30 -0
- package/public/components/basic/e_button/RoundButtons.vue +30 -0
- package/public/components/basic/e_button/RoundedRectangleButtons.vue +35 -0
- package/public/components/basic/e_button/SizeButtons.vue +19 -0
- package/public/components/basic/e_button/Using.vue +89 -0
- package/public/components/basic/e_card/BasicCard.vue +9 -0
- package/public/components/basic/e_card/BorderlessCard.vue +8 -0
- package/public/components/basic/e_card/ComplexContentCard.vue +92 -0
- package/public/components/basic/e_card/CustomHeaderCard.vue +24 -0
- package/public/components/basic/e_card/Document.vue +131 -0
- package/public/components/basic/e_card/FooterCard.vue +12 -0
- package/public/components/basic/e_card/ShadowCard.vue +30 -0
- package/public/components/basic/e_card/SizesCard.vue +29 -0
- package/public/components/basic/e_svg_icon/Document.vue +38 -0
- package/public/components/basic/e_svg_icon/Using.vue +7 -0
- package/public/components/basic/e_underline/BaseUsing.vue +13 -0
- package/public/components/basic/e_underline/Document.vue +27 -0
- package/public/components/basic/e_underline/ImgUsing.vue +36 -0
- package/public/components/data/e_calendar/Document.vue +41 -0
- package/public/components/data/e_calendar/Using.vue +9 -0
- package/public/components/data/e_calendar//346/227/245/345/216/206 +0 -0
- package/public/components/data/e_carousel/Document.vue +143 -0
- package/public/components/data/e_carousel/Using.vue +20 -0
- package/public/components/data/e_carousel/Using1.vue +23 -0
- package/public/components/data/e_carousel/Using2.vue +17 -0
- package/public/components/data/e_carousel/Using3.vue +17 -0
- package/public/components/data/e_collapse/Document.vue +40 -0
- package/public/components/data/e_collapse/Using.vue +9 -0
- package/public/components/data/e_collapse//346/212/230/345/217/240/351/235/242/346/235/277 +0 -0
- package/public/components/data/e_image/Document.vue +71 -0
- package/public/components/data/e_image/Using.vue +21 -0
- package/public/components/data/e_image/img.png +0 -0
- package/public/components/data/e_list/BasicUsage.vue +18 -0
- package/public/components/data/e_list/CustomCheckboxUsage.vue +22 -0
- package/public/components/data/e_list/CustomEmptyDataUsage.vue +38 -0
- package/public/components/data/e_list/CustomRowUsage.vue +64 -0
- package/public/components/data/e_list/DividerUsage.vue +20 -0
- package/public/components/data/e_list/Document.vue +261 -0
- package/public/components/data/e_list/EmptyDataUsage.vue +3 -0
- package/public/components/data/e_list/EventUsage.vue +23 -0
- package/public/components/data/e_list/MultipleSelectUsage.vue +22 -0
- package/public/components/data/e_list/SingleSelectUsage.vue +21 -0
- package/public/components/data/e_list/SizeUsage.vue +35 -0
- package/public/components/data/e_media_viewer/Document.vue +39 -0
- package/public/components/data/e_media_viewer/Using.vue +30 -0
- package/public/components/data/e_media_viewer/img.png +0 -0
- package/public/components/data/e_progress/BasicProgress.vue +21 -0
- package/public/components/data/e_progress/CircleProgress.vue +23 -0
- package/public/components/data/e_progress/CustomColorProgress.vue +63 -0
- package/public/components/data/e_progress/Document.vue +179 -0
- package/public/components/data/e_progress/IndeterminateProgress.vue +49 -0
- package/public/components/data/e_progress/ProgressSize.vue +50 -0
- package/public/components/data/e_progress/ProgressStatus.vue +21 -0
- package/public/components/data/e_progress/ProgressText.vue +52 -0
- package/public/components/data/e_rolling_pagination/Document.vue +21 -0
- package/public/components/data/e_rolling_pagination/Using.vue +33 -0
- package/public/components/data/e_rolling_pagination//346/273/232/345/212/250/345/210/206/351/241/265 +0 -0
- package/public/components/data/e_skeleton/Document.vue +26 -0
- package/public/components/data/e_skeleton/Using.vue +18 -0
- package/public/components/data/e_skeleton//351/252/250/346/236/266 +0 -0
- package/public/components/data/e_table/Document.vue +85 -0
- package/public/components/data/e_table/Using.vue +131 -0
- package/public/components/data/e_timeline/Document.vue +90 -0
- package/public/components/data/e_timeline/Using.vue +124 -0
- package/public/components/feedback/e_dialog/AsyncUsing.vue +30 -0
- package/public/components/feedback/e_dialog/BaseUsing.vue +15 -0
- package/public/components/feedback/e_dialog/Document.vue +26 -0
- package/public/components/feedback/e_drawer/BaseUsing.vue +35 -0
- package/public/components/feedback/e_drawer/DirectionUsing.vue +93 -0
- package/public/components/feedback/e_drawer/Document.vue +153 -0
- package/public/components/feedback/e_drawer/LargeSizeDrawer.vue +29 -0
- package/public/components/feedback/e_drawer/MediumSizeDrawer.vue +29 -0
- package/public/components/feedback/e_drawer/SizeUsing.vue +67 -0
- package/public/components/feedback/e_drawer/SmallSizeDrawer.vue +29 -0
- package/public/components/feedback/e_message/Document.vue +18 -0
- package/public/components/feedback/e_message/Using.vue +16 -0
- package/public/components/feedback/e_message_box/BaseUsing.vue +11 -0
- package/public/components/feedback/e_message_box/Document.vue +18 -0
- package/public/components/feedback/e_message_box/intro.md +12 -0
- package/public/components/feedback/e_notification/AllPositionsNotification.vue +35 -0
- package/public/components/feedback/e_notification/BasicTypesNotification.vue +47 -0
- package/public/components/feedback/e_notification/ClickableNotification.vue +18 -0
- package/public/components/feedback/e_notification/Document.vue +147 -0
- package/public/components/feedback/e_notification/ManualCloseNotification.vue +17 -0
- package/public/components/feedback/e_notification/Using.vue +253 -0
- package/public/components/feedback/e_popover/BasicUsage.vue +51 -0
- package/public/components/feedback/e_popover/ContextmenuTrigger.vue +27 -0
- package/public/components/feedback/e_popover/CustomContent.vue +43 -0
- package/public/components/feedback/e_popover/CustomTrigger.vue +39 -0
- package/public/components/feedback/e_popover/Document.vue +84 -0
- package/public/components/feedback/e_popover/HoverTrigger.vue +29 -0
- package/public/components/feedback/e_popover/SizeVariants.vue +36 -0
- package/public/components/feedback/e_popover/Using.vue +177 -0
- package/public/components/feedback/e_tooltip/Document.vue +42 -0
- package/public/components/feedback/e_tooltip/SizeUsing.vue +28 -0
- package/public/components/feedback/e_tooltip/Using.vue +44 -0
- package/public/components/form/e_checkbox/Document.vue +88 -0
- package/public/components/form/e_checkbox/Using.vue +10 -0
- package/public/components/form/e_color_picker/Document.vue +55 -0
- package/public/components/form/e_color_picker/Using.vue +10 -0
- package/public/components/form/e_condition_group/Document.vue +52 -0
- package/public/components/form/e_condition_group/Using.vue +165 -0
- package/public/components/form/e_file_selector/Document.vue +50 -0
- package/public/components/form/e_file_selector/Using.vue +44 -0
- package/public/components/form/e_form/BaseUsage.vue +155 -0
- package/public/components/form/e_form/Document.vue +93 -0
- package/public/components/form/e_form/LoginForm.vue +150 -0
- package/public/components/form/e_form/RegisterForm.vue +46 -0
- package/public/components/form/e_form/iconfont/iconfont.css +67 -0
- package/public/components/form/e_form/iconfont/iconfont.ttf +0 -0
- package/public/components/form/e_form/iconfont/iconfont.woff +0 -0
- package/public/components/form/e_form/iconfont/iconfont.woff2 +0 -0
- package/public/components/form/e_input/BaseUsage.vue +16 -0
- package/public/components/form/e_input/Clearable.vue +24 -0
- package/public/components/form/e_input/Document.vue +111 -0
- package/public/components/form/e_input/Number.vue +10 -0
- package/public/components/form/e_input/Password.vue +52 -0
- package/public/components/form/e_input/iconfont/iconfont.css +67 -0
- package/public/components/form/e_input/iconfont/iconfont.ttf +0 -0
- package/public/components/form/e_input/iconfont/iconfont.woff +0 -0
- package/public/components/form/e_input/iconfont/iconfont.woff2 +0 -0
- package/public/components/form/e_radio/Document.vue +88 -0
- package/public/components/form/e_radio/Using.vue +14 -0
- package/public/components/form/e_select/Document.vue +32 -0
- package/public/components/form/e_select/Using.vue +24 -0
- package/public/components/form/e_select//351/200/211/351/241/271/346/241/206 +0 -0
- package/public/components/form/e_slider/BaseUsage.vue +10 -0
- package/public/components/form/e_slider/CustomRange.vue +21 -0
- package/public/components/form/e_slider/Disabled.vue +10 -0
- package/public/components/form/e_slider/Document.vue +55 -0
- package/public/components/form/e_slider/ShowValue.vue +10 -0
- package/public/components/form/e_slider/Sizes.vue +47 -0
- package/public/components/form/e_time_picker/Document.vue +58 -0
- package/public/components/form/e_time_picker/Using.vue +13 -0
- package/public/components/geometry/css_3d/Document.vue +17 -0
- package/public/components/geometry/css_3d/Using.vue +9 -0
- package/public/components/layout/e_scroll_x/Document.vue +39 -0
- package/public/components/layout/e_scroll_x/Using.vue +38 -0
- package/public/components/navigation/e_dropdown/BasicUsage.vue +64 -0
- package/public/components/navigation/e_dropdown/Contextmenu.vue +41 -0
- package/public/components/navigation/e_dropdown/Document.vue +72 -0
- package/public/components/navigation/e_dropdown/HoverTrigger.vue +66 -0
- package/public/components/navigation/e_dropdown/NestedDropdown.vue +143 -0
- package/public/components/navigation/e_tabs/Document.vue +33 -0
- package/public/components/navigation/e_tabs/Using.vue +40 -0
- package/public/directives/e_uuid_util/Document.vue +15 -0
- package/public/directives/e_uuid_util/Using.vue +13 -0
- package/public/other/advanced/gsap/BasicUsing.vue +26 -0
- package/public/other/advanced/gsap/Document.vue +45 -0
- package/public/other/advanced/gsap/GSAP/345/212/250/347/224/273 +0 -0
- package/public/other/advanced/gsap/ScrollTrigger.vue +195 -0
- package/public/other/advanced/gsap/ScrollX.vue +81 -0
- package/public/other/advanced/gsap/Timeline.vue +30 -0
- package/public/other/advanced/lottie/BasicUsing.vue +33 -0
- package/public/other/advanced/lottie/Document.vue +30 -0
- package/public/other/advanced/lottie/Lottie /345/212/250/347/224/273 +0 -0
- package/public/other/advanced/rich_text_editor/Document.vue +24 -0
- package/public/other/advanced/rich_text_editor/RichTextEditor.vue +105 -0
- package/public/other/advanced/rich_text_editor/wangeditor_style.css +684 -0
- package/public/other/advanced/sortablejs/Document.vue +32 -0
- package/public/other/advanced/sortablejs/ShuttleFrame.vue +181 -0
- package/public/other/advanced/sortablejs/Using.vue +68 -0
- package/public/other/advanced/sortablejs/iconfont/iconfont.ttf +0 -0
- package/public/other/advanced/sortablejs/iconfont/iconfont.woff +0 -0
- package/public/other/advanced/sortablejs/iconfont/iconfont.woff2 +0 -0
- package/public/other/advanced/spelling/Document.vue +17 -0
- package/public/other/advanced/spelling/Using.vue +104 -0
- package/public/other/advanced/svg/BasicUsing.vue +12 -0
- package/public/other/advanced/svg/Document.vue +24 -0
- package/public/other/advanced/svg/FeDisplacementMap/FeDisplacementMap.vue +30 -0
- package/public/other/advanced/svg/FeDisplacementMap/example/Image.vue +41 -0
- package/public/other/advanced/svg/FeDisplacementMap/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/public/other/advanced/svg/FeDisplacementMap//344/275/215/347/275/256/346/233/277/346/215/242/346/273/244/351/225/234 +0 -0
- package/public/other/advanced/svg/FeTurbulence/FeTurbulence.vue +28 -0
- package/public/other/advanced/svg/FeTurbulence/example/Image.vue +41 -0
- package/public/other/advanced/svg/FeTurbulence/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/public/other/advanced/svg/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
- package/public/other/canvas/base/Document.vue +15 -0
- package/public/other/canvas/base/Using.vue +125 -0
- package/public/other/canvas/burrow/Clip.vue +66 -0
- package/public/other/canvas/burrow/Document.vue +36 -0
- package/public/other/canvas/burrow/Erase.vue +58 -0
- package/public/other/canvas/burrow/NonZeroSurroundRule.vue +70 -0
- package/public/other/canvas/clip/Clip.vue +58 -0
- package/public/other/canvas/clip/Document.vue +26 -0
- package/public/other/canvas/definition/Document.vue +26 -0
- package/public/other/canvas/definition/Using.vue +60 -0
- package/public/other/echarts/basic/Document.vue +36 -0
- package/public/other/echarts/basic/Label.vue +98 -0
- package/public/other/echarts/data_zoom/Document.vue +38 -0
- package/public/other/echarts/data_zoom/Using.vue +119 -0
- package/public/other/echarts/data_zoom/img.svg +33 -0
- package/public/other/echarts/gauge/Document.vue +38 -0
- package/public/other/echarts/gauge/Gauge.vue +340 -0
- package/public/other/echarts/gauge//344/273/252/350/241/250/347/233/230 +0 -0
- package/public/other/echarts/liquidfill/Document.vue +46 -0
- package/public/other/echarts/liquidfill/Using.vue +239 -0
- package/public/other/git/sample_set/Document.vue +43 -0
- package/public/other/git/sample_set/img/img.png +0 -0
- package/public/other/git/sample_set/img/img_1.png +0 -0
- package/public/other/git/sample_set/img/img_2.png +0 -0
- package/public/other/layout/flex/Advanced.vue +104 -0
- package/public/other/layout/flex/Advanced2.vue +181 -0
- package/public/other/layout/flex/Base.vue +48 -0
- package/public/other/layout/flex/Document.vue +57 -0
- package/public/other/layout/flex/Grid.vue +54 -0
- package/public/other/layout/flex/Height100.vue +35 -0
- package/public/other/layout/flex/intro.md +1 -0
- package/public/other/layout/grid/Base.vue +29 -0
- package/public/other/layout/grid/Document.vue +54 -0
- package/public/other/layout/grid/Grid.vue +28 -0
- package/public/other/layout/grid/Height100.vue +35 -0
- package/public/other/layout/grid/intro.md +1 -0
- package/public/other/navigation/new_tab_page/Document.vue +18 -0
- package/public/other/navigation/new_tab_page/OpenNewTabPage.vue +7 -0
- package/public/other/navigation/new_tab_page/new-tab-page-demo.html +450 -0
- package/public/other/network/sse/Document.vue +21 -0
- package/public/other/network/sse/Using.vue +24 -0
- package/public/other/network/sse/server/app.ts +62 -0
- package/public/other/network/sse/server/static/text.md +99 -0
- package/public/other/network/sse/server/utils/sleep.ts +5 -0
- package/public/other/observer/mutation_observer/Document.vue +15 -0
- package/public/other/observer/mutation_observer/Using.vue +46 -0
- package/public/other/optimize/Document.vue +19 -0
- package/public/other/optimize/HeavyComp.vue +19 -0
- package/public/other/optimize/Using.vue +14 -0
- package/public/other/optimize/useDefer.ts +28 -0
- package/public/other/svg/base/BasicUsing.vue +12 -0
- package/public/other/svg/base/Document.vue +24 -0
- package/public/other/svg/base/FeDisplacementMap/FeDisplacementMap.vue +30 -0
- package/public/other/svg/base/FeDisplacementMap/example/Image.vue +41 -0
- package/public/other/svg/base/FeDisplacementMap/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/public/other/svg/base/FeDisplacementMap//344/275/215/347/275/256/346/233/277/346/215/242/346/273/244/351/225/234 +0 -0
- package/public/other/svg/base/FeTurbulence/FeTurbulence.vue +28 -0
- package/public/other/svg/base/FeTurbulence/example/Image.vue +41 -0
- package/public/other/svg/base/FeTurbulence/example//346/225/205/351/232/234/346/263/242/347/272/271/346/225/210/346/236/234 +0 -0
- package/public/other/svg/base/FeTurbulence//346/271/215/346/265/201/346/273/244/351/225/234 +0 -0
- package/public/other/threejs/base/Document.vue +17 -0
- package/public/other/threejs/base/Using.vue +127 -0
- package/public/other/threejs/controller_sync/Document.vue +15 -0
- package/public/other/threejs/controller_sync/Using.vue +347 -0
- package/public/other/threejs/controller_sync/bone//345/217/214/350/204/232/345/206/205/344/276/247/350/270/242/347/220/203.fbx +0 -0
- package/public/other/threejs/controller_sync/motion//345/217/214/350/204/232/345/206/205/344/276/247/350/270/242/347/220/203.fbx +0 -0
- package/public/other/threejs/controller_sync/scene/EnvMapTexture.jpg +0 -0
- package/public/other/threejs/controller_sync/scene//347/257/256/347/220/203/345/234/272.glb +0 -0
- package/public/other/threejs/controller_sync/scene//347/276/275/346/257/233/347/220/203/345/234/272.glb +0 -0
- package/public/other/threejs/phoenix/Document.vue +17 -0
- package/public/other/threejs/phoenix/Using.vue +79 -0
- package/public/other/vue/life_cycle/Child.vue +43 -0
- package/public/other/vue/life_cycle/Document.vue +15 -0
- package/public/other/vue/life_cycle/Using.vue +16 -0
- package/public/utils/e_echarts_util/Document.vue +14 -0
- package/public/utils/e_echarts_util/Using.vue +81 -0
- package/public/utils/e_image_util/Document.vue +15 -0
- package/public/utils/e_image_util/Using.vue +24 -0
- package/public/utils/e_image_util/author_avatar.png +0 -0
- package/public/utils/e_uuid_util/Document.vue +15 -0
- package/public/utils/e_uuid_util/Using.vue +13 -0
- package/public/utils/type_utils/Document.vue +16 -0
- package/public/utils/type_utils/TupleType.vue +16 -0
|
@@ -0,0 +1,450 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>太空探索 - 星际之旅</title>
|
|
7
|
+
<style>
|
|
8
|
+
* {
|
|
9
|
+
margin: 0;
|
|
10
|
+
padding: 0;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
body {
|
|
15
|
+
font-family: 'Arial', sans-serif;
|
|
16
|
+
background: #000;
|
|
17
|
+
color: #fff;
|
|
18
|
+
overflow-x: hidden;
|
|
19
|
+
cursor: crosshair;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* 星空背景 */
|
|
23
|
+
#stars {
|
|
24
|
+
position: fixed;
|
|
25
|
+
top: 0;
|
|
26
|
+
left: 0;
|
|
27
|
+
width: 100%;
|
|
28
|
+
height: 100%;
|
|
29
|
+
z-index: -1;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.star {
|
|
33
|
+
position: absolute;
|
|
34
|
+
background: #fff;
|
|
35
|
+
border-radius: 50%;
|
|
36
|
+
animation: twinkle 3s infinite;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@keyframes twinkle {
|
|
40
|
+
0%,
|
|
41
|
+
100% {
|
|
42
|
+
opacity: 0.3;
|
|
43
|
+
}
|
|
44
|
+
50% {
|
|
45
|
+
opacity: 1;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* 主容器 */
|
|
50
|
+
.container {
|
|
51
|
+
max-width: 1200px;
|
|
52
|
+
margin: 0 auto;
|
|
53
|
+
padding: 20px;
|
|
54
|
+
position: relative;
|
|
55
|
+
z-index: 1;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* 标题 */
|
|
59
|
+
h1 {
|
|
60
|
+
text-align: center;
|
|
61
|
+
font-size: 3em;
|
|
62
|
+
margin: 30px 0;
|
|
63
|
+
background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
|
|
64
|
+
-webkit-background-clip: text;
|
|
65
|
+
-webkit-text-fill-color: transparent;
|
|
66
|
+
animation: glow 2s ease-in-out infinite alternate;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@keyframes glow {
|
|
70
|
+
from {
|
|
71
|
+
filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.5));
|
|
72
|
+
}
|
|
73
|
+
to {
|
|
74
|
+
filter: drop-shadow(0 0 30px rgba(69, 183, 209, 0.8));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* 火箭 */
|
|
79
|
+
#rocket {
|
|
80
|
+
position: fixed;
|
|
81
|
+
bottom: -100px;
|
|
82
|
+
left: 50%;
|
|
83
|
+
transform: translateX(-50%);
|
|
84
|
+
width: 60px;
|
|
85
|
+
height: 100px;
|
|
86
|
+
cursor: pointer;
|
|
87
|
+
transition: all 0.3s ease;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
#rocket:hover {
|
|
91
|
+
transform: translateX(-50%) scale(1.1);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
#rocket.flying {
|
|
95
|
+
animation: fly 3s ease-in-out;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@keyframes fly {
|
|
99
|
+
0% {
|
|
100
|
+
bottom: -100px;
|
|
101
|
+
}
|
|
102
|
+
50% {
|
|
103
|
+
bottom: 50vh;
|
|
104
|
+
}
|
|
105
|
+
100% {
|
|
106
|
+
bottom: 110vh;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* 控制面板 */
|
|
111
|
+
.control-panel {
|
|
112
|
+
background: rgba(255, 255, 255, 0.1);
|
|
113
|
+
border-radius: 20px;
|
|
114
|
+
padding: 30px;
|
|
115
|
+
margin: 30px auto;
|
|
116
|
+
max-width: 600px;
|
|
117
|
+
backdrop-filter: blur(10px);
|
|
118
|
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.button {
|
|
122
|
+
background: linear-gradient(45deg, #667eea, #764ba2);
|
|
123
|
+
border: none;
|
|
124
|
+
color: white;
|
|
125
|
+
padding: 15px 30px;
|
|
126
|
+
font-size: 1.2em;
|
|
127
|
+
border-radius: 50px;
|
|
128
|
+
cursor: pointer;
|
|
129
|
+
margin: 10px;
|
|
130
|
+
transition: all 0.3s ease;
|
|
131
|
+
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.button:hover {
|
|
135
|
+
transform: translateY(-2px);
|
|
136
|
+
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.button:active {
|
|
140
|
+
transform: translateY(0);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/* 信息卡片 */
|
|
144
|
+
.info-card {
|
|
145
|
+
background: rgba(255, 255, 255, 0.05);
|
|
146
|
+
border-radius: 15px;
|
|
147
|
+
padding: 20px;
|
|
148
|
+
margin: 20px 0;
|
|
149
|
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
150
|
+
display: none;
|
|
151
|
+
animation: fadeIn 0.5s ease;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@keyframes fadeIn {
|
|
155
|
+
from {
|
|
156
|
+
opacity: 0;
|
|
157
|
+
transform: translateY(20px);
|
|
158
|
+
}
|
|
159
|
+
to {
|
|
160
|
+
opacity: 1;
|
|
161
|
+
transform: translateY(0);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* 粒子效果 */
|
|
166
|
+
.particle {
|
|
167
|
+
position: fixed;
|
|
168
|
+
pointer-events: none;
|
|
169
|
+
opacity: 0;
|
|
170
|
+
animation: particle-float 3s ease-out forwards;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
@keyframes particle-float {
|
|
174
|
+
0% {
|
|
175
|
+
opacity: 1;
|
|
176
|
+
transform: translate(0, 0) scale(0);
|
|
177
|
+
}
|
|
178
|
+
100% {
|
|
179
|
+
opacity: 0;
|
|
180
|
+
transform: translate(var(--x), var(--y)) scale(1);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* 流星 */
|
|
185
|
+
.meteor {
|
|
186
|
+
position: fixed;
|
|
187
|
+
width: 2px;
|
|
188
|
+
height: 2px;
|
|
189
|
+
background: #fff;
|
|
190
|
+
box-shadow: 0 0 10px #fff;
|
|
191
|
+
animation: meteor-fall 3s linear infinite;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@keyframes meteor-fall {
|
|
195
|
+
0% {
|
|
196
|
+
transform: translate(0, -100px) rotate(45deg);
|
|
197
|
+
opacity: 1;
|
|
198
|
+
}
|
|
199
|
+
100% {
|
|
200
|
+
transform: translate(-500px, 500px) rotate(45deg);
|
|
201
|
+
opacity: 0;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/* 响应式设计 */
|
|
206
|
+
@media (max-width: 768px) {
|
|
207
|
+
h1 {
|
|
208
|
+
font-size: 2em;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.control-panel {
|
|
212
|
+
padding: 20px;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.button {
|
|
216
|
+
padding: 10px 20px;
|
|
217
|
+
font-size: 1em;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
</style>
|
|
221
|
+
</head>
|
|
222
|
+
<body>
|
|
223
|
+
<div id="stars"></div>
|
|
224
|
+
|
|
225
|
+
<div class="container">
|
|
226
|
+
<h1>🚀 太空探索之旅 🌌</h1>
|
|
227
|
+
|
|
228
|
+
<div class="control-panel">
|
|
229
|
+
<h2>任务控制中心</h2>
|
|
230
|
+
<p>点击按钮开始你的太空冒险!</p>
|
|
231
|
+
|
|
232
|
+
<button class="button" onclick="launchRocket()">
|
|
233
|
+
发射火箭 🚀
|
|
234
|
+
</button>
|
|
235
|
+
<button class="button" onclick="showPlanetInfo()">
|
|
236
|
+
探索行星 🪐
|
|
237
|
+
</button>
|
|
238
|
+
<button class="button" onclick="createMeteorShower()">
|
|
239
|
+
流星雨 ☄️
|
|
240
|
+
</button>
|
|
241
|
+
<button class="button" onclick="toggleStars()">
|
|
242
|
+
闪烁星星 ✨
|
|
243
|
+
</button>
|
|
244
|
+
</div>
|
|
245
|
+
|
|
246
|
+
<div id="planetInfo" class="info-card">
|
|
247
|
+
<h3>太阳系行星</h3>
|
|
248
|
+
<p><strong>水星:</strong>距离太阳最近的行星,表面温度极高。</p>
|
|
249
|
+
<p>
|
|
250
|
+
<strong>金星:</strong
|
|
251
|
+
>被称为"晨星"或"昏星",表面温度约462°C。
|
|
252
|
+
</p>
|
|
253
|
+
<p><strong>地球:</strong>我们的家园,唯一已知有生命的行星。</p>
|
|
254
|
+
<p><strong>火星:</strong>红色星球,可能曾经存在生命。</p>
|
|
255
|
+
<p><strong>木星:</strong>太阳系最大的行星,有大红斑风暴。</p>
|
|
256
|
+
<p><strong>土星:</strong>拥有美丽的光环系统。</p>
|
|
257
|
+
<p><strong>天王星:</strong>侧躺着自转的冰巨星。</p>
|
|
258
|
+
<p><strong>海王星:</strong>太阳系最远的行星,风速极快。</p>
|
|
259
|
+
</div>
|
|
260
|
+
</div>
|
|
261
|
+
|
|
262
|
+
<!-- 火箭 -->
|
|
263
|
+
<svg id="rocket" viewBox="0 0 60 100">
|
|
264
|
+
<defs>
|
|
265
|
+
<linearGradient
|
|
266
|
+
id="rocketGradient"
|
|
267
|
+
x1="0%"
|
|
268
|
+
y1="0%"
|
|
269
|
+
x2="0%"
|
|
270
|
+
y2="100%"
|
|
271
|
+
>
|
|
272
|
+
<stop
|
|
273
|
+
offset="0%"
|
|
274
|
+
style="stop-color: #ff6b6b; stop-opacity: 1"
|
|
275
|
+
/>
|
|
276
|
+
<stop
|
|
277
|
+
offset="100%"
|
|
278
|
+
style="stop-color: #ee5a24; stop-opacity: 1"
|
|
279
|
+
/>
|
|
280
|
+
</linearGradient>
|
|
281
|
+
<linearGradient
|
|
282
|
+
id="flameGradient"
|
|
283
|
+
x1="0%"
|
|
284
|
+
y1="0%"
|
|
285
|
+
x2="0%"
|
|
286
|
+
y2="100%"
|
|
287
|
+
>
|
|
288
|
+
<stop
|
|
289
|
+
offset="0%"
|
|
290
|
+
style="stop-color: #ffe66d; stop-opacity: 1"
|
|
291
|
+
/>
|
|
292
|
+
<stop
|
|
293
|
+
offset="100%"
|
|
294
|
+
style="stop-color: #ff6b6b; stop-opacity: 1"
|
|
295
|
+
/>
|
|
296
|
+
</linearGradient>
|
|
297
|
+
</defs>
|
|
298
|
+
|
|
299
|
+
<!-- 火箭主体 -->
|
|
300
|
+
<ellipse
|
|
301
|
+
cx="30"
|
|
302
|
+
cy="40"
|
|
303
|
+
rx="15"
|
|
304
|
+
ry="30"
|
|
305
|
+
fill="url(#rocketGradient)"
|
|
306
|
+
/>
|
|
307
|
+
|
|
308
|
+
<!-- 火箭顶部 -->
|
|
309
|
+
<path
|
|
310
|
+
d="M15 20 Q30 5, 45 20"
|
|
311
|
+
fill="url(#rocketGradient)"
|
|
312
|
+
stroke="none"
|
|
313
|
+
/>
|
|
314
|
+
|
|
315
|
+
<!-- 火箭翼 -->
|
|
316
|
+
<path d="M15 50 L5 65 L15 60" fill="#4834d4" />
|
|
317
|
+
<path d="M45 50 L55 65 L45 60" fill="#4834d4" />
|
|
318
|
+
|
|
319
|
+
<!-- 火焰 -->
|
|
320
|
+
<g id="flame">
|
|
321
|
+
<path
|
|
322
|
+
d="M20 70 Q30 85, 40 70"
|
|
323
|
+
fill="url(#flameGradient)"
|
|
324
|
+
opacity="0.8"
|
|
325
|
+
/>
|
|
326
|
+
<path d="M25 75 Q30 90, 35 75" fill="#ff9ff3" opacity="0.9" />
|
|
327
|
+
</g>
|
|
328
|
+
|
|
329
|
+
<!-- 窗口 -->
|
|
330
|
+
<circle cx="30" cy="35" r="5" fill="#74b9ff" opacity="0.8" />
|
|
331
|
+
</svg>
|
|
332
|
+
|
|
333
|
+
<script>
|
|
334
|
+
// 创建星空背景
|
|
335
|
+
function createStars() {
|
|
336
|
+
const starsContainer = document.getElementById('stars');
|
|
337
|
+
const starCount = 200;
|
|
338
|
+
|
|
339
|
+
for (let i = 0; i < starCount; i++) {
|
|
340
|
+
const star = document.createElement('div');
|
|
341
|
+
star.className = 'star';
|
|
342
|
+
star.style.left = Math.random() * 100 + '%';
|
|
343
|
+
star.style.top = Math.random() * 100 + '%';
|
|
344
|
+
star.style.width = Math.random() * 3 + 'px';
|
|
345
|
+
star.style.height = star.style.width + 'px';
|
|
346
|
+
star.style.animationDelay = Math.random() * 3 + 's';
|
|
347
|
+
starsContainer.appendChild(star);
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
// 发射火箭
|
|
352
|
+
function launchRocket() {
|
|
353
|
+
const rocket = document.getElementById('rocket');
|
|
354
|
+
rocket.classList.add('flying');
|
|
355
|
+
|
|
356
|
+
// 创建发射粒子效果
|
|
357
|
+
for (let i = 0; i < 20; i++) {
|
|
358
|
+
createParticle(
|
|
359
|
+
rocket.offsetLeft + 30,
|
|
360
|
+
window.innerHeight - 100
|
|
361
|
+
);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
setTimeout(() => {
|
|
365
|
+
rocket.classList.remove('flying');
|
|
366
|
+
}, 3000);
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
// 创建粒子效果
|
|
370
|
+
function createParticle(x, y) {
|
|
371
|
+
const particle = document.createElement('div');
|
|
372
|
+
particle.className = 'particle';
|
|
373
|
+
particle.style.left = x + 'px';
|
|
374
|
+
particle.style.top = y + 'px';
|
|
375
|
+
particle.style.width = '10px';
|
|
376
|
+
particle.style.height = '10px';
|
|
377
|
+
particle.style.background = `hsl(${Math.random() * 60 + 30}, 100%, 50%)`;
|
|
378
|
+
particle.style.borderRadius = '50%';
|
|
379
|
+
particle.style.setProperty(
|
|
380
|
+
'--x',
|
|
381
|
+
(Math.random() - 0.5) * 200 + 'px'
|
|
382
|
+
);
|
|
383
|
+
particle.style.setProperty(
|
|
384
|
+
'--y',
|
|
385
|
+
(Math.random() - 0.5) * 200 + 'px'
|
|
386
|
+
);
|
|
387
|
+
|
|
388
|
+
document.body.appendChild(particle);
|
|
389
|
+
|
|
390
|
+
setTimeout(() => {
|
|
391
|
+
particle.remove();
|
|
392
|
+
}, 3000);
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
// 显示行星信息
|
|
396
|
+
function showPlanetInfo() {
|
|
397
|
+
const infoCard = document.getElementById('planetInfo');
|
|
398
|
+
infoCard.style.display =
|
|
399
|
+
infoCard.style.display === 'none' ? 'block' : 'none';
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
// 创建流星雨
|
|
403
|
+
function createMeteorShower() {
|
|
404
|
+
for (let i = 0; i < 10; i++) {
|
|
405
|
+
setTimeout(() => {
|
|
406
|
+
const meteor = document.createElement('div');
|
|
407
|
+
meteor.className = 'meteor';
|
|
408
|
+
meteor.style.left =
|
|
409
|
+
Math.random() * window.innerWidth + 'px';
|
|
410
|
+
meteor.style.top = '-10px';
|
|
411
|
+
document.body.appendChild(meteor);
|
|
412
|
+
|
|
413
|
+
setTimeout(() => {
|
|
414
|
+
meteor.remove();
|
|
415
|
+
}, 3000);
|
|
416
|
+
}, i * 200);
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
// 切换星星闪烁
|
|
421
|
+
let starsTwinkling = true;
|
|
422
|
+
|
|
423
|
+
function toggleStars() {
|
|
424
|
+
starsTwinkling = !starsTwinkling;
|
|
425
|
+
const stars = document.querySelectorAll('.star');
|
|
426
|
+
stars.forEach((star) => {
|
|
427
|
+
star.style.animationPlayState = starsTwinkling
|
|
428
|
+
? 'running'
|
|
429
|
+
: 'paused';
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
// 鼠标点击创建粒子
|
|
434
|
+
document.addEventListener('click', (e) => {
|
|
435
|
+
for (let i = 0; i < 5; i++) {
|
|
436
|
+
createParticle(e.clientX, e.clientY);
|
|
437
|
+
}
|
|
438
|
+
});
|
|
439
|
+
|
|
440
|
+
// 初始化
|
|
441
|
+
createStars();
|
|
442
|
+
|
|
443
|
+
// 添加火焰动画
|
|
444
|
+
setInterval(() => {
|
|
445
|
+
const flame = document.getElementById('flame');
|
|
446
|
+
flame.style.transform = `scale(${0.9 + Math.random() * 0.2})`;
|
|
447
|
+
}, 100);
|
|
448
|
+
</script>
|
|
449
|
+
</body>
|
|
450
|
+
</html>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
+
import src from './Using.vue?raw';
|
|
4
|
+
import Using from './Using.vue';
|
|
5
|
+
import PageLayout from '@/components/PageLayout.vue';
|
|
6
|
+
|
|
7
|
+
const section = ['基本用法'];
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<PageLayout :section="section">
|
|
12
|
+
<DemoBox
|
|
13
|
+
:code="src"
|
|
14
|
+
:libs="['koa', 'koa2-cors', 'koa-router']"
|
|
15
|
+
title="基本用法"
|
|
16
|
+
>
|
|
17
|
+
<Using />
|
|
18
|
+
<template #description> 几何</template>
|
|
19
|
+
</DemoBox>
|
|
20
|
+
</PageLayout>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
// SSE
|
|
3
|
+
import { ref } from 'vue';
|
|
4
|
+
|
|
5
|
+
const sse = new EventSource('http://localhost:3000/sse');
|
|
6
|
+
const chunkList = ref<string[]>([]);
|
|
7
|
+
sse.onmessage = (e) => {
|
|
8
|
+
console.log(e.data);
|
|
9
|
+
};
|
|
10
|
+
sse.onerror = (e) => {
|
|
11
|
+
console.log(e);
|
|
12
|
+
};
|
|
13
|
+
sse.onopen = (e) => {
|
|
14
|
+
console.log(e);
|
|
15
|
+
};
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<div class="using">
|
|
20
|
+
<div class="chunk" v-for="chunk of chunkList" :key="chunk">
|
|
21
|
+
{{ chunk }}
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import Koa from 'koa';
|
|
2
|
+
import Router from 'koa-router';
|
|
3
|
+
import cors from 'koa2-cors';
|
|
4
|
+
|
|
5
|
+
import text from './static/text.md?raw';
|
|
6
|
+
import { sleep } from './utils/sleep.ts';
|
|
7
|
+
|
|
8
|
+
/* ② 允许所有来源跨域,也可以按需配置 */
|
|
9
|
+
const app = new Koa();
|
|
10
|
+
const router = new Router();
|
|
11
|
+
app.use(cors({ origin: '*' }));
|
|
12
|
+
|
|
13
|
+
app.use(router.routes());
|
|
14
|
+
app.use(router.allowedMethods());
|
|
15
|
+
|
|
16
|
+
router.post('/api', async (ctx) => {
|
|
17
|
+
ctx.set({
|
|
18
|
+
'Content-Type': 'text/event-stream',
|
|
19
|
+
'Cache-Control': 'no-cache',
|
|
20
|
+
Connection: 'keep-alive',
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
// 监听前端断开
|
|
24
|
+
let closed = false;
|
|
25
|
+
ctx.req.on('close', () => (closed = true));
|
|
26
|
+
|
|
27
|
+
let temp = '';
|
|
28
|
+
let count = 0;
|
|
29
|
+
for (const line of text.split('\n')) {
|
|
30
|
+
temp +=
|
|
31
|
+
'data:' +
|
|
32
|
+
JSON.stringify({
|
|
33
|
+
data: { from: 'restful_answer', content: line },
|
|
34
|
+
}) +
|
|
35
|
+
'\n\n';
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
let startIndex = 0;
|
|
39
|
+
let endIndex = 50;
|
|
40
|
+
while (startIndex < temp.length) {
|
|
41
|
+
if (closed) break;
|
|
42
|
+
ctx.res.write(temp.slice(startIndex, endIndex));
|
|
43
|
+
count++;
|
|
44
|
+
startIndex = endIndex;
|
|
45
|
+
endIndex += Math.ceil(Math.random() * 50);
|
|
46
|
+
if (count % 20 === 0) {
|
|
47
|
+
await sleep(1000);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// 推送结束标记(前端根据 err_msg 停止循环)
|
|
52
|
+
ctx.res.write(
|
|
53
|
+
'data:' +
|
|
54
|
+
JSON.stringify({ data: { from: 'err_msg', content: 'finish' } }) +
|
|
55
|
+
'\n\n'
|
|
56
|
+
);
|
|
57
|
+
ctx.res.end();
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
app.listen(8080, () => {
|
|
61
|
+
console.log('Server is running on port 8080.');
|
|
62
|
+
});
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# ling-xi-zhi-jian-frontend
|
|
2
|
+
|
|
3
|
+
一个基于 Vue 3.5 的现代化前端项目,集成了多种强大的框架和工具,适用于构建高效、可扩展的 Web 应用。
|
|
4
|
+
|
|
5
|
+
## 项目介绍
|
|
6
|
+
|
|
7
|
+
`ling-xi-zhi-jian-frontend` 是一个基于 Vue 3.5 的前端项目,使用了 Element Plus、Ant Design Vue 等流行的 UI 框架,以及 Pinia 状态管理库和 Vue Router 路由管理库。此外,项目还集成了 ECharts 和 Three.js 等可视化库,支持国际化(Vue I18n),并使用了 TypeScript 进行类型安全的开发。
|
|
8
|
+
|
|
9
|
+
## 技术栈
|
|
10
|
+
|
|
11
|
+
- **框架**:Vue 3.5
|
|
12
|
+
- **UI 框架**:Element Plus、Ant Design Vue
|
|
13
|
+
- **状态管理**:Pinia
|
|
14
|
+
- **路由管理**:Vue Router
|
|
15
|
+
- **国际化**:Vue I18n
|
|
16
|
+
- **富文本编辑器**:WangEditor for Vue
|
|
17
|
+
- **可视化库**:ECharts、Three.js
|
|
18
|
+
- **构建工具**:Vite
|
|
19
|
+
- **代码规范**:ESLint
|
|
20
|
+
- **类型检查**:TypeScript、Vue-TSC
|
|
21
|
+
|
|
22
|
+
## 项目结构
|
|
23
|
+
|
|
24
|
+
```python
|
|
25
|
+
ling-xi-zhi-jian-frontend/
|
|
26
|
+
├── public/ # 静态资源目录
|
|
27
|
+
├── src/ # 源代码目录
|
|
28
|
+
│ ├── api/ # API 接口
|
|
29
|
+
│ ├── assets/ # 静态资源(如图片、样式文件等)
|
|
30
|
+
│ ├── components/ # 全局组件(项目作者从0到1开发的UI组件库)
|
|
31
|
+
│ ├── constants/ # 自定义常量
|
|
32
|
+
│ ├── directives/ # 自定义指令
|
|
33
|
+
│ ├── style/ # 全局样式
|
|
34
|
+
│ ├── views/ # 页面组件
|
|
35
|
+
│ ├── store/ # Pinia 状态管理
|
|
36
|
+
│ ├── router/ # 路由配置
|
|
37
|
+
│ ├── i18n/ # 国际化配置
|
|
38
|
+
│ ├── types/ # 类型定义
|
|
39
|
+
│ ├── index/ # 工具函数
|
|
40
|
+
│ ├── App.other # 根组件
|
|
41
|
+
│ └── main.ts # 入口文件
|
|
42
|
+
├── eslint.config.ts # ESLint 配置文件
|
|
43
|
+
├── .env.dev # 开发环境下的环境变量
|
|
44
|
+
├── .env.prod # 生产环境下的环境变量
|
|
45
|
+
├── .gitignore # Git 忽略文件
|
|
46
|
+
├── package.json # 项目依赖配置
|
|
47
|
+
├── tsconfig.json # TypeScript 配置文件
|
|
48
|
+
└── vite.config.ts # Vite 配置文件
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## 依赖说明
|
|
52
|
+
|
|
53
|
+
- `other`: Vue 3.5 核心库
|
|
54
|
+
- `@wangeditor/editor-for-other`: WangEditor 的 Vue 组件
|
|
55
|
+
- `animate.css`: CSS 动画库
|
|
56
|
+
- `ant-design-other`: Ant Design Vue 组件库
|
|
57
|
+
- `element-plus`: Element Plus 组件库
|
|
58
|
+
- `axios`: HTTP 客户端
|
|
59
|
+
- `echarts`: 数据可视化库
|
|
60
|
+
- `three`: 3D 图形库
|
|
61
|
+
- `@types/three`: Three.js 的 TypeScript 类型定义
|
|
62
|
+
- `marked`: Markdown 解析库
|
|
63
|
+
- `pinia`: Vue 3 的状态管理库
|
|
64
|
+
- `sass`: CSS 预处理器
|
|
65
|
+
- `other-i18n`: Vue 的国际化插件
|
|
66
|
+
- `other-router`: Vue 的路由管理库
|
|
67
|
+
|
|
68
|
+
## 开发环境
|
|
69
|
+
|
|
70
|
+
- Node.js: 20.x
|
|
71
|
+
- pnpm: 10.x
|
|
72
|
+
- TypeScript: 5.x
|
|
73
|
+
- Vite: 5.x
|
|
74
|
+
|
|
75
|
+
## pnpm指令
|
|
76
|
+
|
|
77
|
+
### 项目初始化
|
|
78
|
+
|
|
79
|
+
```sh
|
|
80
|
+
pnpm i
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### 项目启动
|
|
84
|
+
|
|
85
|
+
```sh
|
|
86
|
+
pnpm run dev
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### 为生产进行类型检查、编译和最小化
|
|
90
|
+
|
|
91
|
+
```sh
|
|
92
|
+
pnpm run build
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### 使用 [ESLint](https://eslint.org/) 进行Lint
|
|
96
|
+
|
|
97
|
+
```sh
|
|
98
|
+
pnpm run lint
|
|
99
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
+
import src from './Using.vue?raw';
|
|
4
|
+
import Using from './Using.vue';
|
|
5
|
+
import PageLayout from '@/components/PageLayout.vue';
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<PageLayout>
|
|
10
|
+
<DemoBox :code="src" title="基本用法">
|
|
11
|
+
<Using />
|
|
12
|
+
<template #description> 几何</template>
|
|
13
|
+
</DemoBox>
|
|
14
|
+
</PageLayout>
|
|
15
|
+
</template>
|