From 0d6362db73292384e070a04347e174b9fdd2bd55 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Fri, 19 Jan 2024 19:06:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/en.yaml | 1 + locales/zh-CN.yaml | 1 + src/router/modules/components.ts | 8 ++ src/views/components/statistic.vue | 6 +- src/views/components/tag.vue | 172 +++++++++++++++++++++++++++++ 5 files changed, 185 insertions(+), 3 deletions(-) create mode 100644 src/views/components/tag.vue diff --git a/locales/en.yaml b/locales/en.yaml index 29f983d7a..797eb03f7 100644 --- a/locales/en.yaml +++ b/locales/en.yaml @@ -60,6 +60,7 @@ menus: hsDatePicker: Date Picker hsDateTimePicker: DateTimePicker hsTimePicker: TimePicker + hsTag: Tag hsStatistic: Statistic hsmenus: MultiLevel Menu hsmenu1: Menu1 diff --git a/locales/zh-CN.yaml b/locales/zh-CN.yaml index 5c7f396c9..02379836d 100644 --- a/locales/zh-CN.yaml +++ b/locales/zh-CN.yaml @@ -60,6 +60,7 @@ menus: hsDatePicker: 日期选择器 hsDateTimePicker: 日期时间选择器 hsTimePicker: 时间选择器 + hsTag: 标签 hsStatistic: 统计组件 hsmenus: 多级菜单 hsmenu1: 菜单1 diff --git a/src/router/modules/components.ts b/src/router/modules/components.ts index 978a933c8..0e446ec03 100644 --- a/src/router/modules/components.ts +++ b/src/router/modules/components.ts @@ -107,6 +107,14 @@ export default { title: $t("menus.hsbutton") } }, + { + path: "/components/tag", + name: "PureTag", + component: () => import("@/views/components/tag.vue"), + meta: { + title: $t("menus.hsTag") + } + }, { path: "/components/statistic", name: "Statistic", diff --git a/src/views/components/statistic.vue b/src/views/components/statistic.vue index 478ba59c0..e36cc4f59 100644 --- a/src/views/components/statistic.vue +++ b/src/views/components/statistic.vue @@ -56,13 +56,13 @@ function reset() { format="HH:mm:ss" :value="value1" /> - - Reset + + 重置 - +