From a61e5fef4566350e771377500dafdbcd46a23d3b Mon Sep 17 00:00:00 2001 From: byq1213 Date: Sun, 18 Aug 2024 19:22:09 +0800 Subject: [PATCH] docs(radio): update radio api_v2. --- docs/mobile/api/radio.en-US.md | 35 ++++++++++++++++++++ docs/mobile/api/radio.md | 28 +++++++++++++--- style/mobile/components/radio/v2/_index.less | 2 +- 3 files changed, 59 insertions(+), 6 deletions(-) create mode 100644 docs/mobile/api/radio.en-US.md diff --git a/docs/mobile/api/radio.en-US.md b/docs/mobile/api/radio.en-US.md new file mode 100644 index 0000000000..b40f1af955 --- /dev/null +++ b/docs/mobile/api/radio.en-US.md @@ -0,0 +1,35 @@ +--- +title: Radio +description: Used to perform a single selection in a preset set of options and render the result of the selection. +spline: base +isComponent: true +toc: false +--- + +### Portrait Radio + +{{ base }} + +### Horizontal Radio + +{{ horizontal }} + +### Radio Status + +{{ status }} + +### Check Style + +{{ icon }} + +### Check The Display Location + +{{ placement }} + +### Non-Field Radio + +{{ card }} + +### Special Style + +{{ custom }} diff --git a/docs/mobile/api/radio.md b/docs/mobile/api/radio.md index 643e9f40be..8e2fc1e4db 100644 --- a/docs/mobile/api/radio.md +++ b/docs/mobile/api/radio.md @@ -6,12 +6,30 @@ isComponent: true toc: false --- -### 基础单选框 - -使用场景:基本文本框 +### 纵向单选框 {{ base }} -### 单选项组 +### 横向单选框 + +{{ horizontal }} + +### 单选框状态 + +{{ status }} + +### 勾选样式 + +{{ icon }} + +### 勾选显示位置 + +{{ placement }} + +### 非通栏单选框 + +{{ card }} + +### 特殊样式 -{{ group }} +{{ custom }} \ No newline at end of file diff --git a/style/mobile/components/radio/v2/_index.less b/style/mobile/components/radio/v2/_index.less index 64f49134e6..15112b1cbf 100644 --- a/style/mobile/components/radio/v2/_index.less +++ b/style/mobile/components/radio/v2/_index.less @@ -169,6 +169,6 @@ } &__icon-wrap { - display: block; + display: block !important; } }