diff --git a/locales/en.yaml b/locales/en.yaml
index f17dd4ce0..e72a50e29 100644
--- a/locales/en.yaml
+++ b/locales/en.yaml
@@ -101,6 +101,7 @@ menus:
hsExecl: Export Excel
hsInfiniteScroll: Table Infinite Scroll
hsSensitive: Sensitive Filter
+ hsPinyin: PinYin
hsdanmaku: Danmaku Components
hsPureTableBase: Base Usage
hsPureTableHigh: High Usage
diff --git a/locales/zh-CN.yaml b/locales/zh-CN.yaml
index e3f255aaf..5e56ac0b3 100644
--- a/locales/zh-CN.yaml
+++ b/locales/zh-CN.yaml
@@ -101,6 +101,7 @@ menus:
hsExecl: 导出Excel
hsInfiniteScroll: 表格无限滚动
hsSensitive: 敏感词过滤
+ hsPinyin: 汉语拼音
hsdanmaku: 弹幕组件
hsPureTableBase: 基础用法(23个示例)
hsPureTableHigh: 高级用法(11个示例)
diff --git a/package.json b/package.json
index f4e9218e4..a9c0b5f70 100644
--- a/package.json
+++ b/package.json
@@ -58,6 +58,7 @@
"nprogress": "^0.2.0",
"path": "^0.12.7",
"pinia": "^2.1.4",
+ "pinyin-pro": "^3.15.2",
"qrcode": "^1.5.3",
"qs": "^6.11.2",
"responsive-storage": "^2.2.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d2e6cb5d6..c8e25e1f6 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -60,6 +60,7 @@ specifiers:
path: ^0.12.7
picocolors: ^1.0.0
pinia: ^2.1.4
+ pinyin-pro: ^3.15.2
postcss: ^8.4.24
postcss-html: ^1.5.0
postcss-import: ^15.1.0
@@ -145,6 +146,7 @@ dependencies:
nprogress: 0.2.0
path: 0.12.7
pinia: 2.1.4_typescript@5.0.4+vue@3.3.4
+ pinyin-pro: 3.15.2
qrcode: 1.5.3
qs: 6.11.2
responsive-storage: 2.2.0
@@ -8922,6 +8924,13 @@ packages:
vue-demi: 0.14.5_vue@3.3.4
dev: false
+ /pinyin-pro/3.15.2:
+ resolution:
+ {
+ integrity: sha512-kvbPYwTzz3mXZj7OLheB6LysDi/lIPRFvSXX6fCko03l4joruzrn+2GfO9BqIsHSjqipeH6qPB3jIfl8iRUQWA==
+ }
+ dev: false
+
/pirates/4.0.5:
resolution:
{
diff --git a/src/router/modules/able.ts b/src/router/modules/able.ts
index 73d052703..dfba0adfe 100644
--- a/src/router/modules/able.ts
+++ b/src/router/modules/able.ts
@@ -155,6 +155,15 @@ export default {
title: $t("menus.hsSensitive"),
extraIcon: "IF-pure-iconfont-new svg"
}
+ },
+ {
+ path: "/able/pinyin",
+ name: "Pinyin",
+ component: () => import("@/views/able/pinyin.vue"),
+ meta: {
+ title: $t("menus.hsPinyin"),
+ extraIcon: "IF-pure-iconfont-new svg"
+ }
}
]
} as RouteConfigsTable;
diff --git a/src/views/able/pinyin.vue b/src/views/able/pinyin.vue
new file mode 100644
index 000000000..e5bcf7341
--- /dev/null
+++ b/src/views/able/pinyin.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+