diff --git a/locales/en.yaml b/locales/en.yaml index 2aa5a24cf5..2f3b01ef6f 100644 --- a/locales/en.yaml +++ b/locales/en.yaml @@ -92,6 +92,7 @@ menus: pureDraggable: Draggable pureSplitPane: Split Pane pureText: Text Ellipsis + pureSlider: Slider pureElButton: Button pureButton: Button Animation pureCheckButton: Check Button diff --git a/locales/zh-CN.yaml b/locales/zh-CN.yaml index 0287a09558..7b039f33ec 100644 --- a/locales/zh-CN.yaml +++ b/locales/zh-CN.yaml @@ -92,6 +92,7 @@ menus: pureDraggable: 拖拽 pureSplitPane: 切割面板 pureText: 文本省略 + pureSlider: 滑块 pureElButton: 按钮 pureCheckButton: 可选按钮 pureButton: 按钮动效 diff --git a/src/components/ReText/src/index.vue b/src/components/ReText/src/index.vue index ecaebdbb8e..eddf70ba18 100644 --- a/src/components/ReText/src/index.vue +++ b/src/components/ReText/src/index.vue @@ -1,4 +1,4 @@ - + + + + diff --git a/src/views/components/slider/components/Input.vue b/src/views/components/slider/components/Input.vue new file mode 100644 index 0000000000..78928d3ca8 --- /dev/null +++ b/src/views/components/slider/components/Input.vue @@ -0,0 +1,24 @@ + + + + + diff --git a/src/views/components/slider/components/Marks.vue b/src/views/components/slider/components/Marks.vue new file mode 100644 index 0000000000..b3867296e1 --- /dev/null +++ b/src/views/components/slider/components/Marks.vue @@ -0,0 +1,43 @@ + + + + + diff --git a/src/views/components/slider/components/Placement.vue b/src/views/components/slider/components/Placement.vue new file mode 100644 index 0000000000..5d09999294 --- /dev/null +++ b/src/views/components/slider/components/Placement.vue @@ -0,0 +1,40 @@ + + + + + diff --git a/src/views/components/slider/components/Range.vue b/src/views/components/slider/components/Range.vue new file mode 100644 index 0000000000..bf17ea3a7c --- /dev/null +++ b/src/views/components/slider/components/Range.vue @@ -0,0 +1,24 @@ + + + + + diff --git a/src/views/components/slider/components/Size.vue b/src/views/components/slider/components/Size.vue new file mode 100644 index 0000000000..c31c382f4c --- /dev/null +++ b/src/views/components/slider/components/Size.vue @@ -0,0 +1,23 @@ + + + + + diff --git a/src/views/components/slider/components/Step.vue b/src/views/components/slider/components/Step.vue new file mode 100644 index 0000000000..3783af8e25 --- /dev/null +++ b/src/views/components/slider/components/Step.vue @@ -0,0 +1,45 @@ + + + + + diff --git a/src/views/components/slider/components/Vertical.vue b/src/views/components/slider/components/Vertical.vue new file mode 100644 index 0000000000..c5e11922bf --- /dev/null +++ b/src/views/components/slider/components/Vertical.vue @@ -0,0 +1,24 @@ + + + + + diff --git a/src/views/components/slider/components/index.ts b/src/views/components/slider/components/index.ts new file mode 100644 index 0000000000..ad8ac28a4b --- /dev/null +++ b/src/views/components/slider/components/index.ts @@ -0,0 +1,8 @@ +export { default as Base } from "./Base.vue"; +export { default as Step } from "./Step.vue"; +export { default as Size } from "./Size.vue"; +export { default as Input } from "./Input.vue"; +export { default as Range } from "./Range.vue"; +export { default as Marks } from "./Marks.vue"; +export { default as Vertical } from "./Vertical.vue"; +export { default as Placement } from "./Placement.vue"; diff --git a/src/views/components/slider/index.vue b/src/views/components/slider/index.vue new file mode 100644 index 0000000000..8ab1134cde --- /dev/null +++ b/src/views/components/slider/index.vue @@ -0,0 +1,56 @@ + + + diff --git a/src/views/components/text.vue b/src/views/components/text.vue index 20f609da5e..fa4f4236c3 100644 --- a/src/views/components/text.vue +++ b/src/views/components/text.vue @@ -1,4 +1,4 @@ -