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,85 @@
|
|
|
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
|
+
import APITable from '@/components/APITable.vue';
|
|
7
|
+
</script>
|
|
8
|
+
|
|
9
|
+
<template>
|
|
10
|
+
<PageLayout>
|
|
11
|
+
<DemoBox title="介绍">
|
|
12
|
+
<h2>ETable 表格</h2>
|
|
13
|
+
<p>表格组件用于展示数据列表,支持多种功能和样式定制。</p>
|
|
14
|
+
</DemoBox>
|
|
15
|
+
<DemoBox :code="src" title="基本用法">
|
|
16
|
+
<Using />
|
|
17
|
+
<template #description>
|
|
18
|
+
按钮有五种类型:主按钮、次按钮、虚线按钮、文本按钮和链接按钮。主按钮在同一个操作区域最多出现一次。
|
|
19
|
+
</template>
|
|
20
|
+
</DemoBox>
|
|
21
|
+
<APITable
|
|
22
|
+
:data="[
|
|
23
|
+
{
|
|
24
|
+
subTitle: 'ETable Props',
|
|
25
|
+
list: [
|
|
26
|
+
{
|
|
27
|
+
name: 'data',
|
|
28
|
+
description: '表格数据',
|
|
29
|
+
type: 'object[]',
|
|
30
|
+
defaultValue: '[]',
|
|
31
|
+
required: true,
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
subTitle: 'ETableColumn Props',
|
|
37
|
+
list: [
|
|
38
|
+
{
|
|
39
|
+
name: 'label',
|
|
40
|
+
description: '列标题',
|
|
41
|
+
type: 'string',
|
|
42
|
+
defaultValue: '--',
|
|
43
|
+
required: true,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'prop',
|
|
47
|
+
description: '列数据字段',
|
|
48
|
+
type: 'string',
|
|
49
|
+
defaultValue: '--',
|
|
50
|
+
required: true,
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'align',
|
|
54
|
+
description: '列对齐方式',
|
|
55
|
+
type: 'string',
|
|
56
|
+
defaultValue: 'left',
|
|
57
|
+
required: false,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: 'width',
|
|
61
|
+
description: '列宽度',
|
|
62
|
+
type: 'string',
|
|
63
|
+
defaultValue: '--',
|
|
64
|
+
required: false,
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
},
|
|
68
|
+
]"
|
|
69
|
+
/>
|
|
70
|
+
</PageLayout>
|
|
71
|
+
</template>
|
|
72
|
+
|
|
73
|
+
<style scoped lang="scss">
|
|
74
|
+
@use '@/style/global' as global;
|
|
75
|
+
|
|
76
|
+
.box {
|
|
77
|
+
padding: 15px;
|
|
78
|
+
@include global.useTheme(
|
|
79
|
+
plain,
|
|
80
|
+
(
|
|
81
|
+
padding: 0,
|
|
82
|
+
)
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
</style>
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ETable, ETableColumn } from 'exploria-ui';
|
|
3
|
+
|
|
4
|
+
const data = [
|
|
5
|
+
{
|
|
6
|
+
name: '张三',
|
|
7
|
+
age: 18,
|
|
8
|
+
sex: '男',
|
|
9
|
+
address: '北京市',
|
|
10
|
+
phone: '1234567890',
|
|
11
|
+
email: 'zhangsan@example.com',
|
|
12
|
+
status: '正常',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
name: '李四',
|
|
16
|
+
age: 20,
|
|
17
|
+
sex: '女',
|
|
18
|
+
address: '上海市',
|
|
19
|
+
phone: '0987654321',
|
|
20
|
+
email: 'lisi@example.com',
|
|
21
|
+
status: '禁用',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: '王五',
|
|
25
|
+
age: 22,
|
|
26
|
+
sex: '男',
|
|
27
|
+
address: '广州市',
|
|
28
|
+
phone: '1111111111',
|
|
29
|
+
email: 'wangwu@example.com',
|
|
30
|
+
status: '正常',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: '王五',
|
|
34
|
+
age: 22,
|
|
35
|
+
sex: '男',
|
|
36
|
+
address: '广州市',
|
|
37
|
+
phone: '1111111111',
|
|
38
|
+
email: 'wangwu@example.com',
|
|
39
|
+
status: '正常',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: '王五',
|
|
43
|
+
age: 22,
|
|
44
|
+
sex: '男',
|
|
45
|
+
address: '广州市',
|
|
46
|
+
phone: '1111111111',
|
|
47
|
+
email: 'wangwu@example.com',
|
|
48
|
+
status: '正常',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: '王五',
|
|
52
|
+
age: 22,
|
|
53
|
+
sex: '男',
|
|
54
|
+
address: '广州市',
|
|
55
|
+
phone: '1111111111',
|
|
56
|
+
email: 'wangwu@example.com',
|
|
57
|
+
status: '正常',
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: '王五',
|
|
61
|
+
age: 22,
|
|
62
|
+
sex: '男',
|
|
63
|
+
address: '广州市',
|
|
64
|
+
phone: '1111111111',
|
|
65
|
+
email: 'wangwu@example.com',
|
|
66
|
+
status: '正常',
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: '王五',
|
|
70
|
+
age: 22,
|
|
71
|
+
sex: '男',
|
|
72
|
+
address: '广州市',
|
|
73
|
+
phone: '1111111111',
|
|
74
|
+
email: 'wangwu@example.com',
|
|
75
|
+
status: '正常',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: '王五',
|
|
79
|
+
age: 22,
|
|
80
|
+
sex: '男',
|
|
81
|
+
address: '广州市',
|
|
82
|
+
phone: '1111111111',
|
|
83
|
+
email: 'wangwu@example.com',
|
|
84
|
+
status: '正常',
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: '王五',
|
|
88
|
+
age: 22,
|
|
89
|
+
sex: '男',
|
|
90
|
+
address: '广州市',
|
|
91
|
+
phone: '1111111111',
|
|
92
|
+
email: 'wangwu@example.com',
|
|
93
|
+
status: '正常',
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: '王五',
|
|
97
|
+
age: 22,
|
|
98
|
+
sex: '男',
|
|
99
|
+
address: '广州市',
|
|
100
|
+
phone: '1111111111',
|
|
101
|
+
email: 'wangwu@example.com',
|
|
102
|
+
status: '正常',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: '王五',
|
|
106
|
+
age: 22,
|
|
107
|
+
sex: '男',
|
|
108
|
+
address: '广州市',
|
|
109
|
+
phone: '1111111111',
|
|
110
|
+
email: 'wangwu@example.com',
|
|
111
|
+
status: '正常',
|
|
112
|
+
},
|
|
113
|
+
];
|
|
114
|
+
</script>
|
|
115
|
+
|
|
116
|
+
<template>
|
|
117
|
+
<ETable :data="data">
|
|
118
|
+
<ETableColumn label="name" prop="name" draggable />
|
|
119
|
+
<ETableColumn label="age" prop="age" draggable />
|
|
120
|
+
<ETableColumn label="sex" prop="sex" draggable />
|
|
121
|
+
<ETableColumn label="address" prop="address" draggable />
|
|
122
|
+
<ETableColumn label="phone" prop="phone" />
|
|
123
|
+
<ETableColumn label="email" prop="email" />
|
|
124
|
+
<ETableColumn label="status" prop="status" />
|
|
125
|
+
</ETable>
|
|
126
|
+
</template>
|
|
127
|
+
<style lang="scss" scoped>
|
|
128
|
+
.one-table {
|
|
129
|
+
height: 200px;
|
|
130
|
+
}
|
|
131
|
+
</style>
|
|
@@ -0,0 +1,90 @@
|
|
|
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
|
+
import APITable from '@/components/APITable.vue';
|
|
7
|
+
|
|
8
|
+
const apiData = [
|
|
9
|
+
{
|
|
10
|
+
subTitle: 'ETimeline Props',
|
|
11
|
+
list: [],
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
subTitle: 'ETimeline Slots',
|
|
15
|
+
list: [
|
|
16
|
+
{
|
|
17
|
+
name: 'default',
|
|
18
|
+
description: '时间线内容,用于放置 ETimelineItem 组件',
|
|
19
|
+
type: 'slot',
|
|
20
|
+
required: true,
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
subTitle: 'ETimelineItem Props',
|
|
26
|
+
list: [
|
|
27
|
+
{
|
|
28
|
+
name: 'timestamp',
|
|
29
|
+
description: '时间戳,用于唯一标识时间线项',
|
|
30
|
+
type: 'string',
|
|
31
|
+
required: true,
|
|
32
|
+
defaultValue: '',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
subTitle: 'ETimelineItem Slots',
|
|
38
|
+
list: [
|
|
39
|
+
{
|
|
40
|
+
name: 'default',
|
|
41
|
+
description: '时间线项的内容',
|
|
42
|
+
type: 'slot',
|
|
43
|
+
required: false,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'icon',
|
|
47
|
+
description: '自定义时间线点的图标',
|
|
48
|
+
type: 'slot',
|
|
49
|
+
required: false,
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
];
|
|
54
|
+
</script>
|
|
55
|
+
|
|
56
|
+
<template>
|
|
57
|
+
<PageLayout>
|
|
58
|
+
<DemoBox title="介绍">
|
|
59
|
+
<h2>ETimeline 时间线</h2>
|
|
60
|
+
<p>
|
|
61
|
+
时间线组件,用于展示一系列按时间顺序排列的事件或状态变化,支持自定义节点图标和样式。
|
|
62
|
+
</p>
|
|
63
|
+
</DemoBox>
|
|
64
|
+
<DemoBox :code="src" title="基本用法">
|
|
65
|
+
<Using />
|
|
66
|
+
<template #description>
|
|
67
|
+
基本的时间线组件用法,展示事件按时间顺序排列的效果。
|
|
68
|
+
</template>
|
|
69
|
+
</DemoBox>
|
|
70
|
+
<APITable :data="apiData" />
|
|
71
|
+
</PageLayout>
|
|
72
|
+
</template>
|
|
73
|
+
|
|
74
|
+
<style scoped lang="scss">
|
|
75
|
+
.time-picker-demo {
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-direction: row;
|
|
78
|
+
overflow: auto;
|
|
79
|
+
|
|
80
|
+
.left {
|
|
81
|
+
flex: 1;
|
|
82
|
+
overflow: auto;
|
|
83
|
+
padding: 30px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.right {
|
|
87
|
+
width: 260px;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
</style>
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ETimeline, ETimelineItem } from 'exploria-ui';
|
|
3
|
+
import { ref } from 'vue';
|
|
4
|
+
|
|
5
|
+
const showDetail = ref(false);
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<div>
|
|
10
|
+
<button style="margin-bottom: 10px" @click="showDetail = !showDetail">
|
|
11
|
+
{{ showDetail ? '隐藏' : '显示' }}详情
|
|
12
|
+
</button>
|
|
13
|
+
<ETimeline>
|
|
14
|
+
<ETimelineItem timestamp="1995">
|
|
15
|
+
<h3>ECMAScript 1</h3>
|
|
16
|
+
<p v-if="showDetail">
|
|
17
|
+
JavaScript 诞生,ECMAScript 1 标准发布,奠定了 JS
|
|
18
|
+
的基础语法。
|
|
19
|
+
</p>
|
|
20
|
+
</ETimelineItem>
|
|
21
|
+
<ETimelineItem timestamp="1998">
|
|
22
|
+
<h3>ECMAScript 3</h3>
|
|
23
|
+
<p v-if="showDetail">
|
|
24
|
+
引入了正则表达式、错误处理机制等,成为广泛应用的版本。
|
|
25
|
+
</p>
|
|
26
|
+
</ETimelineItem>
|
|
27
|
+
<ETimelineItem timestamp="2009">
|
|
28
|
+
<h3>ECMAScript 5</h3>
|
|
29
|
+
<p v-if="showDetail">
|
|
30
|
+
引入了严格模式、JSON 支持、数组和对象的新方法等。
|
|
31
|
+
</p>
|
|
32
|
+
</ETimelineItem>
|
|
33
|
+
<ETimelineItem timestamp="2015">
|
|
34
|
+
<h3>ECMAScript 2015(ES6)</h3>
|
|
35
|
+
<p v-if="showDetail">
|
|
36
|
+
重大更新:<br />
|
|
37
|
+
- 箭头函数、let 和 const 声明<br />
|
|
38
|
+
- 类和模块语法<br />
|
|
39
|
+
- 模板字符串、解构赋值<br />
|
|
40
|
+
- 新的数据结构(如 Map 和 Set)<br />
|
|
41
|
+
- 函数默认参数和剩余参数
|
|
42
|
+
</p>
|
|
43
|
+
</ETimelineItem>
|
|
44
|
+
<ETimelineItem timestamp="2016">
|
|
45
|
+
<h3>ECMAScript 2016(ES7)</h3>
|
|
46
|
+
<p v-if="showDetail">
|
|
47
|
+
新特性:<br />
|
|
48
|
+
- Array.prototype.includes 方法<br />
|
|
49
|
+
- 指数运算符(**)
|
|
50
|
+
</p>
|
|
51
|
+
</ETimelineItem>
|
|
52
|
+
<ETimelineItem timestamp="2017">
|
|
53
|
+
<h3>ECMAScript 2017(ES8)</h3>
|
|
54
|
+
<p v-if="showDetail">
|
|
55
|
+
新特性:<br />
|
|
56
|
+
- 异步函数(async/await)<br />
|
|
57
|
+
- Object.values/Object.entries 方法<br />
|
|
58
|
+
- 字符串填充方法(padStart/padEnd)
|
|
59
|
+
</p>
|
|
60
|
+
</ETimelineItem>
|
|
61
|
+
<ETimelineItem timestamp="2018">
|
|
62
|
+
<h3>ECMAScript 2018(ES9)</h3>
|
|
63
|
+
<p v-if="showDetail">
|
|
64
|
+
新特性:<br />
|
|
65
|
+
- REST/SPREAD 属性<br />
|
|
66
|
+
- 异步迭代器和生成器<br />
|
|
67
|
+
- 正则表达式改进
|
|
68
|
+
</p>
|
|
69
|
+
</ETimelineItem>
|
|
70
|
+
<ETimelineItem timestamp="2019">
|
|
71
|
+
<h3>ECMAScript 2019(ES10)</h3>
|
|
72
|
+
<p v-if="showDetail">
|
|
73
|
+
新特性:<br />
|
|
74
|
+
- Array.prototype.flat 和 flatMap 方法<br />
|
|
75
|
+
- Object.fromEntries 方法<br />
|
|
76
|
+
- String.trimStart/trimEnd 方法
|
|
77
|
+
</p>
|
|
78
|
+
</ETimelineItem>
|
|
79
|
+
<ETimelineItem timestamp="2020">
|
|
80
|
+
<h3>ECMAScript 2020(ES11)</h3>
|
|
81
|
+
<p v-if="showDetail">
|
|
82
|
+
新特性:<br />
|
|
83
|
+
- Promise.allSettled 方法<br />
|
|
84
|
+
- 全局对象的 BigInt 类型<br />
|
|
85
|
+
- 动态导入(import())
|
|
86
|
+
</p>
|
|
87
|
+
</ETimelineItem>
|
|
88
|
+
<ETimelineItem timestamp="2021">
|
|
89
|
+
<h3>ECMAScript 2021(ES12)</h3>
|
|
90
|
+
<p v-if="showDetail">
|
|
91
|
+
新特性:<br />
|
|
92
|
+
- Promise.any 方法<br />
|
|
93
|
+
- Logical Nullish Assignment(逻辑空值赋值)
|
|
94
|
+
</p>
|
|
95
|
+
</ETimelineItem>
|
|
96
|
+
<ETimelineItem timestamp="2022">
|
|
97
|
+
<h3>ECMAScript 2022(ES13)</h3>
|
|
98
|
+
<p v-if="showDetail">
|
|
99
|
+
新特性:<br />
|
|
100
|
+
- 类的私有字段和方法<br />
|
|
101
|
+
- import.meta 对象<br />
|
|
102
|
+
- top-level await
|
|
103
|
+
</p>
|
|
104
|
+
</ETimelineItem>
|
|
105
|
+
<ETimelineItem timestamp="2023">
|
|
106
|
+
<h3>ECMAScript 2023(ES14)</h3>
|
|
107
|
+
<p v-if="showDetail">
|
|
108
|
+
新特性:<br />
|
|
109
|
+
- Array.findLast 和 Array.findLastIndex 方法<br />
|
|
110
|
+
ECMAScript 仍在不断发展,每年都有新的特性被引入。
|
|
111
|
+
</p>
|
|
112
|
+
</ETimelineItem>
|
|
113
|
+
<ETimelineItem timestamp="2024">
|
|
114
|
+
<h3>ECMAScript 2024(ES15)</h3>
|
|
115
|
+
<p v-if="showDetail">
|
|
116
|
+
新特性:<br />
|
|
117
|
+
- 类的静态字段和方法<br />
|
|
118
|
+
- 数组的 at 方法<br />
|
|
119
|
+
- 正则表达式的 /v 标志
|
|
120
|
+
</p>
|
|
121
|
+
</ETimelineItem>
|
|
122
|
+
</ETimeline>
|
|
123
|
+
</div>
|
|
124
|
+
</template>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EButton, EDialog } from 'exploria-ui';
|
|
3
|
+
import { ref } from 'vue';
|
|
4
|
+
|
|
5
|
+
const open = ref(false);
|
|
6
|
+
const isWaitingOpen = ref(false);
|
|
7
|
+
|
|
8
|
+
const openModal = () => {
|
|
9
|
+
isWaitingOpen.value = true;
|
|
10
|
+
setTimeout(() => {
|
|
11
|
+
open.value = true;
|
|
12
|
+
isWaitingOpen.value = false;
|
|
13
|
+
}, 2000);
|
|
14
|
+
};
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<div class="async-using">
|
|
19
|
+
<EDialog
|
|
20
|
+
v-model:open="open"
|
|
21
|
+
title="这是 Modal 的标题"
|
|
22
|
+
:is-waiting-open="isWaitingOpen"
|
|
23
|
+
>
|
|
24
|
+
<div>内容</div>
|
|
25
|
+
</EDialog>
|
|
26
|
+
<EButton @click="openModal" :loading="isWaitingOpen"> 显示 </EButton>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<style scoped lang="scss"></style>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EDialog, EButton } from 'exploria-ui';
|
|
3
|
+
import { ref } from 'vue';
|
|
4
|
+
|
|
5
|
+
const open = ref(false);
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<div class="using">
|
|
10
|
+
<EDialog v-model:open="open" title="这是 Modal 的标题">
|
|
11
|
+
<div>内容</div>
|
|
12
|
+
</EDialog>
|
|
13
|
+
<EButton type="primary" @click="open = true">显示</EButton>
|
|
14
|
+
</div>
|
|
15
|
+
</template>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
+
import baseUsingSrc from './BaseUsing.vue?raw';
|
|
4
|
+
import AsyncUsingSrc from './AsyncUsing.vue?raw';
|
|
5
|
+
import BaseUsing from './BaseUsing.vue';
|
|
6
|
+
import AsyncUsing from './AsyncUsing.vue';
|
|
7
|
+
import PageLayout from '@/components/PageLayout.vue';
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<PageLayout>
|
|
12
|
+
<DemoBox title="介绍"> </DemoBox>
|
|
13
|
+
<DemoBox :code="baseUsingSrc" title="基本用法">
|
|
14
|
+
<BaseUsing />
|
|
15
|
+
<template #description>
|
|
16
|
+
对话框有多种类型,可用于展示信息、收集用户输入或进行操作确认。
|
|
17
|
+
</template>
|
|
18
|
+
</DemoBox>
|
|
19
|
+
<DemoBox :code="AsyncUsingSrc" title="在异步事件中的对话框">
|
|
20
|
+
<AsyncUsing />
|
|
21
|
+
<template #description>
|
|
22
|
+
在异步事件中使用对话框,例如在提交表单前进行确认。
|
|
23
|
+
</template>
|
|
24
|
+
</DemoBox>
|
|
25
|
+
</PageLayout>
|
|
26
|
+
</template>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref } from 'vue';
|
|
3
|
+
import { EButton, EDrawer } from 'exploria-ui';
|
|
4
|
+
|
|
5
|
+
const openDrawer = ref(false);
|
|
6
|
+
|
|
7
|
+
const handleOk = () => {
|
|
8
|
+
console.log('点击了确定按钮');
|
|
9
|
+
openDrawer.value = false;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const handleCancel = () => {
|
|
13
|
+
console.log('点击了取消按钮');
|
|
14
|
+
openDrawer.value = false;
|
|
15
|
+
};
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<div>
|
|
20
|
+
<EButton @click="openDrawer = true">打开抽屉</EButton>
|
|
21
|
+
<EDrawer
|
|
22
|
+
v-model:open="openDrawer"
|
|
23
|
+
title="抽屉标题"
|
|
24
|
+
@ok="handleOk"
|
|
25
|
+
@cancel="handleCancel"
|
|
26
|
+
>
|
|
27
|
+
<div style="padding: 20px 0">
|
|
28
|
+
<div>这里是抽屉的内容区域</div>
|
|
29
|
+
<div style="margin-top: 10px">可以放置任何组件或内容</div>
|
|
30
|
+
<div style="margin-top: 10px">支持滚动条</div>
|
|
31
|
+
<div style="margin-top: 10px">底部有操作按钮</div>
|
|
32
|
+
</div>
|
|
33
|
+
</EDrawer>
|
|
34
|
+
</div>
|
|
35
|
+
</template>
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { ref } from 'vue';
|
|
3
|
+
import { EButton, EDrawer } from 'exploria-ui';
|
|
4
|
+
|
|
5
|
+
const openLeftDrawer = ref(false);
|
|
6
|
+
const openRightDrawer = ref(false);
|
|
7
|
+
const openTopDrawer = ref(false);
|
|
8
|
+
const openBottomDrawer = ref(false);
|
|
9
|
+
|
|
10
|
+
const handleClose = () => {
|
|
11
|
+
openLeftDrawer.value = false;
|
|
12
|
+
openRightDrawer.value = false;
|
|
13
|
+
openTopDrawer.value = false;
|
|
14
|
+
openBottomDrawer.value = false;
|
|
15
|
+
};
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<div style="display: flex; gap: 10px; flex-wrap: wrap">
|
|
20
|
+
<EButton @click="openLeftDrawer = true">左侧抽屉</EButton>
|
|
21
|
+
<EButton @click="openRightDrawer = true">右侧抽屉</EButton>
|
|
22
|
+
<EButton @click="openTopDrawer = true">顶部抽屉</EButton>
|
|
23
|
+
<EButton @click="openBottomDrawer = true">底部抽屉</EButton>
|
|
24
|
+
|
|
25
|
+
<!-- 左侧抽屉 -->
|
|
26
|
+
<EDrawer
|
|
27
|
+
v-model:open="openLeftDrawer"
|
|
28
|
+
title="左侧抽屉"
|
|
29
|
+
direction="left"
|
|
30
|
+
width="300px"
|
|
31
|
+
@close="handleClose"
|
|
32
|
+
@cancel="handleClose"
|
|
33
|
+
>
|
|
34
|
+
<div style="padding: 20px 0">
|
|
35
|
+
<div>这是从左侧弹出的抽屉</div>
|
|
36
|
+
<div style="margin-top: 10px">
|
|
37
|
+
可以通过 direction 属性控制弹出方向
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</EDrawer>
|
|
41
|
+
|
|
42
|
+
<!-- 右侧抽屉 -->
|
|
43
|
+
<EDrawer
|
|
44
|
+
v-model:open="openRightDrawer"
|
|
45
|
+
title="右侧抽屉"
|
|
46
|
+
direction="right"
|
|
47
|
+
width="300px"
|
|
48
|
+
@close="handleClose"
|
|
49
|
+
@cancel="handleClose"
|
|
50
|
+
>
|
|
51
|
+
<div style="padding: 20px 0">
|
|
52
|
+
<div>这是从右侧弹出的抽屉</div>
|
|
53
|
+
<div style="margin-top: 10px">
|
|
54
|
+
可以通过 direction 属性控制弹出方向
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
</EDrawer>
|
|
58
|
+
|
|
59
|
+
<!-- 顶部抽屉 -->
|
|
60
|
+
<EDrawer
|
|
61
|
+
v-model:open="openTopDrawer"
|
|
62
|
+
title="顶部抽屉"
|
|
63
|
+
direction="top"
|
|
64
|
+
height="200px"
|
|
65
|
+
@close="handleClose"
|
|
66
|
+
@cancel="handleClose"
|
|
67
|
+
>
|
|
68
|
+
<div style="padding: 20px 0">
|
|
69
|
+
<div>这是从顶部弹出的抽屉</div>
|
|
70
|
+
<div style="margin-top: 10px">
|
|
71
|
+
可以通过 direction 属性控制弹出方向
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</EDrawer>
|
|
75
|
+
|
|
76
|
+
<!-- 底部抽屉 -->
|
|
77
|
+
<EDrawer
|
|
78
|
+
v-model:open="openBottomDrawer"
|
|
79
|
+
title="底部抽屉"
|
|
80
|
+
direction="bottom"
|
|
81
|
+
height="200px"
|
|
82
|
+
@close="handleClose"
|
|
83
|
+
@cancel="handleClose"
|
|
84
|
+
>
|
|
85
|
+
<div style="padding: 20px 0">
|
|
86
|
+
<div>这是从底部弹出的抽屉</div>
|
|
87
|
+
<div style="margin-top: 10px">
|
|
88
|
+
可以通过 direction 属性控制弹出方向
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
</EDrawer>
|
|
92
|
+
</div>
|
|
93
|
+
</template>
|