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,71 @@
|
|
|
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
|
+
// API表格数据
|
|
9
|
+
const apiData = [
|
|
10
|
+
{
|
|
11
|
+
subTitle: 'EImage Props',
|
|
12
|
+
list: [
|
|
13
|
+
{
|
|
14
|
+
name: 'src',
|
|
15
|
+
description: '图片地址',
|
|
16
|
+
type: 'string',
|
|
17
|
+
required: true,
|
|
18
|
+
defaultValue: '-',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: 'previewable',
|
|
22
|
+
description: '是否可预览',
|
|
23
|
+
type: 'boolean',
|
|
24
|
+
required: false,
|
|
25
|
+
defaultValue: 'true',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: 'tip',
|
|
29
|
+
description: '预览提示文字',
|
|
30
|
+
type: 'string',
|
|
31
|
+
required: false,
|
|
32
|
+
defaultValue: '预览',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
},
|
|
36
|
+
];
|
|
37
|
+
</script>
|
|
38
|
+
|
|
39
|
+
<template>
|
|
40
|
+
<PageLayout>
|
|
41
|
+
<DemoBox title="介绍">
|
|
42
|
+
<h2>EImage 图片</h2>
|
|
43
|
+
<p>图片组件用于展示图片。</p>
|
|
44
|
+
</DemoBox>
|
|
45
|
+
<DemoBox :code="src" title="基本用法">
|
|
46
|
+
<Using />
|
|
47
|
+
<template #description>
|
|
48
|
+
图片组件用于展示图片,支持点击预览功能。
|
|
49
|
+
</template>
|
|
50
|
+
</DemoBox>
|
|
51
|
+
<APITable :data="apiData" />
|
|
52
|
+
</PageLayout>
|
|
53
|
+
</template>
|
|
54
|
+
|
|
55
|
+
<style scoped lang="scss">
|
|
56
|
+
.e-image-demo {
|
|
57
|
+
display: flex;
|
|
58
|
+
flex-direction: row;
|
|
59
|
+
overflow: auto;
|
|
60
|
+
|
|
61
|
+
.left {
|
|
62
|
+
flex: 1;
|
|
63
|
+
overflow: auto;
|
|
64
|
+
padding: 30px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.right {
|
|
68
|
+
width: 260px;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
</style>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EImage } from 'exploria-ui';
|
|
3
|
+
|
|
4
|
+
const src = new URL('./img.png', import.meta.url).pathname;
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<template>
|
|
8
|
+
<div class="using">
|
|
9
|
+
<EImage :src="src" previewable />
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<style lang="scss" scoped>
|
|
14
|
+
.using {
|
|
15
|
+
.e-image {
|
|
16
|
+
display: block;
|
|
17
|
+
height: 100px;
|
|
18
|
+
width: 100px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
</style>
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<EList
|
|
3
|
+
:data="[
|
|
4
|
+
{ id: 1, name: '列表项1' },
|
|
5
|
+
{ id: 2, name: '列表项2' },
|
|
6
|
+
{ id: 3, name: '列表项3' },
|
|
7
|
+
{ id: 4, name: '列表项4' },
|
|
8
|
+
{ id: 5, name: '列表项5' },
|
|
9
|
+
]"
|
|
10
|
+
v-slot="{ row }"
|
|
11
|
+
>
|
|
12
|
+
{{ row.name }}
|
|
13
|
+
</EList>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<script setup lang="ts">
|
|
17
|
+
import { EList } from 'exploria-ui';
|
|
18
|
+
</script>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EList, EMessage } from 'exploria-ui';
|
|
3
|
+
</script>
|
|
4
|
+
<template>
|
|
5
|
+
<EList
|
|
6
|
+
:data="[
|
|
7
|
+
{ id: 1, name: '列表项1' },
|
|
8
|
+
{ id: 2, name: '列表项2' },
|
|
9
|
+
{ id: 3, name: '列表项3' },
|
|
10
|
+
{ id: 4, name: '列表项4' },
|
|
11
|
+
{ id: 5, name: '列表项5' },
|
|
12
|
+
]"
|
|
13
|
+
selectable
|
|
14
|
+
@update:selectedList="
|
|
15
|
+
(selectedList) =>
|
|
16
|
+
EMessage.success(`选中了 ${selectedList.join(', ')}`)
|
|
17
|
+
"
|
|
18
|
+
v-slot="{ row }"
|
|
19
|
+
>
|
|
20
|
+
{{ row.name }}
|
|
21
|
+
</EList>
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EList } from 'exploria-ui';
|
|
3
|
+
</script>
|
|
4
|
+
<template>
|
|
5
|
+
<EList :data="[]" border>
|
|
6
|
+
<template #empty>
|
|
7
|
+
<div
|
|
8
|
+
style="
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: center;
|
|
12
|
+
color: #999;
|
|
13
|
+
"
|
|
14
|
+
>
|
|
15
|
+
<svg
|
|
16
|
+
width="60"
|
|
17
|
+
height="60"
|
|
18
|
+
viewBox="0 0 1024 1024"
|
|
19
|
+
style="margin-bottom: 10px"
|
|
20
|
+
>
|
|
21
|
+
<path
|
|
22
|
+
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"
|
|
23
|
+
fill="currentColor"
|
|
24
|
+
/>
|
|
25
|
+
<path
|
|
26
|
+
d="M464 416h112c4.4 0 8-3.6 8-8V352c0-4.4-3.6-8-8-8H464c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 160h112c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H464c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"
|
|
27
|
+
fill="currentColor"
|
|
28
|
+
/>
|
|
29
|
+
<path
|
|
30
|
+
d="M512 536c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z"
|
|
31
|
+
fill="currentColor"
|
|
32
|
+
/>
|
|
33
|
+
</svg>
|
|
34
|
+
<div>暂无数据</div>
|
|
35
|
+
</div>
|
|
36
|
+
</template>
|
|
37
|
+
</EList>
|
|
38
|
+
</template>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<EList
|
|
3
|
+
:data="[
|
|
4
|
+
{
|
|
5
|
+
id: 1,
|
|
6
|
+
name: '张三',
|
|
7
|
+
email: 'zhangsan@example.com',
|
|
8
|
+
role: '管理员',
|
|
9
|
+
avatar: 'https://via.placeholder.com/40',
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
id: 2,
|
|
13
|
+
name: '李四',
|
|
14
|
+
email: 'lisi@example.com',
|
|
15
|
+
role: '编辑',
|
|
16
|
+
avatar: 'https://via.placeholder.com/40',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
id: 3,
|
|
20
|
+
name: '王五',
|
|
21
|
+
email: 'wangwu@example.com',
|
|
22
|
+
role: '访客',
|
|
23
|
+
avatar: 'https://via.placeholder.com/40',
|
|
24
|
+
},
|
|
25
|
+
]"
|
|
26
|
+
border
|
|
27
|
+
show-divider
|
|
28
|
+
>
|
|
29
|
+
<template #default="{ row }">
|
|
30
|
+
<div style="display: flex; align-items: center; width: 100%">
|
|
31
|
+
<img
|
|
32
|
+
:src="row.avatar"
|
|
33
|
+
alt="avatar"
|
|
34
|
+
style="
|
|
35
|
+
width: 40px;
|
|
36
|
+
height: 40px;
|
|
37
|
+
border-radius: 50%;
|
|
38
|
+
margin-right: 15px;
|
|
39
|
+
"
|
|
40
|
+
/>
|
|
41
|
+
<div style="flex: 1">
|
|
42
|
+
<div style="font-weight: bold">{{ row.name }}</div>
|
|
43
|
+
<div style="font-size: 12px; color: #666">
|
|
44
|
+
{{ row.email }}
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
<span style="color: #1890ff">{{ row.role }}</span>
|
|
48
|
+
</div>
|
|
49
|
+
</template>
|
|
50
|
+
</EList>
|
|
51
|
+
</template>
|
|
52
|
+
|
|
53
|
+
<script setup lang="ts">
|
|
54
|
+
import { EList } from 'exploria-ui';
|
|
55
|
+
</script>
|
|
56
|
+
|
|
57
|
+
<style scoped lang="scss">
|
|
58
|
+
h3 {
|
|
59
|
+
margin: 0 0 15px 0;
|
|
60
|
+
font-size: 16px;
|
|
61
|
+
font-weight: bold;
|
|
62
|
+
color: var(--e-text-color-primary);
|
|
63
|
+
}
|
|
64
|
+
</style>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<EList
|
|
3
|
+
:data="[
|
|
4
|
+
{ id: 1, name: '列表项1' },
|
|
5
|
+
{ id: 2, name: '列表项2' },
|
|
6
|
+
{ id: 3, name: '列表项3' },
|
|
7
|
+
{ id: 4, name: '列表项4' },
|
|
8
|
+
{ id: 5, name: '列表项5' },
|
|
9
|
+
]"
|
|
10
|
+
show-divider
|
|
11
|
+
>
|
|
12
|
+
<template #default="{ row }">
|
|
13
|
+
{{ row.name }}
|
|
14
|
+
</template>
|
|
15
|
+
</EList>
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script setup lang="ts">
|
|
19
|
+
import { EList } from 'exploria-ui';
|
|
20
|
+
</script>
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
+
import PageLayout from '@/components/PageLayout.vue';
|
|
4
|
+
import APITable from '@/components/APITable.vue';
|
|
5
|
+
|
|
6
|
+
// 导入独立示例组件和源代码
|
|
7
|
+
import basicUsageSrc from './BasicUsage.vue?raw';
|
|
8
|
+
import BasicUsage from './BasicUsage.vue';
|
|
9
|
+
import dividerUsageSrc from './DividerUsage.vue?raw';
|
|
10
|
+
import DividerUsage from './DividerUsage.vue';
|
|
11
|
+
import sizeUsageSrc from './SizeUsage.vue?raw';
|
|
12
|
+
import SizeUsage from './SizeUsage.vue';
|
|
13
|
+
import singleSelectUsageSrc from './SingleSelectUsage.vue?raw';
|
|
14
|
+
import SingleSelectUsage from './SingleSelectUsage.vue';
|
|
15
|
+
import multipleSelectUsageSrc from './MultipleSelectUsage.vue?raw';
|
|
16
|
+
import MultipleSelectUsage from './MultipleSelectUsage.vue';
|
|
17
|
+
import customCheckboxUsageSrc from './CustomCheckboxUsage.vue?raw';
|
|
18
|
+
import CustomCheckboxUsage from './CustomCheckboxUsage.vue';
|
|
19
|
+
import customRowUsageSrc from './CustomRowUsage.vue?raw';
|
|
20
|
+
import CustomRowUsage from './CustomRowUsage.vue';
|
|
21
|
+
import emptyDataUsageSrc from './EmptyDataUsage.vue?raw';
|
|
22
|
+
import EmptyDataUsage from './EmptyDataUsage.vue';
|
|
23
|
+
import customEmptyDataUsageSrc from './CustomEmptyDataUsage.vue?raw';
|
|
24
|
+
import CustomEmptyDataUsage from './CustomEmptyDataUsage.vue';
|
|
25
|
+
import eventUsageSrc from './EventUsage.vue?raw';
|
|
26
|
+
import EventUsage from './EventUsage.vue';
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<template>
|
|
30
|
+
<PageLayout>
|
|
31
|
+
<DemoBox title="介绍">
|
|
32
|
+
<h2>EList 列表</h2>
|
|
33
|
+
<p>列表组件用于展示数据列表,支持多种功能和样式定制。</p>
|
|
34
|
+
</DemoBox>
|
|
35
|
+
<DemoBox :code="basicUsageSrc" title="基本用法">
|
|
36
|
+
<BasicUsage />
|
|
37
|
+
<template #description>
|
|
38
|
+
最基础的列表展示,仅显示数据内容。
|
|
39
|
+
</template>
|
|
40
|
+
</DemoBox>
|
|
41
|
+
|
|
42
|
+
<DemoBox :code="dividerUsageSrc" title="显示分割线">
|
|
43
|
+
<DividerUsage />
|
|
44
|
+
<template #description>
|
|
45
|
+
列表项之间显示分割线,便于区分不同项。
|
|
46
|
+
</template>
|
|
47
|
+
</DemoBox>
|
|
48
|
+
|
|
49
|
+
<DemoBox :code="sizeUsageSrc" title="不同尺寸">
|
|
50
|
+
<SizeUsage />
|
|
51
|
+
<template #description>
|
|
52
|
+
支持大、中、小三种尺寸,适应不同场景需求。
|
|
53
|
+
</template>
|
|
54
|
+
</DemoBox>
|
|
55
|
+
|
|
56
|
+
<DemoBox :code="singleSelectUsageSrc" title="单选模式">
|
|
57
|
+
<SingleSelectUsage />
|
|
58
|
+
<template #description>
|
|
59
|
+
支持单选功能,可通过点击选择列表项。
|
|
60
|
+
</template>
|
|
61
|
+
</DemoBox>
|
|
62
|
+
|
|
63
|
+
<DemoBox :code="multipleSelectUsageSrc" title="多选模式">
|
|
64
|
+
<MultipleSelectUsage />
|
|
65
|
+
<template #description>
|
|
66
|
+
支持多选功能,可通过点击选择多个列表项。
|
|
67
|
+
</template>
|
|
68
|
+
</DemoBox>
|
|
69
|
+
|
|
70
|
+
<DemoBox :code="customCheckboxUsageSrc" title="自定义复选框">
|
|
71
|
+
<CustomCheckboxUsage />
|
|
72
|
+
<template #description>
|
|
73
|
+
支持自定义复选框样式,满足个性化需求。
|
|
74
|
+
</template>
|
|
75
|
+
</DemoBox>
|
|
76
|
+
|
|
77
|
+
<DemoBox :code="customRowUsageSrc" title="自定义行内容">
|
|
78
|
+
<CustomRowUsage />
|
|
79
|
+
<template #description>
|
|
80
|
+
支持自定义行内容,可展示复杂的数据结构。
|
|
81
|
+
</template>
|
|
82
|
+
</DemoBox>
|
|
83
|
+
|
|
84
|
+
<DemoBox :code="emptyDataUsageSrc" title="空数据状态">
|
|
85
|
+
<EmptyDataUsage />
|
|
86
|
+
<template #description>
|
|
87
|
+
当列表数据为空时,显示默认的空状态提示。
|
|
88
|
+
</template>
|
|
89
|
+
</DemoBox>
|
|
90
|
+
|
|
91
|
+
<DemoBox :code="customEmptyDataUsageSrc" title="自定义空数据状态">
|
|
92
|
+
<CustomEmptyDataUsage />
|
|
93
|
+
<template #description>
|
|
94
|
+
支持自定义空数据状态,可展示个性化的空状态提示。
|
|
95
|
+
</template>
|
|
96
|
+
</DemoBox>
|
|
97
|
+
|
|
98
|
+
<DemoBox :code="eventUsageSrc" title="事件监听">
|
|
99
|
+
<EventUsage />
|
|
100
|
+
<template #description>
|
|
101
|
+
支持行点击事件,可响应用户的交互操作。
|
|
102
|
+
</template>
|
|
103
|
+
</DemoBox>
|
|
104
|
+
|
|
105
|
+
<APITable
|
|
106
|
+
:data="[
|
|
107
|
+
{
|
|
108
|
+
subTitle: 'EList Props',
|
|
109
|
+
list: [
|
|
110
|
+
{
|
|
111
|
+
name: 'data',
|
|
112
|
+
description: '列表数据',
|
|
113
|
+
type: 'T[]',
|
|
114
|
+
defaultValue: '[]',
|
|
115
|
+
required: true,
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: 'size',
|
|
119
|
+
description: '列表尺寸',
|
|
120
|
+
type: 'large | medium | small',
|
|
121
|
+
defaultValue: 'medium',
|
|
122
|
+
required: false,
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
name: 'border',
|
|
126
|
+
description: '是否显示边框',
|
|
127
|
+
type: 'boolean',
|
|
128
|
+
defaultValue: 'false',
|
|
129
|
+
required: false,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
name: 'showDivider',
|
|
133
|
+
description: '是否显示分割线',
|
|
134
|
+
type: 'boolean',
|
|
135
|
+
defaultValue: 'false',
|
|
136
|
+
required: false,
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
name: 'selectable',
|
|
140
|
+
description: '是否可选择',
|
|
141
|
+
type: 'boolean',
|
|
142
|
+
defaultValue: 'false',
|
|
143
|
+
required: false,
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: 'multiple',
|
|
147
|
+
description: '是否支持多选',
|
|
148
|
+
type: 'boolean',
|
|
149
|
+
defaultValue: 'false',
|
|
150
|
+
required: false,
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
name: 'modelValue',
|
|
154
|
+
description: '已选中的项',
|
|
155
|
+
type: 'T | T[]',
|
|
156
|
+
defaultValue: 'undefined',
|
|
157
|
+
required: false,
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
name: 'rowHeight',
|
|
161
|
+
description: '每行高度',
|
|
162
|
+
type: 'number',
|
|
163
|
+
defaultValue: 'undefined',
|
|
164
|
+
required: false,
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
subTitle: 'EList Events',
|
|
170
|
+
list: [
|
|
171
|
+
{
|
|
172
|
+
name: 'update:modelValue',
|
|
173
|
+
description: '选中项变化事件,参数:value: T | T[]',
|
|
174
|
+
type: 'Function',
|
|
175
|
+
defaultValue: 'undefined',
|
|
176
|
+
required: false,
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
name: 'row-click',
|
|
180
|
+
description:
|
|
181
|
+
'点击行事件,参数:row: T, index: number',
|
|
182
|
+
type: 'Function',
|
|
183
|
+
defaultValue: 'undefined',
|
|
184
|
+
required: false,
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
name: 'row-dblclick',
|
|
188
|
+
description:
|
|
189
|
+
'双击行事件,参数:row: T, index: number',
|
|
190
|
+
type: 'Function',
|
|
191
|
+
defaultValue: 'undefined',
|
|
192
|
+
required: false,
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
name: 'row-mouseenter',
|
|
196
|
+
description:
|
|
197
|
+
'鼠标悬停行事件,参数:row: T, index: number',
|
|
198
|
+
type: 'Function',
|
|
199
|
+
defaultValue: 'undefined',
|
|
200
|
+
required: false,
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
name: 'row-mouseleave',
|
|
204
|
+
description:
|
|
205
|
+
'鼠标离开行事件,参数:row: T, index: number',
|
|
206
|
+
type: 'Function',
|
|
207
|
+
defaultValue: 'undefined',
|
|
208
|
+
required: false,
|
|
209
|
+
},
|
|
210
|
+
],
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
subTitle: 'EList Slots',
|
|
214
|
+
list: [
|
|
215
|
+
{
|
|
216
|
+
name: 'default',
|
|
217
|
+
description:
|
|
218
|
+
'自定义行内容,参数:row: T, index: number',
|
|
219
|
+
type: 'Slot',
|
|
220
|
+
defaultValue: 'undefined',
|
|
221
|
+
required: false,
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
name: 'checkbox',
|
|
225
|
+
description:
|
|
226
|
+
'自定义复选框,参数:row: T, checked: boolean',
|
|
227
|
+
type: 'Slot',
|
|
228
|
+
defaultValue: 'undefined',
|
|
229
|
+
required: false,
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
name: 'empty',
|
|
233
|
+
description: '自定义空数据状态',
|
|
234
|
+
type: 'Slot',
|
|
235
|
+
defaultValue: 'undefined',
|
|
236
|
+
required: false,
|
|
237
|
+
},
|
|
238
|
+
],
|
|
239
|
+
},
|
|
240
|
+
]"
|
|
241
|
+
/>
|
|
242
|
+
</PageLayout>
|
|
243
|
+
</template>
|
|
244
|
+
|
|
245
|
+
<style scoped lang="scss">
|
|
246
|
+
@use '@/style/global' as global;
|
|
247
|
+
|
|
248
|
+
h1 {
|
|
249
|
+
font-size: 24px;
|
|
250
|
+
font-weight: bold;
|
|
251
|
+
margin-bottom: 20px;
|
|
252
|
+
color: var(--e-text-color-primary);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
p {
|
|
256
|
+
font-size: 14px;
|
|
257
|
+
color: var(--e-text-color-regular);
|
|
258
|
+
margin-bottom: 30px;
|
|
259
|
+
line-height: 1.5;
|
|
260
|
+
}
|
|
261
|
+
</style>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { EList, EMessage } from 'exploria-ui';
|
|
3
|
+
</script>
|
|
4
|
+
<template>
|
|
5
|
+
<EList
|
|
6
|
+
:data="[
|
|
7
|
+
{ id: 1, name: '列表项1' },
|
|
8
|
+
{ id: 2, name: '列表项2' },
|
|
9
|
+
{ id: 3, name: '列表项3' },
|
|
10
|
+
{ id: 4, name: '列表项4' },
|
|
11
|
+
{ id: 5, name: '列表项5' },
|
|
12
|
+
]"
|
|
13
|
+
border
|
|
14
|
+
@row-click="
|
|
15
|
+
(row, index) =>
|
|
16
|
+
EMessage.success('点击了第 ' + (index + 1) + ' 行: ' + row.name)
|
|
17
|
+
"
|
|
18
|
+
>
|
|
19
|
+
<template #default="{ row }">
|
|
20
|
+
{{ row.name }}
|
|
21
|
+
</template>
|
|
22
|
+
</EList>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<EList
|
|
3
|
+
:data="[
|
|
4
|
+
{ id: 1, name: '列表项1' },
|
|
5
|
+
{ id: 2, name: '列表项2' },
|
|
6
|
+
{ id: 3, name: '列表项3' },
|
|
7
|
+
{ id: 4, name: '列表项4' },
|
|
8
|
+
{ id: 5, name: '列表项5' },
|
|
9
|
+
]"
|
|
10
|
+
selectable
|
|
11
|
+
multiple
|
|
12
|
+
border
|
|
13
|
+
>
|
|
14
|
+
<template #default="{ row }">
|
|
15
|
+
{{ row.name }}
|
|
16
|
+
</template>
|
|
17
|
+
</EList>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script setup lang="ts">
|
|
21
|
+
import { EList } from 'exploria-ui';
|
|
22
|
+
</script>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<EList
|
|
3
|
+
:data="[
|
|
4
|
+
{ id: 1, name: '列表项1' },
|
|
5
|
+
{ id: 2, name: '列表项2' },
|
|
6
|
+
{ id: 3, name: '列表项3' },
|
|
7
|
+
{ id: 4, name: '列表项4' },
|
|
8
|
+
{ id: 5, name: '列表项5' },
|
|
9
|
+
]"
|
|
10
|
+
:selectable="true"
|
|
11
|
+
border
|
|
12
|
+
>
|
|
13
|
+
<template #default="{ row }">
|
|
14
|
+
{{ row.name }}
|
|
15
|
+
</template>
|
|
16
|
+
</EList>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script setup lang="ts">
|
|
20
|
+
import { EList } from 'exploria-ui';
|
|
21
|
+
</script>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="example-container">
|
|
3
|
+
<h4>大尺寸</h4>
|
|
4
|
+
<EList :data="basicData" size="large" border>
|
|
5
|
+
<template #default="{ row }">
|
|
6
|
+
{{ row.name }}
|
|
7
|
+
</template>
|
|
8
|
+
</EList>
|
|
9
|
+
|
|
10
|
+
<h4>中尺寸</h4>
|
|
11
|
+
<EList :data="basicData" size="medium" border>
|
|
12
|
+
<template #default="{ row }">
|
|
13
|
+
{{ row.name }}
|
|
14
|
+
</template>
|
|
15
|
+
</EList>
|
|
16
|
+
|
|
17
|
+
<h4>小尺寸</h4>
|
|
18
|
+
<EList :data="basicData" size="small" border>
|
|
19
|
+
<template #default="{ row }">
|
|
20
|
+
{{ row.name }}
|
|
21
|
+
</template>
|
|
22
|
+
</EList>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
|
|
26
|
+
<script setup lang="ts">
|
|
27
|
+
import { EList } from 'exploria-ui';
|
|
28
|
+
|
|
29
|
+
// 基础数据
|
|
30
|
+
const basicData = [
|
|
31
|
+
{ id: 1, name: '列表项1' },
|
|
32
|
+
{ id: 2, name: '列表项2' },
|
|
33
|
+
{ id: 3, name: '列表项3' },
|
|
34
|
+
];
|
|
35
|
+
</script>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
+
import src from './Using.vue?raw';
|
|
4
|
+
import Using from './Using.vue';
|
|
5
|
+
import PageLayout from '@/components/PageLayout.vue';
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<PageLayout>
|
|
10
|
+
<DemoBox title="介绍">
|
|
11
|
+
<h2>EMediaViewer 媒体查看器</h2>
|
|
12
|
+
<p>媒体查看器组件用于展示图片、视频等媒体内容。</p>
|
|
13
|
+
</DemoBox>
|
|
14
|
+
<DemoBox :code="src" title="基本用法">
|
|
15
|
+
<Using />
|
|
16
|
+
<template #description>
|
|
17
|
+
按钮有五种类型:主按钮、次按钮、虚线按钮、文本按钮和链接按钮。主按钮在同一个操作区域最多出现一次。
|
|
18
|
+
</template>
|
|
19
|
+
</DemoBox>
|
|
20
|
+
</PageLayout>
|
|
21
|
+
</template>
|
|
22
|
+
|
|
23
|
+
<style scoped lang="scss">
|
|
24
|
+
.time-picker-demo {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: row;
|
|
27
|
+
overflow: auto;
|
|
28
|
+
|
|
29
|
+
.left {
|
|
30
|
+
flex: 1;
|
|
31
|
+
overflow: auto;
|
|
32
|
+
padding: 30px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.right {
|
|
36
|
+
width: 260px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
</style>
|