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,239 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
/**
|
|
3
|
+
* 水球图
|
|
4
|
+
*/
|
|
5
|
+
import * as echarts from 'echarts';
|
|
6
|
+
import 'echarts-liquidfill';
|
|
7
|
+
import { onBeforeUnmount, onMounted, useTemplateRef } from 'vue';
|
|
8
|
+
|
|
9
|
+
let chart: echarts.ECharts;
|
|
10
|
+
const boxRef = useTemplateRef<HTMLElement>('boxRef');
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* 创建一个矩形画布,背景为上下线性渐变
|
|
14
|
+
*/
|
|
15
|
+
const createLinearGradientRect = (option: {
|
|
16
|
+
width: number;
|
|
17
|
+
height: number;
|
|
18
|
+
y: number;
|
|
19
|
+
bgColor: HTMLCanvasElement;
|
|
20
|
+
startColor: string;
|
|
21
|
+
endColor: string;
|
|
22
|
+
}) => {
|
|
23
|
+
const { width, height, y, bgColor, startColor, endColor } = option;
|
|
24
|
+
|
|
25
|
+
const canvas = document.createElement('canvas');
|
|
26
|
+
canvas.width = width;
|
|
27
|
+
canvas.height = height;
|
|
28
|
+
const ctx = canvas.getContext('2d')!;
|
|
29
|
+
|
|
30
|
+
// 绘制背景
|
|
31
|
+
ctx.drawImage(bgColor, 0, 0);
|
|
32
|
+
|
|
33
|
+
// 创建线性渐变
|
|
34
|
+
const gradient = ctx.createLinearGradient(0, 0, 0, height);
|
|
35
|
+
gradient.addColorStop(0, startColor);
|
|
36
|
+
gradient.addColorStop(1, endColor);
|
|
37
|
+
|
|
38
|
+
// 填充整个矩形
|
|
39
|
+
ctx.fillStyle = gradient;
|
|
40
|
+
ctx.fillRect(0, y, width, height);
|
|
41
|
+
return canvas;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
let bgCanvas: HTMLCanvasElement | null;
|
|
45
|
+
|
|
46
|
+
onMounted(() => {
|
|
47
|
+
initChart();
|
|
48
|
+
|
|
49
|
+
updateChart(57);
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
onBeforeUnmount(() => {
|
|
53
|
+
chart?.dispose();
|
|
54
|
+
bgCanvas?.remove();
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
const initChart = () => {
|
|
58
|
+
chart?.dispose();
|
|
59
|
+
chart = echarts.init(boxRef.value!, null, {
|
|
60
|
+
renderer: 'svg',
|
|
61
|
+
});
|
|
62
|
+
};
|
|
63
|
+
const updateChart = (value: number) => {
|
|
64
|
+
// 清除之前的画布,内存回收
|
|
65
|
+
bgCanvas?.remove();
|
|
66
|
+
const limit = 80;
|
|
67
|
+
const radius = (chart.getHeight() / 2) * 0.8;
|
|
68
|
+
// —————————————————————————— 画整个圆环的背景色 ——————————————————————————————————
|
|
69
|
+
bgCanvas = document.createElement('canvas');
|
|
70
|
+
bgCanvas.width = radius * 2;
|
|
71
|
+
bgCanvas.height = radius * 2;
|
|
72
|
+
const ctx = bgCanvas.getContext('2d')!;
|
|
73
|
+
const gradient = ctx.createRadialGradient(
|
|
74
|
+
bgCanvas.width * 0.5,
|
|
75
|
+
bgCanvas.height * 0.5,
|
|
76
|
+
0,
|
|
77
|
+
bgCanvas.width * 0.5,
|
|
78
|
+
bgCanvas.height * 0.5,
|
|
79
|
+
radius
|
|
80
|
+
);
|
|
81
|
+
gradient.addColorStop(
|
|
82
|
+
0,
|
|
83
|
+
value < limit ? 'rgba(180,210,255,0.93)' : '#ffffff'
|
|
84
|
+
);
|
|
85
|
+
gradient.addColorStop(1, value < limit ? 'rgb(231,241,255)' : '#ffeded');
|
|
86
|
+
ctx.fillStyle = gradient;
|
|
87
|
+
|
|
88
|
+
ctx.beginPath();
|
|
89
|
+
ctx.arc(radius, radius, radius, 0, Math.PI * 2);
|
|
90
|
+
ctx.fill();
|
|
91
|
+
|
|
92
|
+
// —————————————————————————————————————————————————————————————————————————————
|
|
93
|
+
const option = {
|
|
94
|
+
title: {
|
|
95
|
+
text: 'CPU使用率',
|
|
96
|
+
left: 'left',
|
|
97
|
+
},
|
|
98
|
+
series: [
|
|
99
|
+
// 水球图
|
|
100
|
+
{
|
|
101
|
+
type: 'liquidFill',
|
|
102
|
+
name: '正常',
|
|
103
|
+
// 这个更像是直径
|
|
104
|
+
radius: radius * 2,
|
|
105
|
+
data: [
|
|
106
|
+
{
|
|
107
|
+
value: value / 100,
|
|
108
|
+
},
|
|
109
|
+
],
|
|
110
|
+
label: {
|
|
111
|
+
formatter: `${value}%`,
|
|
112
|
+
// 字体大小,自己调
|
|
113
|
+
fontSize: 30,
|
|
114
|
+
color: '#555',
|
|
115
|
+
fontWeight: 'bold',
|
|
116
|
+
// 水上部分颜色(可选)
|
|
117
|
+
insideColor: value < limit ? '#d7e7ff' : '#ff4f4f',
|
|
118
|
+
},
|
|
119
|
+
itemStyle: {
|
|
120
|
+
// 水的颜色
|
|
121
|
+
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
122
|
+
{
|
|
123
|
+
offset: 0,
|
|
124
|
+
color: value < limit ? '#8dbaff' : '#ffcdcd',
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
offset: 1,
|
|
128
|
+
color: value < limit ? '#026eff' : '#ff6363',
|
|
129
|
+
},
|
|
130
|
+
]),
|
|
131
|
+
// 水的阴影
|
|
132
|
+
shadowBlur: 1,
|
|
133
|
+
},
|
|
134
|
+
backgroundStyle: {
|
|
135
|
+
color: new echarts.graphic.RadialGradient(
|
|
136
|
+
0.5,
|
|
137
|
+
0.5,
|
|
138
|
+
radius / 100,
|
|
139
|
+
[
|
|
140
|
+
{
|
|
141
|
+
offset: 0,
|
|
142
|
+
color: '#ffffff',
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
offset: 1,
|
|
146
|
+
color: value < limit ? '#d7e7ff' : '#ffe2e2',
|
|
147
|
+
},
|
|
148
|
+
]
|
|
149
|
+
),
|
|
150
|
+
// 阴影
|
|
151
|
+
shadowColor: value < limit ? 'rgb(153,190,246)' : '#ffdbdb',
|
|
152
|
+
shadowBlur: 100,
|
|
153
|
+
shadowOffsetY: 10,
|
|
154
|
+
},
|
|
155
|
+
outline: {
|
|
156
|
+
show: false,
|
|
157
|
+
},
|
|
158
|
+
amplitude: 5, // 振幅
|
|
159
|
+
waveAnimation: true,
|
|
160
|
+
z: 1,
|
|
161
|
+
},
|
|
162
|
+
// 圆环
|
|
163
|
+
{
|
|
164
|
+
type: 'gauge',
|
|
165
|
+
startAngle: 0,
|
|
166
|
+
endAngle: 360,
|
|
167
|
+
radius,
|
|
168
|
+
// 刻度间隔
|
|
169
|
+
pointer: {
|
|
170
|
+
show: false,
|
|
171
|
+
},
|
|
172
|
+
animation: false,
|
|
173
|
+
progress: {
|
|
174
|
+
show: true,
|
|
175
|
+
width: 15,
|
|
176
|
+
itemStyle: {
|
|
177
|
+
// 条纹渐变 → 虚线效果
|
|
178
|
+
color: {
|
|
179
|
+
image: createLinearGradientRect({
|
|
180
|
+
width: radius * 2,
|
|
181
|
+
height: radius * 2,
|
|
182
|
+
bgColor: bgCanvas,
|
|
183
|
+
|
|
184
|
+
// 下半圆环的裁剪位置
|
|
185
|
+
y: radius * 2 * (1 - value / 100),
|
|
186
|
+
|
|
187
|
+
// 下半圆环的颜色
|
|
188
|
+
startColor:
|
|
189
|
+
value < limit
|
|
190
|
+
? 'rgb(255,255,255)'
|
|
191
|
+
: 'rgb(255,214,214)',
|
|
192
|
+
endColor:
|
|
193
|
+
value < limit
|
|
194
|
+
? 'rgb(0,100,255)'
|
|
195
|
+
: 'rgb(255,103,103)',
|
|
196
|
+
}), // HTMLCanvasElement
|
|
197
|
+
repeat: 'no-repeat',
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
axisLine: {
|
|
202
|
+
show: false,
|
|
203
|
+
},
|
|
204
|
+
// 大刻度
|
|
205
|
+
splitLine: {
|
|
206
|
+
show: false,
|
|
207
|
+
},
|
|
208
|
+
// 小刻度
|
|
209
|
+
axisTick: {
|
|
210
|
+
show: false,
|
|
211
|
+
},
|
|
212
|
+
axisLabel: {
|
|
213
|
+
show: false,
|
|
214
|
+
},
|
|
215
|
+
data: [
|
|
216
|
+
{
|
|
217
|
+
value: 100,
|
|
218
|
+
},
|
|
219
|
+
],
|
|
220
|
+
detail: {
|
|
221
|
+
show: false,
|
|
222
|
+
},
|
|
223
|
+
z: 2,
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
};
|
|
227
|
+
chart.setOption(option);
|
|
228
|
+
};
|
|
229
|
+
</script>
|
|
230
|
+
|
|
231
|
+
<template>
|
|
232
|
+
<div ref="boxRef" class="c1"></div>
|
|
233
|
+
</template>
|
|
234
|
+
|
|
235
|
+
<style scoped lang="scss">
|
|
236
|
+
.c1 {
|
|
237
|
+
height: 300px;
|
|
238
|
+
}
|
|
239
|
+
</style>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import PageLayout from '@/components/PageLayout.vue';
|
|
3
|
+
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
4
|
+
</script>
|
|
5
|
+
|
|
6
|
+
<template>
|
|
7
|
+
<PageLayout>
|
|
8
|
+
<DemoBox
|
|
9
|
+
title="如何撤回刚刚的提交?"
|
|
10
|
+
code="git reset --soft HEAD~1"
|
|
11
|
+
:libs="['git']"
|
|
12
|
+
>
|
|
13
|
+
git reset --soft HEAD~1
|
|
14
|
+
</DemoBox>
|
|
15
|
+
<DemoBox
|
|
16
|
+
title="切换远程地址"
|
|
17
|
+
code="git remote set-url origin"
|
|
18
|
+
:libs="['git']"
|
|
19
|
+
>
|
|
20
|
+
git remote set-url origin <新的仓库地址>
|
|
21
|
+
</DemoBox>
|
|
22
|
+
<DemoBox
|
|
23
|
+
title="如何抹去一些提交记录(慎用)"
|
|
24
|
+
:libs="['git']"
|
|
25
|
+
code="git push --force"
|
|
26
|
+
>
|
|
27
|
+
<img src="./img/img.png" alt="" />
|
|
28
|
+
|
|
29
|
+
操作如下
|
|
30
|
+
|
|
31
|
+
<img src="./img/img_1.png" alt="" />
|
|
32
|
+
|
|
33
|
+
此时 IDE
|
|
34
|
+
会提示你拉取远程分支(这是因为此时的本地分支比远程分支少了一些记录),不用理会,然后(只能)强行推送
|
|
35
|
+
<img src="./img/img_2.png" alt="" />
|
|
36
|
+
</DemoBox>
|
|
37
|
+
</PageLayout>
|
|
38
|
+
</template>
|
|
39
|
+
<style scoped lang="scss">
|
|
40
|
+
img {
|
|
41
|
+
max-width: 100%;
|
|
42
|
+
}
|
|
43
|
+
</style>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref, useTemplateRef } from 'vue';
|
|
3
|
+
import { EInput } from 'exploria-ui';
|
|
4
|
+
|
|
5
|
+
const count = ref(10);
|
|
6
|
+
const colorList = [
|
|
7
|
+
'#ca4545',
|
|
8
|
+
'#c85656',
|
|
9
|
+
'#6dbf57',
|
|
10
|
+
'#3dae9c',
|
|
11
|
+
'#9b4aba',
|
|
12
|
+
'#ac954a',
|
|
13
|
+
'#57c393',
|
|
14
|
+
];
|
|
15
|
+
const usingRef = useTemplateRef<HTMLElement>('using');
|
|
16
|
+
const showCount = ref<number>(Infinity);
|
|
17
|
+
const aa = () => {
|
|
18
|
+
const container = usingRef.value!.querySelector('.flex-box') as HTMLElement;
|
|
19
|
+
const a = () => {
|
|
20
|
+
setTimeout(() => {
|
|
21
|
+
if (collapse.value) {
|
|
22
|
+
if (showCount.value === count.value) {
|
|
23
|
+
collapse.value = false;
|
|
24
|
+
showCount.value = Infinity;
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
showCount.value++;
|
|
29
|
+
a();
|
|
30
|
+
} else {
|
|
31
|
+
if (container.clientHeight <= 63 || showCount.value === 1) {
|
|
32
|
+
collapse.value = true;
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
if (showCount.value === Infinity) {
|
|
36
|
+
showCount.value = count.value - 1;
|
|
37
|
+
} else {
|
|
38
|
+
showCount.value--;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
a();
|
|
42
|
+
}
|
|
43
|
+
}, 100);
|
|
44
|
+
};
|
|
45
|
+
a();
|
|
46
|
+
};
|
|
47
|
+
const collapse = ref(false);
|
|
48
|
+
</script>
|
|
49
|
+
|
|
50
|
+
<template>
|
|
51
|
+
<div class="using" ref="using">
|
|
52
|
+
<div class="header" style="margin-bottom: 10px">
|
|
53
|
+
<EInput type="number" v-model="count" />
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<div style="display: flex; flex-wrap: wrap; gap: 20px" class="flex-box">
|
|
57
|
+
<template v-for="num in count" :key="num">
|
|
58
|
+
<Transition name="fade-in">
|
|
59
|
+
<div
|
|
60
|
+
style="padding: 20px"
|
|
61
|
+
:style="{
|
|
62
|
+
backgroundColor:
|
|
63
|
+
colorList[Math.floor(num / colorList.length)],
|
|
64
|
+
}"
|
|
65
|
+
v-if="num <= showCount"
|
|
66
|
+
>
|
|
67
|
+
{{ num }}
|
|
68
|
+
</div>
|
|
69
|
+
</Transition>
|
|
70
|
+
</template>
|
|
71
|
+
|
|
72
|
+
<div
|
|
73
|
+
style="
|
|
74
|
+
margin-left: auto;
|
|
75
|
+
align-self: flex-end;
|
|
76
|
+
background-color: rebeccapurple;
|
|
77
|
+
padding: 5px;
|
|
78
|
+
color: white;
|
|
79
|
+
"
|
|
80
|
+
@click="aa"
|
|
81
|
+
>
|
|
82
|
+
按钮
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
</template>
|
|
87
|
+
|
|
88
|
+
<style scoped lang="scss">
|
|
89
|
+
.using {
|
|
90
|
+
.flex-box {
|
|
91
|
+
overflow: hidden;
|
|
92
|
+
transition: height 1s ease;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.fade-in-enter-active,
|
|
96
|
+
.fade-in-leave-active {
|
|
97
|
+
transition: opacity 0.3s ease;
|
|
98
|
+
}
|
|
99
|
+
.fade-in-enter-from,
|
|
100
|
+
.fade-in-leave-to {
|
|
101
|
+
opacity: 0;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
</style>
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { nextTick, onMounted, ref, useTemplateRef } from 'vue';
|
|
3
|
+
|
|
4
|
+
const count = 20;
|
|
5
|
+
const colorList = [
|
|
6
|
+
'#ca4545',
|
|
7
|
+
'#c85656',
|
|
8
|
+
'#6dbf57',
|
|
9
|
+
'#3dae9c',
|
|
10
|
+
'#9b4aba',
|
|
11
|
+
'#ac954a',
|
|
12
|
+
'#57c393',
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
const padding = 20;
|
|
16
|
+
const collapsedContentHeight = 63;
|
|
17
|
+
const collapsedHeight = collapsedContentHeight + padding * 2;
|
|
18
|
+
|
|
19
|
+
let timer: ReturnType<typeof setTimeout>;
|
|
20
|
+
const duration = 700;
|
|
21
|
+
const usingRef = useTemplateRef<HTMLElement>('using');
|
|
22
|
+
const aa = () => {
|
|
23
|
+
const container = usingRef.value!;
|
|
24
|
+
if (collapse.value) {
|
|
25
|
+
collapse.value = false; // 显示里层按钮
|
|
26
|
+
nextTick(() => {
|
|
27
|
+
container.style.height = 'auto';
|
|
28
|
+
const { height } = container.getBoundingClientRect();
|
|
29
|
+
|
|
30
|
+
const button = container.querySelector('.animation') as HTMLElement;
|
|
31
|
+
button
|
|
32
|
+
.animate(
|
|
33
|
+
[
|
|
34
|
+
{
|
|
35
|
+
transform: `translateY(-${height - collapsedHeight}px)`,
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
transform: `translateY(0)`,
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
{
|
|
42
|
+
duration,
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
.play();
|
|
46
|
+
container.style.height = `${collapsedHeight}px`;
|
|
47
|
+
container.clientHeight;
|
|
48
|
+
container.style.height = `${height}px`;
|
|
49
|
+
loading.value = true;
|
|
50
|
+
clearTimeout(timer);
|
|
51
|
+
timer = setTimeout(() => {
|
|
52
|
+
container.style.height = 'auto';
|
|
53
|
+
loading.value = false;
|
|
54
|
+
clearTimeout(timer);
|
|
55
|
+
}, duration);
|
|
56
|
+
});
|
|
57
|
+
} else {
|
|
58
|
+
container.style.height = `${container.clientHeight}px`;
|
|
59
|
+
container.clientHeight;
|
|
60
|
+
container.style.height = `${collapsedHeight}px`;
|
|
61
|
+
collapse.value = true;
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
const collapse = ref(true);
|
|
65
|
+
const loading = ref(false);
|
|
66
|
+
|
|
67
|
+
onMounted(() => {
|
|
68
|
+
usingRef.value!.style.height = `${collapsedHeight}px`;
|
|
69
|
+
});
|
|
70
|
+
const maxWidth = ref('');
|
|
71
|
+
</script>
|
|
72
|
+
|
|
73
|
+
<template>
|
|
74
|
+
<div
|
|
75
|
+
class="using"
|
|
76
|
+
ref="using"
|
|
77
|
+
style="
|
|
78
|
+
display: flex;
|
|
79
|
+
align-content: flex-start;
|
|
80
|
+
align-items: flex-start;
|
|
81
|
+
"
|
|
82
|
+
v-size-ob="
|
|
83
|
+
(width: number) => {
|
|
84
|
+
maxWidth = width / 5 + 'px';
|
|
85
|
+
}
|
|
86
|
+
"
|
|
87
|
+
:style="{
|
|
88
|
+
padding: `${padding}px`,
|
|
89
|
+
transition: `height ${duration}ms linear`,
|
|
90
|
+
}"
|
|
91
|
+
>
|
|
92
|
+
<div
|
|
93
|
+
class="mark"
|
|
94
|
+
v-if="loading"
|
|
95
|
+
:style="{
|
|
96
|
+
padding: `${padding}px`,
|
|
97
|
+
}"
|
|
98
|
+
>
|
|
99
|
+
<div
|
|
100
|
+
class="animation"
|
|
101
|
+
style="
|
|
102
|
+
margin-left: auto;
|
|
103
|
+
align-self: flex-end;
|
|
104
|
+
background-color: rebeccapurple;
|
|
105
|
+
padding: 5px;
|
|
106
|
+
color: white;
|
|
107
|
+
"
|
|
108
|
+
@click="aa"
|
|
109
|
+
>
|
|
110
|
+
按钮
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
<div
|
|
114
|
+
style="
|
|
115
|
+
display: flex;
|
|
116
|
+
flex-wrap: wrap;
|
|
117
|
+
gap: 20px;
|
|
118
|
+
flex: 1;
|
|
119
|
+
box-sizing: border-box;
|
|
120
|
+
"
|
|
121
|
+
>
|
|
122
|
+
<div
|
|
123
|
+
style="padding: 20px; flex: 1; min-width: 280px"
|
|
124
|
+
:style="{
|
|
125
|
+
backgroundColor:
|
|
126
|
+
colorList[Math.floor(num / colorList.length)],
|
|
127
|
+
maxWidth,
|
|
128
|
+
}"
|
|
129
|
+
v-for="num in count"
|
|
130
|
+
:key="num"
|
|
131
|
+
>
|
|
132
|
+
{{ num }}
|
|
133
|
+
</div>
|
|
134
|
+
|
|
135
|
+
<div
|
|
136
|
+
class="animation"
|
|
137
|
+
style="
|
|
138
|
+
margin-left: auto;
|
|
139
|
+
align-self: flex-end;
|
|
140
|
+
background-color: rebeccapurple;
|
|
141
|
+
padding: 5px;
|
|
142
|
+
color: white;
|
|
143
|
+
"
|
|
144
|
+
:style="{ opacity: loading ? 0 : 1 }"
|
|
145
|
+
@click="aa"
|
|
146
|
+
v-show="!collapse"
|
|
147
|
+
>
|
|
148
|
+
按钮
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
<div
|
|
152
|
+
style="
|
|
153
|
+
margin-left: auto;
|
|
154
|
+
align-self: flex-end;
|
|
155
|
+
background-color: rebeccapurple;
|
|
156
|
+
padding: 5px;
|
|
157
|
+
color: white;
|
|
158
|
+
"
|
|
159
|
+
@click="aa"
|
|
160
|
+
v-if="collapse"
|
|
161
|
+
>
|
|
162
|
+
按钮
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
</template>
|
|
166
|
+
|
|
167
|
+
<style scoped lang="scss">
|
|
168
|
+
.using {
|
|
169
|
+
position: relative;
|
|
170
|
+
overflow: hidden;
|
|
171
|
+
gap: 20px;
|
|
172
|
+
|
|
173
|
+
.mark {
|
|
174
|
+
position: absolute;
|
|
175
|
+
display: flex;
|
|
176
|
+
inset: 0;
|
|
177
|
+
align-items: flex-end;
|
|
178
|
+
cursor: not-allowed;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
</style>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref } from 'vue';
|
|
3
|
+
|
|
4
|
+
const text = ref('123');
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<template>
|
|
8
|
+
<div class="using">
|
|
9
|
+
<div class="header">
|
|
10
|
+
<input type="text" v-model="text" />
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
<div class="flex-box">
|
|
14
|
+
<div class="a">
|
|
15
|
+
我是a
|
|
16
|
+
<br />
|
|
17
|
+
{{ text }}
|
|
18
|
+
</div>
|
|
19
|
+
<div class="b">我是b</div>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<style scoped lang="scss">
|
|
25
|
+
.using {
|
|
26
|
+
overflow: auto;
|
|
27
|
+
|
|
28
|
+
.flex-box {
|
|
29
|
+
height: 400px;
|
|
30
|
+
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #65a596);
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: row;
|
|
33
|
+
|
|
34
|
+
.a {
|
|
35
|
+
flex-grow: 1;
|
|
36
|
+
background-color: rgba(80, 149, 86, 0.56);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// 当 .a 的宽度 大于 .flex-box 的宽度的 1/2 时,.b 的宽度会被压缩
|
|
40
|
+
.b {
|
|
41
|
+
flex-grow: 1;
|
|
42
|
+
background-color: rgba(228, 168, 168, 0.46);
|
|
43
|
+
display: grid;
|
|
44
|
+
place-items: center;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
</style>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
+
import BaseCode from './Base.vue?raw';
|
|
4
|
+
import Base from './Base.vue';
|
|
5
|
+
import GridCode from './Grid.vue?raw';
|
|
6
|
+
import Grid from './Grid.vue';
|
|
7
|
+
import PageLayout from '@/components/PageLayout.vue';
|
|
8
|
+
import Height100 from './Height100.vue';
|
|
9
|
+
import Height100Code from './Height100.vue?raw';
|
|
10
|
+
import Advanced from './Advanced.vue';
|
|
11
|
+
import Advanced2 from './Advanced2.vue';
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<PageLayout>
|
|
16
|
+
<DemoBox title="介绍"> </DemoBox>
|
|
17
|
+
<DemoBox :code="BaseCode" :libs="[]" title="压缩问题">
|
|
18
|
+
<Base />
|
|
19
|
+
</DemoBox>
|
|
20
|
+
|
|
21
|
+
<DemoBox :code="Height100Code" :libs="[]" title="高度为父容器的100">
|
|
22
|
+
<Height100 />
|
|
23
|
+
</DemoBox>
|
|
24
|
+
|
|
25
|
+
<DemoBox
|
|
26
|
+
:code="GridCode"
|
|
27
|
+
:libs="['marked', 'xss']"
|
|
28
|
+
title="API接口流式返回的情况"
|
|
29
|
+
>
|
|
30
|
+
<Grid />
|
|
31
|
+
</DemoBox>
|
|
32
|
+
<DemoBox :code="GridCode" :libs="[]" title="高级">
|
|
33
|
+
<Advanced />
|
|
34
|
+
</DemoBox>
|
|
35
|
+
<DemoBox :code="GridCode" :libs="[]" title="高级2">
|
|
36
|
+
<Advanced2 />
|
|
37
|
+
</DemoBox>
|
|
38
|
+
</PageLayout>
|
|
39
|
+
</template>
|
|
40
|
+
|
|
41
|
+
<style scoped lang="scss">
|
|
42
|
+
.time-picker-demo {
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: row;
|
|
45
|
+
overflow: auto;
|
|
46
|
+
|
|
47
|
+
.left {
|
|
48
|
+
flex: 1;
|
|
49
|
+
overflow: auto;
|
|
50
|
+
padding: 30px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.right {
|
|
54
|
+
width: 260px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
</style>
|