From 41d14c947c8c41147f61f467d803da0ea1313560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=A5=E6=9C=88?= <1106600+chizuki@user.noreply.gitee.com> Date: Sat, 5 Apr 2025 07:03:39 +0000 Subject: [PATCH] =?UTF-8?q?!1=20feat:=20=E5=AE=9E=E7=8E=B0=E6=BB=91?= =?UTF-8?q?=E5=9D=97=E7=BB=84=E4=BB=B6=20Merge=20pull=20request=20!1=20fro?= =?UTF-8?q?m=20=E7=9F=A5=E6=9C=88/feat/slider?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/calc/index.ts | 10 +- frontend/src/components/calc/slider/index.vue | 204 ++++++++++++++++++ 2 files changed, 210 insertions(+), 4 deletions(-) create mode 100644 frontend/src/components/calc/slider/index.vue diff --git a/frontend/src/components/calc/index.ts b/frontend/src/components/calc/index.ts index 8a4a97a6..2be4ca9a 100644 --- a/frontend/src/components/calc/index.ts +++ b/frontend/src/components/calc/index.ts @@ -1,7 +1,7 @@ import type { App } from "vue" import Button from "./button/index.vue" import Tabs from "./tabs/index.vue" -import Tab from "./tab.vue" +import Tab from "./tab/index.vue" import Select from "./select/index.vue" import Option from "./option/index.vue" import Menu from "./menu/menu.vue" @@ -9,8 +9,9 @@ import Checkbox from "./checkbox/index.vue" import Collapse from "./collapse/index.vue" import Dialog from "./dialog/index.vue" import Tooltip from "./tooltip/index.vue" -import Iconselct from "./iconselct/index.vue" +import Iconselect from "./iconselect/index.vue" import Selection from "./selection/index.vue" +import Slider from "./slider/index.vue" export const components = { @@ -24,8 +25,9 @@ export const components = { Collapse, Dialog, Tooltip, - Iconselct, - Selection + Iconselect, + Selection, + Slider } export type CalcComponents = typeof components diff --git a/frontend/src/components/calc/slider/index.vue b/frontend/src/components/calc/slider/index.vue new file mode 100644 index 00000000..50161b8e --- /dev/null +++ b/frontend/src/components/calc/slider/index.vue @@ -0,0 +1,204 @@ + + + +