From c0e28222ffd6ef5ea60cf4a82b15ea7d8d601424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8F=A8=E5=8F=A8?= Date: Thu, 13 Jun 2024 11:35:06 +0800 Subject: [PATCH] Feat: Badge add some new features. --- examples/docs/en-US/badge.md | 95 +++++++++++++++++++++++----------- examples/docs/es/badge.md | 95 +++++++++++++++++++++++----------- examples/docs/fr-FR/badge.md | 95 +++++++++++++++++++++++----------- examples/docs/zh-CN/badge.md | 98 +++++++++++++++++++++++++----------- packages/badge/src/main.vue | 27 ++++++++-- types/badge.d.ts | 15 ++++++ 6 files changed, 306 insertions(+), 119 deletions(-) diff --git a/examples/docs/en-US/badge.md b/examples/docs/en-US/badge.md index 9f9a687d701..48356163415 100644 --- a/examples/docs/en-US/badge.md +++ b/examples/docs/en-US/badge.md @@ -9,35 +9,62 @@ Displays the amount of new messages. :::demo The amount is defined with `value` which accepts `Number` or `String`. ```html - - comments - - - replies - - - comments - - - replies - - - - - Click Me - - - - comments - - - - replies - - - - - + +