diff --git a/locales/en.yaml b/locales/en.yaml index 82686ba92c..29f983d7a8 100644 --- a/locales/en.yaml +++ b/locales/en.yaml @@ -60,6 +60,7 @@ menus: hsDatePicker: Date Picker hsDateTimePicker: DateTimePicker hsTimePicker: TimePicker + hsStatistic: Statistic hsmenus: MultiLevel Menu hsmenu1: Menu1 hsmenu1-1: Menu1-1 diff --git a/locales/zh-CN.yaml b/locales/zh-CN.yaml index f1081ba041..5c7f396c9d 100644 --- a/locales/zh-CN.yaml +++ b/locales/zh-CN.yaml @@ -60,6 +60,7 @@ menus: hsDatePicker: 日期选择器 hsDateTimePicker: 日期时间选择器 hsTimePicker: 时间选择器 + hsStatistic: 统计组件 hsmenus: 多级菜单 hsmenu1: 菜单1 hsmenu1-1: 菜单1-1 diff --git a/src/router/modules/components.ts b/src/router/modules/components.ts index 142e2df73a..978a933c8b 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/statistic", + name: "Statistic", + component: () => import("@/views/components/statistic.vue"), + meta: { + title: $t("menus.hsStatistic") + } + }, { path: "/components/cascader", name: "Cascader", diff --git a/src/views/components/statistic.vue b/src/views/components/statistic.vue new file mode 100644 index 0000000000..478ba59c04 --- /dev/null +++ b/src/views/components/statistic.vue @@ -0,0 +1,84 @@ + + + + + + + + + 统计组件 + + + + + + + + + + + + + + + + + Reset + + + + + + + + + 距离下个月还剩 + + + + {{ value2.format("YYYY-MM-DD") }} + + + + + + +