From 84fac70fc627c9e15620000cf34fac69ce6da628 Mon Sep 17 00:00:00 2001 From: haoziqaq <357229046@qq.com> Date: Fri, 12 Mar 2021 16:31:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(cli,ui):=20icon=20=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E5=92=8C=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit affects: @varlet/cli, @varlet/ui --- packages/varlet-cli/site/pc/App.vue | 2 +- packages/varlet-cli/site/site.config.json | 14 +- packages/varlet-ui/src/icon/Icon.vue | 86 +++++----- packages/varlet-ui/src/icon/docs/en-US.md | 158 +++++++++++++++++ packages/varlet-ui/src/icon/docs/zh-CN.md | 160 ++++++++++++++++++ packages/varlet-ui/src/icon/example/index.vue | 123 +++++++++++--- .../src/icon/example/locale/en-US.ts | 11 ++ .../src/icon/example/locale/index.ts | 23 +++ .../src/icon/example/locale/zh-CN.ts | 11 ++ packages/varlet-ui/src/icon/icon.less | 2 +- packages/varlet-ui/src/icon/props.ts | 14 +- packages/varlet-ui/varlet.config.js | 14 +- 12 files changed, 527 insertions(+), 91 deletions(-) create mode 100644 packages/varlet-ui/src/icon/example/locale/en-US.ts create mode 100644 packages/varlet-ui/src/icon/example/locale/index.ts create mode 100644 packages/varlet-ui/src/icon/example/locale/zh-CN.ts diff --git a/packages/varlet-cli/site/pc/App.vue b/packages/varlet-cli/site/pc/App.vue index 983bd2e37be..1dd66facdca 100644 --- a/packages/varlet-cli/site/pc/App.vue +++ b/packages/varlet-cli/site/pc/App.vue @@ -1,6 +1,6 @@