exploria-ui-mcp-server 2.1.4 → 2.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +169 -109
- package/dist/index.js +3346 -2933
- package/dist/knowledge/vector-db.json +120728 -0
- package/package.json +5 -5
- package/dist/README.md +0 -633
- package/dist/components/advanced/e_parallax_scrolling/Document.vue +0 -23
- package/dist/components/advanced/e_parallax_scrolling/Using.vue +0 -20
- 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 +0 -21
- package/dist/components/advanced/e_rolling_follow/Using.vue +0 -54
- package/dist/components/advanced/e_virtual_list/ComprehensiveCase.vue +0 -209
- package/dist/components/advanced/e_virtual_list/Document.vue +0 -68
- package/dist/components/advanced/e_virtual_list/DynamicData.vue +0 -42
- package/dist/components/advanced/e_virtual_list/Using.vue +0 -32
- package/dist/components/advanced/e_virtual_list/iconfont/iconfont.css +0 -19
- 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 +0 -89
- package/dist/components/advanced/e_watermark/BasicUsing.vue +0 -9
- package/dist/components/advanced/e_watermark/CustomFont.vue +0 -73
- package/dist/components/advanced/e_watermark/CustomStyle.vue +0 -76
- package/dist/components/advanced/e_watermark/Dense.vue +0 -28
- package/dist/components/advanced/e_watermark/Document.vue +0 -197
- package/dist/components/advanced/e_watermark/HighZIndex.vue +0 -105
- package/dist/components/advanced/e_watermark/ImageWatermark.vue +0 -31
- package/dist/components/advanced/e_watermark/MultiLine.vue +0 -29
- package/dist/components/advanced/e_watermark/OpacityWatermark.vue +0 -73
- package/dist/components/ai/typing_effect/Document.vue +0 -47
- package/dist/components/ai/typing_effect/Using1.vue +0 -189
- package/dist/components/ai/typing_effect/Using2.vue +0 -167
- package/dist/components/basic/e_badge/BasicBadge.vue +0 -31
- package/dist/components/basic/e_badge/Document.vue +0 -137
- package/dist/components/basic/e_badge/DotBadge.vue +0 -35
- package/dist/components/basic/e_badge/MaxBadge.vue +0 -33
- package/dist/components/basic/e_badge/ShowZeroBadge.vue +0 -30
- package/dist/components/basic/e_badge/SizeBadge.vue +0 -29
- package/dist/components/basic/e_badge/TypeBadge.vue +0 -36
- package/dist/components/basic/e_button/CircleButtons.vue +0 -30
- package/dist/components/basic/e_button/DisabledButtons.vue +0 -30
- package/dist/components/basic/e_button/Document.vue +0 -171
- package/dist/components/basic/e_button/LoadingButtons.vue +0 -30
- package/dist/components/basic/e_button/NormalButtons.vue +0 -30
- package/dist/components/basic/e_button/PlainButtons.vue +0 -30
- package/dist/components/basic/e_button/RoundButtons.vue +0 -30
- package/dist/components/basic/e_button/RoundedRectangleButtons.vue +0 -35
- package/dist/components/basic/e_button/SizeButtons.vue +0 -19
- package/dist/components/basic/e_button/Using.vue +0 -89
- package/dist/components/basic/e_card/BasicCard.vue +0 -9
- package/dist/components/basic/e_card/BorderlessCard.vue +0 -8
- package/dist/components/basic/e_card/ComplexContentCard.vue +0 -92
- package/dist/components/basic/e_card/CustomHeaderCard.vue +0 -24
- package/dist/components/basic/e_card/Document.vue +0 -131
- package/dist/components/basic/e_card/FooterCard.vue +0 -12
- package/dist/components/basic/e_card/ShadowCard.vue +0 -30
- package/dist/components/basic/e_card/SizesCard.vue +0 -29
- package/dist/components/basic/e_svg_icon/Document.vue +0 -38
- package/dist/components/basic/e_svg_icon/Using.vue +0 -7
- package/dist/components/basic/e_underline/BaseUsing.vue +0 -13
- package/dist/components/basic/e_underline/Document.vue +0 -27
- package/dist/components/basic/e_underline/ImgUsing.vue +0 -36
- package/dist/components/data/e_calendar/Document.vue +0 -41
- package/dist/components/data/e_calendar/Using.vue +0 -9
- package/dist/components/data/e_calendar//346/227/245/345/216/206 +0 -0
- package/dist/components/data/e_carousel/Document.vue +0 -143
- package/dist/components/data/e_carousel/Using.vue +0 -20
- package/dist/components/data/e_carousel/Using1.vue +0 -23
- package/dist/components/data/e_carousel/Using2.vue +0 -17
- package/dist/components/data/e_carousel/Using3.vue +0 -17
- package/dist/components/data/e_collapse/Document.vue +0 -40
- package/dist/components/data/e_collapse/Using.vue +0 -9
- 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 +0 -71
- package/dist/components/data/e_image/Using.vue +0 -21
- package/dist/components/data/e_image/img.png +0 -0
- package/dist/components/data/e_list/BasicUsage.vue +0 -18
- package/dist/components/data/e_list/CustomCheckboxUsage.vue +0 -22
- package/dist/components/data/e_list/CustomEmptyDataUsage.vue +0 -38
- package/dist/components/data/e_list/CustomRowUsage.vue +0 -64
- package/dist/components/data/e_list/DividerUsage.vue +0 -20
- package/dist/components/data/e_list/Document.vue +0 -261
- package/dist/components/data/e_list/EmptyDataUsage.vue +0 -3
- package/dist/components/data/e_list/EventUsage.vue +0 -23
- package/dist/components/data/e_list/MultipleSelectUsage.vue +0 -22
- package/dist/components/data/e_list/SingleSelectUsage.vue +0 -21
- package/dist/components/data/e_list/SizeUsage.vue +0 -35
- package/dist/components/data/e_media_viewer/Document.vue +0 -39
- package/dist/components/data/e_media_viewer/Using.vue +0 -30
- package/dist/components/data/e_media_viewer/img.png +0 -0
- package/dist/components/data/e_progress/BasicProgress.vue +0 -21
- package/dist/components/data/e_progress/CircleProgress.vue +0 -23
- package/dist/components/data/e_progress/CustomColorProgress.vue +0 -63
- package/dist/components/data/e_progress/Document.vue +0 -179
- package/dist/components/data/e_progress/IndeterminateProgress.vue +0 -49
- package/dist/components/data/e_progress/ProgressSize.vue +0 -50
- package/dist/components/data/e_progress/ProgressStatus.vue +0 -21
- package/dist/components/data/e_progress/ProgressText.vue +0 -52
- package/dist/components/data/e_rolling_pagination/Document.vue +0 -21
- package/dist/components/data/e_rolling_pagination/Using.vue +0 -33
- 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 +0 -26
- package/dist/components/data/e_skeleton/Using.vue +0 -18
- package/dist/components/data/e_skeleton//351/252/250/346/236/266 +0 -0
- package/dist/components/data/e_table/Document.vue +0 -85
- package/dist/components/data/e_table/Using.vue +0 -131
- package/dist/components/data/e_timeline/Document.vue +0 -90
- package/dist/components/data/e_timeline/Using.vue +0 -124
- package/dist/components/feedback/e_dialog/AsyncUsing.vue +0 -30
- package/dist/components/feedback/e_dialog/BaseUsing.vue +0 -15
- package/dist/components/feedback/e_dialog/Document.vue +0 -26
- package/dist/components/feedback/e_drawer/BaseUsing.vue +0 -35
- package/dist/components/feedback/e_drawer/DirectionUsing.vue +0 -93
- package/dist/components/feedback/e_drawer/Document.vue +0 -153
- package/dist/components/feedback/e_drawer/LargeSizeDrawer.vue +0 -29
- package/dist/components/feedback/e_drawer/MediumSizeDrawer.vue +0 -29
- package/dist/components/feedback/e_drawer/SizeUsing.vue +0 -67
- package/dist/components/feedback/e_drawer/SmallSizeDrawer.vue +0 -29
- package/dist/components/feedback/e_message/Document.vue +0 -18
- package/dist/components/feedback/e_message/Using.vue +0 -16
- package/dist/components/feedback/e_message_box/BaseUsing.vue +0 -11
- package/dist/components/feedback/e_message_box/Document.vue +0 -18
- package/dist/components/feedback/e_message_box/intro.md +0 -12
- package/dist/components/feedback/e_notification/AllPositionsNotification.vue +0 -35
- package/dist/components/feedback/e_notification/BasicTypesNotification.vue +0 -47
- package/dist/components/feedback/e_notification/ClickableNotification.vue +0 -18
- package/dist/components/feedback/e_notification/Document.vue +0 -147
- package/dist/components/feedback/e_notification/ManualCloseNotification.vue +0 -17
- package/dist/components/feedback/e_notification/Using.vue +0 -253
- package/dist/components/feedback/e_popover/BasicUsage.vue +0 -51
- package/dist/components/feedback/e_popover/ContextmenuTrigger.vue +0 -27
- package/dist/components/feedback/e_popover/CustomContent.vue +0 -43
- package/dist/components/feedback/e_popover/CustomTrigger.vue +0 -39
- package/dist/components/feedback/e_popover/Document.vue +0 -84
- package/dist/components/feedback/e_popover/HoverTrigger.vue +0 -29
- package/dist/components/feedback/e_popover/SizeVariants.vue +0 -36
- package/dist/components/feedback/e_popover/Using.vue +0 -177
- package/dist/components/feedback/e_tooltip/Document.vue +0 -42
- package/dist/components/feedback/e_tooltip/SizeUsing.vue +0 -28
- package/dist/components/feedback/e_tooltip/Using.vue +0 -44
- package/dist/components/form/e_checkbox/Document.vue +0 -88
- package/dist/components/form/e_checkbox/Using.vue +0 -10
- package/dist/components/form/e_color_picker/Document.vue +0 -55
- package/dist/components/form/e_color_picker/Using.vue +0 -10
- package/dist/components/form/e_condition_group/Document.vue +0 -52
- package/dist/components/form/e_condition_group/Using.vue +0 -165
- package/dist/components/form/e_file_selector/Document.vue +0 -50
- package/dist/components/form/e_file_selector/Using.vue +0 -44
- package/dist/components/form/e_form/BaseUsage.vue +0 -155
- package/dist/components/form/e_form/Document.vue +0 -93
- package/dist/components/form/e_form/LoginForm.vue +0 -150
- package/dist/components/form/e_form/RegisterForm.vue +0 -46
- package/dist/components/form/e_form/iconfont/iconfont.css +0 -67
- 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 +0 -16
- package/dist/components/form/e_input/Clearable.vue +0 -24
- package/dist/components/form/e_input/Document.vue +0 -111
- package/dist/components/form/e_input/Number.vue +0 -10
- package/dist/components/form/e_input/Password.vue +0 -52
- package/dist/components/form/e_input/iconfont/iconfont.css +0 -67
- 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 +0 -88
- package/dist/components/form/e_radio/Using.vue +0 -14
- package/dist/components/form/e_select/Document.vue +0 -32
- package/dist/components/form/e_select/Using.vue +0 -24
- 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 +0 -10
- package/dist/components/form/e_slider/CustomRange.vue +0 -21
- package/dist/components/form/e_slider/Disabled.vue +0 -10
- package/dist/components/form/e_slider/Document.vue +0 -55
- package/dist/components/form/e_slider/ShowValue.vue +0 -10
- package/dist/components/form/e_slider/Sizes.vue +0 -47
- package/dist/components/form/e_time_picker/Document.vue +0 -58
- package/dist/components/form/e_time_picker/Using.vue +0 -13
- package/dist/components/geometry/css_3d/Document.vue +0 -17
- package/dist/components/geometry/css_3d/Using.vue +0 -9
- package/dist/components/layout/e_scroll_x/Document.vue +0 -39
- package/dist/components/layout/e_scroll_x/Using.vue +0 -38
- package/dist/components/navigation/e_dropdown/BasicUsage.vue +0 -64
- package/dist/components/navigation/e_dropdown/Contextmenu.vue +0 -41
- package/dist/components/navigation/e_dropdown/Document.vue +0 -72
- package/dist/components/navigation/e_dropdown/HoverTrigger.vue +0 -66
- package/dist/components/navigation/e_dropdown/NestedDropdown.vue +0 -143
- package/dist/components/navigation/e_tabs/Document.vue +0 -33
- package/dist/components/navigation/e_tabs/Using.vue +0 -40
- package/dist/directives/e_uuid_util/Document.vue +0 -15
- package/dist/directives/e_uuid_util/Using.vue +0 -13
- package/dist/other/advanced/gsap/BasicUsing.vue +0 -26
- package/dist/other/advanced/gsap/Document.vue +0 -45
- package/dist/other/advanced/gsap/GSAP/345/212/250/347/224/273 +0 -0
- package/dist/other/advanced/gsap/ScrollTrigger.vue +0 -195
- package/dist/other/advanced/gsap/ScrollX.vue +0 -81
- package/dist/other/advanced/gsap/Timeline.vue +0 -30
- package/dist/other/advanced/lottie/BasicUsing.vue +0 -33
- package/dist/other/advanced/lottie/Document.vue +0 -30
- package/dist/other/advanced/lottie/Lottie /345/212/250/347/224/273 +0 -0
- package/dist/other/advanced/rich_text_editor/Document.vue +0 -24
- package/dist/other/advanced/rich_text_editor/RichTextEditor.vue +0 -105
- package/dist/other/advanced/rich_text_editor/wangeditor_style.css +0 -684
- package/dist/other/advanced/sortablejs/Document.vue +0 -32
- package/dist/other/advanced/sortablejs/ShuttleFrame.vue +0 -181
- package/dist/other/advanced/sortablejs/Using.vue +0 -68
- 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 +0 -17
- package/dist/other/advanced/spelling/Using.vue +0 -104
- package/dist/other/advanced/svg/BasicUsing.vue +0 -12
- package/dist/other/advanced/svg/Document.vue +0 -24
- package/dist/other/advanced/svg/FeDisplacementMap/FeDisplacementMap.vue +0 -30
- package/dist/other/advanced/svg/FeDisplacementMap/example/Image.vue +0 -41
- 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 +0 -28
- package/dist/other/advanced/svg/FeTurbulence/example/Image.vue +0 -41
- 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 +0 -15
- package/dist/other/canvas/base/Using.vue +0 -125
- package/dist/other/canvas/burrow/Clip.vue +0 -66
- package/dist/other/canvas/burrow/Document.vue +0 -36
- package/dist/other/canvas/burrow/Erase.vue +0 -58
- package/dist/other/canvas/burrow/NonZeroSurroundRule.vue +0 -70
- package/dist/other/canvas/clip/Clip.vue +0 -58
- package/dist/other/canvas/clip/Document.vue +0 -26
- package/dist/other/canvas/definition/Document.vue +0 -26
- package/dist/other/canvas/definition/Using.vue +0 -60
- package/dist/other/echarts/basic/Document.vue +0 -36
- package/dist/other/echarts/basic/Label.vue +0 -98
- package/dist/other/echarts/data_zoom/Document.vue +0 -38
- package/dist/other/echarts/data_zoom/Using.vue +0 -119
- package/dist/other/echarts/data_zoom/img.svg +0 -33
- package/dist/other/echarts/gauge/Document.vue +0 -38
- package/dist/other/echarts/gauge/Gauge.vue +0 -340
- package/dist/other/echarts/gauge//344/273/252/350/241/250/347/233/230 +0 -0
- package/dist/other/echarts/liquidfill/Document.vue +0 -46
- package/dist/other/echarts/liquidfill/Using.vue +0 -239
- package/dist/other/git/sample_set/Document.vue +0 -43
- 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 +0 -104
- package/dist/other/layout/flex/Advanced2.vue +0 -181
- package/dist/other/layout/flex/Base.vue +0 -48
- package/dist/other/layout/flex/Document.vue +0 -57
- package/dist/other/layout/flex/Grid.vue +0 -54
- package/dist/other/layout/flex/Height100.vue +0 -35
- package/dist/other/layout/flex/intro.md +0 -1
- package/dist/other/layout/grid/Base.vue +0 -29
- package/dist/other/layout/grid/Document.vue +0 -54
- package/dist/other/layout/grid/Grid.vue +0 -28
- package/dist/other/layout/grid/Height100.vue +0 -35
- package/dist/other/layout/grid/intro.md +0 -1
- package/dist/other/navigation/new_tab_page/Document.vue +0 -18
- package/dist/other/navigation/new_tab_page/OpenNewTabPage.vue +0 -7
- package/dist/other/navigation/new_tab_page/new-tab-page-demo.html +0 -450
- package/dist/other/network/sse/Document.vue +0 -21
- package/dist/other/network/sse/Using.vue +0 -24
- package/dist/other/network/sse/server/app.ts +0 -62
- package/dist/other/network/sse/server/static/text.md +0 -99
- package/dist/other/network/sse/server/utils/sleep.ts +0 -5
- package/dist/other/observer/mutation_observer/Document.vue +0 -15
- package/dist/other/observer/mutation_observer/Using.vue +0 -46
- package/dist/other/optimize/Document.vue +0 -19
- package/dist/other/optimize/HeavyComp.vue +0 -19
- package/dist/other/optimize/Using.vue +0 -14
- package/dist/other/optimize/useDefer.ts +0 -28
- package/dist/other/svg/base/BasicUsing.vue +0 -12
- package/dist/other/svg/base/Document.vue +0 -24
- package/dist/other/svg/base/FeDisplacementMap/FeDisplacementMap.vue +0 -30
- package/dist/other/svg/base/FeDisplacementMap/example/Image.vue +0 -41
- 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 +0 -28
- package/dist/other/svg/base/FeTurbulence/example/Image.vue +0 -41
- 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 +0 -17
- package/dist/other/threejs/base/Using.vue +0 -127
- package/dist/other/threejs/controller_sync/Document.vue +0 -15
- package/dist/other/threejs/controller_sync/Using.vue +0 -347
- 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 +0 -17
- package/dist/other/threejs/phoenix/Using.vue +0 -79
- package/dist/other/vue/life_cycle/Child.vue +0 -43
- package/dist/other/vue/life_cycle/Document.vue +0 -15
- package/dist/other/vue/life_cycle/Using.vue +0 -16
- package/dist/utils/e_echarts_util/Document.vue +0 -14
- package/dist/utils/e_echarts_util/Using.vue +0 -81
- package/dist/utils/e_image_util/Document.vue +0 -15
- package/dist/utils/e_image_util/Using.vue +0 -24
- package/dist/utils/e_image_util/author_avatar.png +0 -0
- package/dist/utils/e_uuid_util/Document.vue +0 -15
- package/dist/utils/e_uuid_util/Using.vue +0 -13
- package/dist/utils/type_utils/Document.vue +0 -16
- package/dist/utils/type_utils/TupleType.vue +0 -16
- package/public/README.md +0 -633
- package/public/components/advanced/e_parallax_scrolling/Document.vue +0 -23
- package/public/components/advanced/e_parallax_scrolling/Using.vue +0 -20
- 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 +0 -21
- package/public/components/advanced/e_rolling_follow/Using.vue +0 -54
- package/public/components/advanced/e_virtual_list/ComprehensiveCase.vue +0 -209
- package/public/components/advanced/e_virtual_list/Document.vue +0 -68
- package/public/components/advanced/e_virtual_list/DynamicData.vue +0 -42
- package/public/components/advanced/e_virtual_list/Using.vue +0 -32
- package/public/components/advanced/e_virtual_list/iconfont/iconfont.css +0 -19
- 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 +0 -89
- package/public/components/advanced/e_watermark/BasicUsing.vue +0 -9
- package/public/components/advanced/e_watermark/CustomFont.vue +0 -73
- package/public/components/advanced/e_watermark/CustomStyle.vue +0 -76
- package/public/components/advanced/e_watermark/Dense.vue +0 -28
- package/public/components/advanced/e_watermark/Document.vue +0 -197
- package/public/components/advanced/e_watermark/HighZIndex.vue +0 -105
- package/public/components/advanced/e_watermark/ImageWatermark.vue +0 -31
- package/public/components/advanced/e_watermark/MultiLine.vue +0 -29
- package/public/components/advanced/e_watermark/OpacityWatermark.vue +0 -73
- package/public/components/ai/typing_effect/Document.vue +0 -47
- package/public/components/ai/typing_effect/Using1.vue +0 -189
- package/public/components/ai/typing_effect/Using2.vue +0 -167
- package/public/components/basic/e_badge/BasicBadge.vue +0 -31
- package/public/components/basic/e_badge/Document.vue +0 -137
- package/public/components/basic/e_badge/DotBadge.vue +0 -35
- package/public/components/basic/e_badge/MaxBadge.vue +0 -33
- package/public/components/basic/e_badge/ShowZeroBadge.vue +0 -30
- package/public/components/basic/e_badge/SizeBadge.vue +0 -29
- package/public/components/basic/e_badge/TypeBadge.vue +0 -36
- package/public/components/basic/e_button/CircleButtons.vue +0 -30
- package/public/components/basic/e_button/DisabledButtons.vue +0 -30
- package/public/components/basic/e_button/Document.vue +0 -171
- package/public/components/basic/e_button/LoadingButtons.vue +0 -30
- package/public/components/basic/e_button/NormalButtons.vue +0 -30
- package/public/components/basic/e_button/PlainButtons.vue +0 -30
- package/public/components/basic/e_button/RoundButtons.vue +0 -30
- package/public/components/basic/e_button/RoundedRectangleButtons.vue +0 -35
- package/public/components/basic/e_button/SizeButtons.vue +0 -19
- package/public/components/basic/e_button/Using.vue +0 -89
- package/public/components/basic/e_card/BasicCard.vue +0 -9
- package/public/components/basic/e_card/BorderlessCard.vue +0 -8
- package/public/components/basic/e_card/ComplexContentCard.vue +0 -92
- package/public/components/basic/e_card/CustomHeaderCard.vue +0 -24
- package/public/components/basic/e_card/Document.vue +0 -131
- package/public/components/basic/e_card/FooterCard.vue +0 -12
- package/public/components/basic/e_card/ShadowCard.vue +0 -30
- package/public/components/basic/e_card/SizesCard.vue +0 -29
- package/public/components/basic/e_svg_icon/Document.vue +0 -38
- package/public/components/basic/e_svg_icon/Using.vue +0 -7
- package/public/components/basic/e_underline/BaseUsing.vue +0 -13
- package/public/components/basic/e_underline/Document.vue +0 -27
- package/public/components/basic/e_underline/ImgUsing.vue +0 -36
- package/public/components/data/e_calendar/Document.vue +0 -41
- package/public/components/data/e_calendar/Using.vue +0 -9
- package/public/components/data/e_calendar//346/227/245/345/216/206 +0 -0
- package/public/components/data/e_carousel/Document.vue +0 -143
- package/public/components/data/e_carousel/Using.vue +0 -20
- package/public/components/data/e_carousel/Using1.vue +0 -23
- package/public/components/data/e_carousel/Using2.vue +0 -17
- package/public/components/data/e_carousel/Using3.vue +0 -17
- package/public/components/data/e_collapse/Document.vue +0 -40
- package/public/components/data/e_collapse/Using.vue +0 -9
- 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 +0 -71
- package/public/components/data/e_image/Using.vue +0 -21
- package/public/components/data/e_image/img.png +0 -0
- package/public/components/data/e_list/BasicUsage.vue +0 -18
- package/public/components/data/e_list/CustomCheckboxUsage.vue +0 -22
- package/public/components/data/e_list/CustomEmptyDataUsage.vue +0 -38
- package/public/components/data/e_list/CustomRowUsage.vue +0 -64
- package/public/components/data/e_list/DividerUsage.vue +0 -20
- package/public/components/data/e_list/Document.vue +0 -261
- package/public/components/data/e_list/EmptyDataUsage.vue +0 -3
- package/public/components/data/e_list/EventUsage.vue +0 -23
- package/public/components/data/e_list/MultipleSelectUsage.vue +0 -22
- package/public/components/data/e_list/SingleSelectUsage.vue +0 -21
- package/public/components/data/e_list/SizeUsage.vue +0 -35
- package/public/components/data/e_media_viewer/Document.vue +0 -39
- package/public/components/data/e_media_viewer/Using.vue +0 -30
- package/public/components/data/e_media_viewer/img.png +0 -0
- package/public/components/data/e_progress/BasicProgress.vue +0 -21
- package/public/components/data/e_progress/CircleProgress.vue +0 -23
- package/public/components/data/e_progress/CustomColorProgress.vue +0 -63
- package/public/components/data/e_progress/Document.vue +0 -179
- package/public/components/data/e_progress/IndeterminateProgress.vue +0 -49
- package/public/components/data/e_progress/ProgressSize.vue +0 -50
- package/public/components/data/e_progress/ProgressStatus.vue +0 -21
- package/public/components/data/e_progress/ProgressText.vue +0 -52
- package/public/components/data/e_rolling_pagination/Document.vue +0 -21
- package/public/components/data/e_rolling_pagination/Using.vue +0 -33
- 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 +0 -26
- package/public/components/data/e_skeleton/Using.vue +0 -18
- package/public/components/data/e_skeleton//351/252/250/346/236/266 +0 -0
- package/public/components/data/e_table/Document.vue +0 -85
- package/public/components/data/e_table/Using.vue +0 -131
- package/public/components/data/e_timeline/Document.vue +0 -90
- package/public/components/data/e_timeline/Using.vue +0 -124
- package/public/components/feedback/e_dialog/AsyncUsing.vue +0 -30
- package/public/components/feedback/e_dialog/BaseUsing.vue +0 -15
- package/public/components/feedback/e_dialog/Document.vue +0 -26
- package/public/components/feedback/e_drawer/BaseUsing.vue +0 -35
- package/public/components/feedback/e_drawer/DirectionUsing.vue +0 -93
- package/public/components/feedback/e_drawer/Document.vue +0 -153
- package/public/components/feedback/e_drawer/LargeSizeDrawer.vue +0 -29
- package/public/components/feedback/e_drawer/MediumSizeDrawer.vue +0 -29
- package/public/components/feedback/e_drawer/SizeUsing.vue +0 -67
- package/public/components/feedback/e_drawer/SmallSizeDrawer.vue +0 -29
- package/public/components/feedback/e_message/Document.vue +0 -18
- package/public/components/feedback/e_message/Using.vue +0 -16
- package/public/components/feedback/e_message_box/BaseUsing.vue +0 -11
- package/public/components/feedback/e_message_box/Document.vue +0 -18
- package/public/components/feedback/e_message_box/intro.md +0 -12
- package/public/components/feedback/e_notification/AllPositionsNotification.vue +0 -35
- package/public/components/feedback/e_notification/BasicTypesNotification.vue +0 -47
- package/public/components/feedback/e_notification/ClickableNotification.vue +0 -18
- package/public/components/feedback/e_notification/Document.vue +0 -147
- package/public/components/feedback/e_notification/ManualCloseNotification.vue +0 -17
- package/public/components/feedback/e_notification/Using.vue +0 -253
- package/public/components/feedback/e_popover/BasicUsage.vue +0 -51
- package/public/components/feedback/e_popover/ContextmenuTrigger.vue +0 -27
- package/public/components/feedback/e_popover/CustomContent.vue +0 -43
- package/public/components/feedback/e_popover/CustomTrigger.vue +0 -39
- package/public/components/feedback/e_popover/Document.vue +0 -84
- package/public/components/feedback/e_popover/HoverTrigger.vue +0 -29
- package/public/components/feedback/e_popover/SizeVariants.vue +0 -36
- package/public/components/feedback/e_popover/Using.vue +0 -177
- package/public/components/feedback/e_tooltip/Document.vue +0 -42
- package/public/components/feedback/e_tooltip/SizeUsing.vue +0 -28
- package/public/components/feedback/e_tooltip/Using.vue +0 -44
- package/public/components/form/e_checkbox/Document.vue +0 -88
- package/public/components/form/e_checkbox/Using.vue +0 -10
- package/public/components/form/e_color_picker/Document.vue +0 -55
- package/public/components/form/e_color_picker/Using.vue +0 -10
- package/public/components/form/e_condition_group/Document.vue +0 -52
- package/public/components/form/e_condition_group/Using.vue +0 -165
- package/public/components/form/e_file_selector/Document.vue +0 -50
- package/public/components/form/e_file_selector/Using.vue +0 -44
- package/public/components/form/e_form/BaseUsage.vue +0 -155
- package/public/components/form/e_form/Document.vue +0 -93
- package/public/components/form/e_form/LoginForm.vue +0 -150
- package/public/components/form/e_form/RegisterForm.vue +0 -46
- package/public/components/form/e_form/iconfont/iconfont.css +0 -67
- 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 +0 -16
- package/public/components/form/e_input/Clearable.vue +0 -24
- package/public/components/form/e_input/Document.vue +0 -111
- package/public/components/form/e_input/Number.vue +0 -10
- package/public/components/form/e_input/Password.vue +0 -52
- package/public/components/form/e_input/iconfont/iconfont.css +0 -67
- 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 +0 -88
- package/public/components/form/e_radio/Using.vue +0 -14
- package/public/components/form/e_select/Document.vue +0 -32
- package/public/components/form/e_select/Using.vue +0 -24
- 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 +0 -10
- package/public/components/form/e_slider/CustomRange.vue +0 -21
- package/public/components/form/e_slider/Disabled.vue +0 -10
- package/public/components/form/e_slider/Document.vue +0 -55
- package/public/components/form/e_slider/ShowValue.vue +0 -10
- package/public/components/form/e_slider/Sizes.vue +0 -47
- package/public/components/form/e_time_picker/Document.vue +0 -58
- package/public/components/form/e_time_picker/Using.vue +0 -13
- package/public/components/geometry/css_3d/Document.vue +0 -17
- package/public/components/geometry/css_3d/Using.vue +0 -9
- package/public/components/layout/e_scroll_x/Document.vue +0 -39
- package/public/components/layout/e_scroll_x/Using.vue +0 -38
- package/public/components/navigation/e_dropdown/BasicUsage.vue +0 -64
- package/public/components/navigation/e_dropdown/Contextmenu.vue +0 -41
- package/public/components/navigation/e_dropdown/Document.vue +0 -72
- package/public/components/navigation/e_dropdown/HoverTrigger.vue +0 -66
- package/public/components/navigation/e_dropdown/NestedDropdown.vue +0 -143
- package/public/components/navigation/e_tabs/Document.vue +0 -33
- package/public/components/navigation/e_tabs/Using.vue +0 -40
- package/public/directives/e_uuid_util/Document.vue +0 -15
- package/public/directives/e_uuid_util/Using.vue +0 -13
- package/public/other/advanced/gsap/BasicUsing.vue +0 -26
- package/public/other/advanced/gsap/Document.vue +0 -45
- package/public/other/advanced/gsap/GSAP/345/212/250/347/224/273 +0 -0
- package/public/other/advanced/gsap/ScrollTrigger.vue +0 -195
- package/public/other/advanced/gsap/ScrollX.vue +0 -81
- package/public/other/advanced/gsap/Timeline.vue +0 -30
- package/public/other/advanced/lottie/BasicUsing.vue +0 -33
- package/public/other/advanced/lottie/Document.vue +0 -30
- package/public/other/advanced/lottie/Lottie /345/212/250/347/224/273 +0 -0
- package/public/other/advanced/rich_text_editor/Document.vue +0 -24
- package/public/other/advanced/rich_text_editor/RichTextEditor.vue +0 -105
- package/public/other/advanced/rich_text_editor/wangeditor_style.css +0 -684
- package/public/other/advanced/sortablejs/Document.vue +0 -32
- package/public/other/advanced/sortablejs/ShuttleFrame.vue +0 -181
- package/public/other/advanced/sortablejs/Using.vue +0 -68
- 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 +0 -17
- package/public/other/advanced/spelling/Using.vue +0 -104
- package/public/other/advanced/svg/BasicUsing.vue +0 -12
- package/public/other/advanced/svg/Document.vue +0 -24
- package/public/other/advanced/svg/FeDisplacementMap/FeDisplacementMap.vue +0 -30
- package/public/other/advanced/svg/FeDisplacementMap/example/Image.vue +0 -41
- 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 +0 -28
- package/public/other/advanced/svg/FeTurbulence/example/Image.vue +0 -41
- 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 +0 -15
- package/public/other/canvas/base/Using.vue +0 -125
- package/public/other/canvas/burrow/Clip.vue +0 -66
- package/public/other/canvas/burrow/Document.vue +0 -36
- package/public/other/canvas/burrow/Erase.vue +0 -58
- package/public/other/canvas/burrow/NonZeroSurroundRule.vue +0 -70
- package/public/other/canvas/clip/Clip.vue +0 -58
- package/public/other/canvas/clip/Document.vue +0 -26
- package/public/other/canvas/definition/Document.vue +0 -26
- package/public/other/canvas/definition/Using.vue +0 -60
- package/public/other/echarts/basic/Document.vue +0 -36
- package/public/other/echarts/basic/Label.vue +0 -98
- package/public/other/echarts/data_zoom/Document.vue +0 -38
- package/public/other/echarts/data_zoom/Using.vue +0 -119
- package/public/other/echarts/data_zoom/img.svg +0 -33
- package/public/other/echarts/gauge/Document.vue +0 -38
- package/public/other/echarts/gauge/Gauge.vue +0 -340
- package/public/other/echarts/gauge//344/273/252/350/241/250/347/233/230 +0 -0
- package/public/other/echarts/liquidfill/Document.vue +0 -46
- package/public/other/echarts/liquidfill/Using.vue +0 -239
- package/public/other/git/sample_set/Document.vue +0 -43
- 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 +0 -104
- package/public/other/layout/flex/Advanced2.vue +0 -181
- package/public/other/layout/flex/Base.vue +0 -48
- package/public/other/layout/flex/Document.vue +0 -57
- package/public/other/layout/flex/Grid.vue +0 -54
- package/public/other/layout/flex/Height100.vue +0 -35
- package/public/other/layout/flex/intro.md +0 -1
- package/public/other/layout/grid/Base.vue +0 -29
- package/public/other/layout/grid/Document.vue +0 -54
- package/public/other/layout/grid/Grid.vue +0 -28
- package/public/other/layout/grid/Height100.vue +0 -35
- package/public/other/layout/grid/intro.md +0 -1
- package/public/other/navigation/new_tab_page/Document.vue +0 -18
- package/public/other/navigation/new_tab_page/OpenNewTabPage.vue +0 -7
- package/public/other/navigation/new_tab_page/new-tab-page-demo.html +0 -450
- package/public/other/network/sse/Document.vue +0 -21
- package/public/other/network/sse/Using.vue +0 -24
- package/public/other/network/sse/server/app.ts +0 -62
- package/public/other/network/sse/server/static/text.md +0 -99
- package/public/other/network/sse/server/utils/sleep.ts +0 -5
- package/public/other/observer/mutation_observer/Document.vue +0 -15
- package/public/other/observer/mutation_observer/Using.vue +0 -46
- package/public/other/optimize/Document.vue +0 -19
- package/public/other/optimize/HeavyComp.vue +0 -19
- package/public/other/optimize/Using.vue +0 -14
- package/public/other/optimize/useDefer.ts +0 -28
- package/public/other/svg/base/BasicUsing.vue +0 -12
- package/public/other/svg/base/Document.vue +0 -24
- package/public/other/svg/base/FeDisplacementMap/FeDisplacementMap.vue +0 -30
- package/public/other/svg/base/FeDisplacementMap/example/Image.vue +0 -41
- 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 +0 -28
- package/public/other/svg/base/FeTurbulence/example/Image.vue +0 -41
- 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 +0 -17
- package/public/other/threejs/base/Using.vue +0 -127
- package/public/other/threejs/controller_sync/Document.vue +0 -15
- package/public/other/threejs/controller_sync/Using.vue +0 -347
- 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 +0 -17
- package/public/other/threejs/phoenix/Using.vue +0 -79
- package/public/other/vue/life_cycle/Child.vue +0 -43
- package/public/other/vue/life_cycle/Document.vue +0 -15
- package/public/other/vue/life_cycle/Using.vue +0 -16
- package/public/utils/e_echarts_util/Document.vue +0 -14
- package/public/utils/e_echarts_util/Using.vue +0 -81
- package/public/utils/e_image_util/Document.vue +0 -15
- package/public/utils/e_image_util/Using.vue +0 -24
- package/public/utils/e_image_util/author_avatar.png +0 -0
- package/public/utils/e_uuid_util/Document.vue +0 -15
- package/public/utils/e_uuid_util/Using.vue +0 -13
- package/public/utils/type_utils/Document.vue +0 -16
- package/public/utils/type_utils/TupleType.vue +0 -16
|
@@ -1,239 +0,0 @@
|
|
|
1
|
-
<script lang="ts" setup>
|
|
2
|
-
/**
|
|
3
|
-
* 水球图
|
|
4
|
-
*/
|
|
5
|
-
import * as echarts from 'echarts';
|
|
6
|
-
import 'echarts-liquidfill';
|
|
7
|
-
import { onBeforeUnmount, onMounted, useTemplateRef } from 'vue';
|
|
8
|
-
|
|
9
|
-
let chart: echarts.ECharts;
|
|
10
|
-
const boxRef = useTemplateRef<HTMLElement>('boxRef');
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* 创建一个矩形画布,背景为上下线性渐变
|
|
14
|
-
*/
|
|
15
|
-
const createLinearGradientRect = (option: {
|
|
16
|
-
width: number;
|
|
17
|
-
height: number;
|
|
18
|
-
y: number;
|
|
19
|
-
bgColor: HTMLCanvasElement;
|
|
20
|
-
startColor: string;
|
|
21
|
-
endColor: string;
|
|
22
|
-
}) => {
|
|
23
|
-
const { width, height, y, bgColor, startColor, endColor } = option;
|
|
24
|
-
|
|
25
|
-
const canvas = document.createElement('canvas');
|
|
26
|
-
canvas.width = width;
|
|
27
|
-
canvas.height = height;
|
|
28
|
-
const ctx = canvas.getContext('2d')!;
|
|
29
|
-
|
|
30
|
-
// 绘制背景
|
|
31
|
-
ctx.drawImage(bgColor, 0, 0);
|
|
32
|
-
|
|
33
|
-
// 创建线性渐变
|
|
34
|
-
const gradient = ctx.createLinearGradient(0, 0, 0, height);
|
|
35
|
-
gradient.addColorStop(0, startColor);
|
|
36
|
-
gradient.addColorStop(1, endColor);
|
|
37
|
-
|
|
38
|
-
// 填充整个矩形
|
|
39
|
-
ctx.fillStyle = gradient;
|
|
40
|
-
ctx.fillRect(0, y, width, height);
|
|
41
|
-
return canvas;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
let bgCanvas: HTMLCanvasElement | null;
|
|
45
|
-
|
|
46
|
-
onMounted(() => {
|
|
47
|
-
initChart();
|
|
48
|
-
|
|
49
|
-
updateChart(57);
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
onBeforeUnmount(() => {
|
|
53
|
-
chart?.dispose();
|
|
54
|
-
bgCanvas?.remove();
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
const initChart = () => {
|
|
58
|
-
chart?.dispose();
|
|
59
|
-
chart = echarts.init(boxRef.value!, null, {
|
|
60
|
-
renderer: 'svg',
|
|
61
|
-
});
|
|
62
|
-
};
|
|
63
|
-
const updateChart = (value: number) => {
|
|
64
|
-
// 清除之前的画布,内存回收
|
|
65
|
-
bgCanvas?.remove();
|
|
66
|
-
const limit = 80;
|
|
67
|
-
const radius = (chart.getHeight() / 2) * 0.8;
|
|
68
|
-
// —————————————————————————— 画整个圆环的背景色 ——————————————————————————————————
|
|
69
|
-
bgCanvas = document.createElement('canvas');
|
|
70
|
-
bgCanvas.width = radius * 2;
|
|
71
|
-
bgCanvas.height = radius * 2;
|
|
72
|
-
const ctx = bgCanvas.getContext('2d')!;
|
|
73
|
-
const gradient = ctx.createRadialGradient(
|
|
74
|
-
bgCanvas.width * 0.5,
|
|
75
|
-
bgCanvas.height * 0.5,
|
|
76
|
-
0,
|
|
77
|
-
bgCanvas.width * 0.5,
|
|
78
|
-
bgCanvas.height * 0.5,
|
|
79
|
-
radius
|
|
80
|
-
);
|
|
81
|
-
gradient.addColorStop(
|
|
82
|
-
0,
|
|
83
|
-
value < limit ? 'rgba(180,210,255,0.93)' : '#ffffff'
|
|
84
|
-
);
|
|
85
|
-
gradient.addColorStop(1, value < limit ? 'rgb(231,241,255)' : '#ffeded');
|
|
86
|
-
ctx.fillStyle = gradient;
|
|
87
|
-
|
|
88
|
-
ctx.beginPath();
|
|
89
|
-
ctx.arc(radius, radius, radius, 0, Math.PI * 2);
|
|
90
|
-
ctx.fill();
|
|
91
|
-
|
|
92
|
-
// —————————————————————————————————————————————————————————————————————————————
|
|
93
|
-
const option = {
|
|
94
|
-
title: {
|
|
95
|
-
text: 'CPU使用率',
|
|
96
|
-
left: 'left',
|
|
97
|
-
},
|
|
98
|
-
series: [
|
|
99
|
-
// 水球图
|
|
100
|
-
{
|
|
101
|
-
type: 'liquidFill',
|
|
102
|
-
name: '正常',
|
|
103
|
-
// 这个更像是直径
|
|
104
|
-
radius: radius * 2,
|
|
105
|
-
data: [
|
|
106
|
-
{
|
|
107
|
-
value: value / 100,
|
|
108
|
-
},
|
|
109
|
-
],
|
|
110
|
-
label: {
|
|
111
|
-
formatter: `${value}%`,
|
|
112
|
-
// 字体大小,自己调
|
|
113
|
-
fontSize: 30,
|
|
114
|
-
color: '#555',
|
|
115
|
-
fontWeight: 'bold',
|
|
116
|
-
// 水上部分颜色(可选)
|
|
117
|
-
insideColor: value < limit ? '#d7e7ff' : '#ff4f4f',
|
|
118
|
-
},
|
|
119
|
-
itemStyle: {
|
|
120
|
-
// 水的颜色
|
|
121
|
-
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
122
|
-
{
|
|
123
|
-
offset: 0,
|
|
124
|
-
color: value < limit ? '#8dbaff' : '#ffcdcd',
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
offset: 1,
|
|
128
|
-
color: value < limit ? '#026eff' : '#ff6363',
|
|
129
|
-
},
|
|
130
|
-
]),
|
|
131
|
-
// 水的阴影
|
|
132
|
-
shadowBlur: 1,
|
|
133
|
-
},
|
|
134
|
-
backgroundStyle: {
|
|
135
|
-
color: new echarts.graphic.RadialGradient(
|
|
136
|
-
0.5,
|
|
137
|
-
0.5,
|
|
138
|
-
radius / 100,
|
|
139
|
-
[
|
|
140
|
-
{
|
|
141
|
-
offset: 0,
|
|
142
|
-
color: '#ffffff',
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
offset: 1,
|
|
146
|
-
color: value < limit ? '#d7e7ff' : '#ffe2e2',
|
|
147
|
-
},
|
|
148
|
-
]
|
|
149
|
-
),
|
|
150
|
-
// 阴影
|
|
151
|
-
shadowColor: value < limit ? 'rgb(153,190,246)' : '#ffdbdb',
|
|
152
|
-
shadowBlur: 100,
|
|
153
|
-
shadowOffsetY: 10,
|
|
154
|
-
},
|
|
155
|
-
outline: {
|
|
156
|
-
show: false,
|
|
157
|
-
},
|
|
158
|
-
amplitude: 5, // 振幅
|
|
159
|
-
waveAnimation: true,
|
|
160
|
-
z: 1,
|
|
161
|
-
},
|
|
162
|
-
// 圆环
|
|
163
|
-
{
|
|
164
|
-
type: 'gauge',
|
|
165
|
-
startAngle: 0,
|
|
166
|
-
endAngle: 360,
|
|
167
|
-
radius,
|
|
168
|
-
// 刻度间隔
|
|
169
|
-
pointer: {
|
|
170
|
-
show: false,
|
|
171
|
-
},
|
|
172
|
-
animation: false,
|
|
173
|
-
progress: {
|
|
174
|
-
show: true,
|
|
175
|
-
width: 15,
|
|
176
|
-
itemStyle: {
|
|
177
|
-
// 条纹渐变 → 虚线效果
|
|
178
|
-
color: {
|
|
179
|
-
image: createLinearGradientRect({
|
|
180
|
-
width: radius * 2,
|
|
181
|
-
height: radius * 2,
|
|
182
|
-
bgColor: bgCanvas,
|
|
183
|
-
|
|
184
|
-
// 下半圆环的裁剪位置
|
|
185
|
-
y: radius * 2 * (1 - value / 100),
|
|
186
|
-
|
|
187
|
-
// 下半圆环的颜色
|
|
188
|
-
startColor:
|
|
189
|
-
value < limit
|
|
190
|
-
? 'rgb(255,255,255)'
|
|
191
|
-
: 'rgb(255,214,214)',
|
|
192
|
-
endColor:
|
|
193
|
-
value < limit
|
|
194
|
-
? 'rgb(0,100,255)'
|
|
195
|
-
: 'rgb(255,103,103)',
|
|
196
|
-
}), // HTMLCanvasElement
|
|
197
|
-
repeat: 'no-repeat',
|
|
198
|
-
},
|
|
199
|
-
},
|
|
200
|
-
},
|
|
201
|
-
axisLine: {
|
|
202
|
-
show: false,
|
|
203
|
-
},
|
|
204
|
-
// 大刻度
|
|
205
|
-
splitLine: {
|
|
206
|
-
show: false,
|
|
207
|
-
},
|
|
208
|
-
// 小刻度
|
|
209
|
-
axisTick: {
|
|
210
|
-
show: false,
|
|
211
|
-
},
|
|
212
|
-
axisLabel: {
|
|
213
|
-
show: false,
|
|
214
|
-
},
|
|
215
|
-
data: [
|
|
216
|
-
{
|
|
217
|
-
value: 100,
|
|
218
|
-
},
|
|
219
|
-
],
|
|
220
|
-
detail: {
|
|
221
|
-
show: false,
|
|
222
|
-
},
|
|
223
|
-
z: 2,
|
|
224
|
-
},
|
|
225
|
-
],
|
|
226
|
-
};
|
|
227
|
-
chart.setOption(option);
|
|
228
|
-
};
|
|
229
|
-
</script>
|
|
230
|
-
|
|
231
|
-
<template>
|
|
232
|
-
<div ref="boxRef" class="c1"></div>
|
|
233
|
-
</template>
|
|
234
|
-
|
|
235
|
-
<style scoped lang="scss">
|
|
236
|
-
.c1 {
|
|
237
|
-
height: 300px;
|
|
238
|
-
}
|
|
239
|
-
</style>
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import PageLayout from '@/components/PageLayout.vue';
|
|
3
|
-
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
4
|
-
</script>
|
|
5
|
-
|
|
6
|
-
<template>
|
|
7
|
-
<PageLayout>
|
|
8
|
-
<DemoBox
|
|
9
|
-
title="如何撤回刚刚的提交?"
|
|
10
|
-
code="git reset --soft HEAD~1"
|
|
11
|
-
:libs="['git']"
|
|
12
|
-
>
|
|
13
|
-
git reset --soft HEAD~1
|
|
14
|
-
</DemoBox>
|
|
15
|
-
<DemoBox
|
|
16
|
-
title="切换远程地址"
|
|
17
|
-
code="git remote set-url origin"
|
|
18
|
-
:libs="['git']"
|
|
19
|
-
>
|
|
20
|
-
git remote set-url origin <新的仓库地址>
|
|
21
|
-
</DemoBox>
|
|
22
|
-
<DemoBox
|
|
23
|
-
title="如何抹去一些提交记录(慎用)"
|
|
24
|
-
:libs="['git']"
|
|
25
|
-
code="git push --force"
|
|
26
|
-
>
|
|
27
|
-
<img src="./img/img.png" alt="" />
|
|
28
|
-
|
|
29
|
-
操作如下
|
|
30
|
-
|
|
31
|
-
<img src="./img/img_1.png" alt="" />
|
|
32
|
-
|
|
33
|
-
此时 IDE
|
|
34
|
-
会提示你拉取远程分支(这是因为此时的本地分支比远程分支少了一些记录),不用理会,然后(只能)强行推送
|
|
35
|
-
<img src="./img/img_2.png" alt="" />
|
|
36
|
-
</DemoBox>
|
|
37
|
-
</PageLayout>
|
|
38
|
-
</template>
|
|
39
|
-
<style scoped lang="scss">
|
|
40
|
-
img {
|
|
41
|
-
max-width: 100%;
|
|
42
|
-
}
|
|
43
|
-
</style>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { ref, useTemplateRef } from 'vue';
|
|
3
|
-
import { EInput } from 'exploria-ui';
|
|
4
|
-
|
|
5
|
-
const count = ref(10);
|
|
6
|
-
const colorList = [
|
|
7
|
-
'#ca4545',
|
|
8
|
-
'#c85656',
|
|
9
|
-
'#6dbf57',
|
|
10
|
-
'#3dae9c',
|
|
11
|
-
'#9b4aba',
|
|
12
|
-
'#ac954a',
|
|
13
|
-
'#57c393',
|
|
14
|
-
];
|
|
15
|
-
const usingRef = useTemplateRef<HTMLElement>('using');
|
|
16
|
-
const showCount = ref<number>(Infinity);
|
|
17
|
-
const aa = () => {
|
|
18
|
-
const container = usingRef.value!.querySelector('.flex-box') as HTMLElement;
|
|
19
|
-
const a = () => {
|
|
20
|
-
setTimeout(() => {
|
|
21
|
-
if (collapse.value) {
|
|
22
|
-
if (showCount.value === count.value) {
|
|
23
|
-
collapse.value = false;
|
|
24
|
-
showCount.value = Infinity;
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
showCount.value++;
|
|
29
|
-
a();
|
|
30
|
-
} else {
|
|
31
|
-
if (container.clientHeight <= 63 || showCount.value === 1) {
|
|
32
|
-
collapse.value = true;
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
if (showCount.value === Infinity) {
|
|
36
|
-
showCount.value = count.value - 1;
|
|
37
|
-
} else {
|
|
38
|
-
showCount.value--;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
a();
|
|
42
|
-
}
|
|
43
|
-
}, 100);
|
|
44
|
-
};
|
|
45
|
-
a();
|
|
46
|
-
};
|
|
47
|
-
const collapse = ref(false);
|
|
48
|
-
</script>
|
|
49
|
-
|
|
50
|
-
<template>
|
|
51
|
-
<div class="using" ref="using">
|
|
52
|
-
<div class="header" style="margin-bottom: 10px">
|
|
53
|
-
<EInput type="number" v-model="count" />
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
<div style="display: flex; flex-wrap: wrap; gap: 20px" class="flex-box">
|
|
57
|
-
<template v-for="num in count" :key="num">
|
|
58
|
-
<Transition name="fade-in">
|
|
59
|
-
<div
|
|
60
|
-
style="padding: 20px"
|
|
61
|
-
:style="{
|
|
62
|
-
backgroundColor:
|
|
63
|
-
colorList[Math.floor(num / colorList.length)],
|
|
64
|
-
}"
|
|
65
|
-
v-if="num <= showCount"
|
|
66
|
-
>
|
|
67
|
-
{{ num }}
|
|
68
|
-
</div>
|
|
69
|
-
</Transition>
|
|
70
|
-
</template>
|
|
71
|
-
|
|
72
|
-
<div
|
|
73
|
-
style="
|
|
74
|
-
margin-left: auto;
|
|
75
|
-
align-self: flex-end;
|
|
76
|
-
background-color: rebeccapurple;
|
|
77
|
-
padding: 5px;
|
|
78
|
-
color: white;
|
|
79
|
-
"
|
|
80
|
-
@click="aa"
|
|
81
|
-
>
|
|
82
|
-
按钮
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
86
|
-
</template>
|
|
87
|
-
|
|
88
|
-
<style scoped lang="scss">
|
|
89
|
-
.using {
|
|
90
|
-
.flex-box {
|
|
91
|
-
overflow: hidden;
|
|
92
|
-
transition: height 1s ease;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.fade-in-enter-active,
|
|
96
|
-
.fade-in-leave-active {
|
|
97
|
-
transition: opacity 0.3s ease;
|
|
98
|
-
}
|
|
99
|
-
.fade-in-enter-from,
|
|
100
|
-
.fade-in-leave-to {
|
|
101
|
-
opacity: 0;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
</style>
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { nextTick, onMounted, ref, useTemplateRef } from 'vue';
|
|
3
|
-
|
|
4
|
-
const count = 20;
|
|
5
|
-
const colorList = [
|
|
6
|
-
'#ca4545',
|
|
7
|
-
'#c85656',
|
|
8
|
-
'#6dbf57',
|
|
9
|
-
'#3dae9c',
|
|
10
|
-
'#9b4aba',
|
|
11
|
-
'#ac954a',
|
|
12
|
-
'#57c393',
|
|
13
|
-
];
|
|
14
|
-
|
|
15
|
-
const padding = 20;
|
|
16
|
-
const collapsedContentHeight = 63;
|
|
17
|
-
const collapsedHeight = collapsedContentHeight + padding * 2;
|
|
18
|
-
|
|
19
|
-
let timer: ReturnType<typeof setTimeout>;
|
|
20
|
-
const duration = 700;
|
|
21
|
-
const usingRef = useTemplateRef<HTMLElement>('using');
|
|
22
|
-
const aa = () => {
|
|
23
|
-
const container = usingRef.value!;
|
|
24
|
-
if (collapse.value) {
|
|
25
|
-
collapse.value = false; // 显示里层按钮
|
|
26
|
-
nextTick(() => {
|
|
27
|
-
container.style.height = 'auto';
|
|
28
|
-
const { height } = container.getBoundingClientRect();
|
|
29
|
-
|
|
30
|
-
const button = container.querySelector('.animation') as HTMLElement;
|
|
31
|
-
button
|
|
32
|
-
.animate(
|
|
33
|
-
[
|
|
34
|
-
{
|
|
35
|
-
transform: `translateY(-${height - collapsedHeight}px)`,
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
transform: `translateY(0)`,
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
{
|
|
42
|
-
duration,
|
|
43
|
-
}
|
|
44
|
-
)
|
|
45
|
-
.play();
|
|
46
|
-
container.style.height = `${collapsedHeight}px`;
|
|
47
|
-
container.clientHeight;
|
|
48
|
-
container.style.height = `${height}px`;
|
|
49
|
-
loading.value = true;
|
|
50
|
-
clearTimeout(timer);
|
|
51
|
-
timer = setTimeout(() => {
|
|
52
|
-
container.style.height = 'auto';
|
|
53
|
-
loading.value = false;
|
|
54
|
-
clearTimeout(timer);
|
|
55
|
-
}, duration);
|
|
56
|
-
});
|
|
57
|
-
} else {
|
|
58
|
-
container.style.height = `${container.clientHeight}px`;
|
|
59
|
-
container.clientHeight;
|
|
60
|
-
container.style.height = `${collapsedHeight}px`;
|
|
61
|
-
collapse.value = true;
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
const collapse = ref(true);
|
|
65
|
-
const loading = ref(false);
|
|
66
|
-
|
|
67
|
-
onMounted(() => {
|
|
68
|
-
usingRef.value!.style.height = `${collapsedHeight}px`;
|
|
69
|
-
});
|
|
70
|
-
const maxWidth = ref('');
|
|
71
|
-
</script>
|
|
72
|
-
|
|
73
|
-
<template>
|
|
74
|
-
<div
|
|
75
|
-
class="using"
|
|
76
|
-
ref="using"
|
|
77
|
-
style="
|
|
78
|
-
display: flex;
|
|
79
|
-
align-content: flex-start;
|
|
80
|
-
align-items: flex-start;
|
|
81
|
-
"
|
|
82
|
-
v-size-ob="
|
|
83
|
-
(width: number) => {
|
|
84
|
-
maxWidth = width / 5 + 'px';
|
|
85
|
-
}
|
|
86
|
-
"
|
|
87
|
-
:style="{
|
|
88
|
-
padding: `${padding}px`,
|
|
89
|
-
transition: `height ${duration}ms linear`,
|
|
90
|
-
}"
|
|
91
|
-
>
|
|
92
|
-
<div
|
|
93
|
-
class="mark"
|
|
94
|
-
v-if="loading"
|
|
95
|
-
:style="{
|
|
96
|
-
padding: `${padding}px`,
|
|
97
|
-
}"
|
|
98
|
-
>
|
|
99
|
-
<div
|
|
100
|
-
class="animation"
|
|
101
|
-
style="
|
|
102
|
-
margin-left: auto;
|
|
103
|
-
align-self: flex-end;
|
|
104
|
-
background-color: rebeccapurple;
|
|
105
|
-
padding: 5px;
|
|
106
|
-
color: white;
|
|
107
|
-
"
|
|
108
|
-
@click="aa"
|
|
109
|
-
>
|
|
110
|
-
按钮
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
<div
|
|
114
|
-
style="
|
|
115
|
-
display: flex;
|
|
116
|
-
flex-wrap: wrap;
|
|
117
|
-
gap: 20px;
|
|
118
|
-
flex: 1;
|
|
119
|
-
box-sizing: border-box;
|
|
120
|
-
"
|
|
121
|
-
>
|
|
122
|
-
<div
|
|
123
|
-
style="padding: 20px; flex: 1; min-width: 280px"
|
|
124
|
-
:style="{
|
|
125
|
-
backgroundColor:
|
|
126
|
-
colorList[Math.floor(num / colorList.length)],
|
|
127
|
-
maxWidth,
|
|
128
|
-
}"
|
|
129
|
-
v-for="num in count"
|
|
130
|
-
:key="num"
|
|
131
|
-
>
|
|
132
|
-
{{ num }}
|
|
133
|
-
</div>
|
|
134
|
-
|
|
135
|
-
<div
|
|
136
|
-
class="animation"
|
|
137
|
-
style="
|
|
138
|
-
margin-left: auto;
|
|
139
|
-
align-self: flex-end;
|
|
140
|
-
background-color: rebeccapurple;
|
|
141
|
-
padding: 5px;
|
|
142
|
-
color: white;
|
|
143
|
-
"
|
|
144
|
-
:style="{ opacity: loading ? 0 : 1 }"
|
|
145
|
-
@click="aa"
|
|
146
|
-
v-show="!collapse"
|
|
147
|
-
>
|
|
148
|
-
按钮
|
|
149
|
-
</div>
|
|
150
|
-
</div>
|
|
151
|
-
<div
|
|
152
|
-
style="
|
|
153
|
-
margin-left: auto;
|
|
154
|
-
align-self: flex-end;
|
|
155
|
-
background-color: rebeccapurple;
|
|
156
|
-
padding: 5px;
|
|
157
|
-
color: white;
|
|
158
|
-
"
|
|
159
|
-
@click="aa"
|
|
160
|
-
v-if="collapse"
|
|
161
|
-
>
|
|
162
|
-
按钮
|
|
163
|
-
</div>
|
|
164
|
-
</div>
|
|
165
|
-
</template>
|
|
166
|
-
|
|
167
|
-
<style scoped lang="scss">
|
|
168
|
-
.using {
|
|
169
|
-
position: relative;
|
|
170
|
-
overflow: hidden;
|
|
171
|
-
gap: 20px;
|
|
172
|
-
|
|
173
|
-
.mark {
|
|
174
|
-
position: absolute;
|
|
175
|
-
display: flex;
|
|
176
|
-
inset: 0;
|
|
177
|
-
align-items: flex-end;
|
|
178
|
-
cursor: not-allowed;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
</style>
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { ref } from 'vue';
|
|
3
|
-
|
|
4
|
-
const text = ref('123');
|
|
5
|
-
</script>
|
|
6
|
-
|
|
7
|
-
<template>
|
|
8
|
-
<div class="using">
|
|
9
|
-
<div class="header">
|
|
10
|
-
<input type="text" v-model="text" />
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
<div class="flex-box">
|
|
14
|
-
<div class="a">
|
|
15
|
-
我是a
|
|
16
|
-
<br />
|
|
17
|
-
{{ text }}
|
|
18
|
-
</div>
|
|
19
|
-
<div class="b">我是b</div>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
</template>
|
|
23
|
-
|
|
24
|
-
<style scoped lang="scss">
|
|
25
|
-
.using {
|
|
26
|
-
overflow: auto;
|
|
27
|
-
|
|
28
|
-
.flex-box {
|
|
29
|
-
height: 400px;
|
|
30
|
-
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #65a596);
|
|
31
|
-
display: flex;
|
|
32
|
-
flex-direction: row;
|
|
33
|
-
|
|
34
|
-
.a {
|
|
35
|
-
flex-grow: 1;
|
|
36
|
-
background-color: rgba(80, 149, 86, 0.56);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// 当 .a 的宽度 大于 .flex-box 的宽度的 1/2 时,.b 的宽度会被压缩
|
|
40
|
-
.b {
|
|
41
|
-
flex-grow: 1;
|
|
42
|
-
background-color: rgba(228, 168, 168, 0.46);
|
|
43
|
-
display: grid;
|
|
44
|
-
place-items: center;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
</style>
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import DemoBox from '@/components/DemoBox/DemoBox.vue';
|
|
3
|
-
import BaseCode from './Base.vue?raw';
|
|
4
|
-
import Base from './Base.vue';
|
|
5
|
-
import GridCode from './Grid.vue?raw';
|
|
6
|
-
import Grid from './Grid.vue';
|
|
7
|
-
import PageLayout from '@/components/PageLayout.vue';
|
|
8
|
-
import Height100 from './Height100.vue';
|
|
9
|
-
import Height100Code from './Height100.vue?raw';
|
|
10
|
-
import Advanced from './Advanced.vue';
|
|
11
|
-
import Advanced2 from './Advanced2.vue';
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
<template>
|
|
15
|
-
<PageLayout>
|
|
16
|
-
<DemoBox title="介绍"> </DemoBox>
|
|
17
|
-
<DemoBox :code="BaseCode" :libs="[]" title="压缩问题">
|
|
18
|
-
<Base />
|
|
19
|
-
</DemoBox>
|
|
20
|
-
|
|
21
|
-
<DemoBox :code="Height100Code" :libs="[]" title="高度为父容器的100">
|
|
22
|
-
<Height100 />
|
|
23
|
-
</DemoBox>
|
|
24
|
-
|
|
25
|
-
<DemoBox
|
|
26
|
-
:code="GridCode"
|
|
27
|
-
:libs="['marked', 'xss']"
|
|
28
|
-
title="API接口流式返回的情况"
|
|
29
|
-
>
|
|
30
|
-
<Grid />
|
|
31
|
-
</DemoBox>
|
|
32
|
-
<DemoBox :code="GridCode" :libs="[]" title="高级">
|
|
33
|
-
<Advanced />
|
|
34
|
-
</DemoBox>
|
|
35
|
-
<DemoBox :code="GridCode" :libs="[]" title="高级2">
|
|
36
|
-
<Advanced2 />
|
|
37
|
-
</DemoBox>
|
|
38
|
-
</PageLayout>
|
|
39
|
-
</template>
|
|
40
|
-
|
|
41
|
-
<style scoped lang="scss">
|
|
42
|
-
.time-picker-demo {
|
|
43
|
-
display: flex;
|
|
44
|
-
flex-direction: row;
|
|
45
|
-
overflow: auto;
|
|
46
|
-
|
|
47
|
-
.left {
|
|
48
|
-
flex: 1;
|
|
49
|
-
overflow: auto;
|
|
50
|
-
padding: 30px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.right {
|
|
54
|
-
width: 260px;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
</style>
|