From cf693a5227f17bbf2201512128d267281a8c5695 Mon Sep 17 00:00:00 2001
From: Riku <risaku@163.com>
Date: 星期二, 13 八月 2024 23:49:20 +0800
Subject: [PATCH] 设备信息模块
---
miniprogram_npm/tdesign-miniprogram/notice-bar/README.en-US.md | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/miniprogram_npm/tdesign-miniprogram/notice-bar/README.en-US.md b/miniprogram_npm/tdesign-miniprogram/notice-bar/README.en-US.md
index 6d98c4a..9abafcd 100644
--- a/miniprogram_npm/tdesign-miniprogram/notice-bar/README.en-US.md
+++ b/miniprogram_npm/tdesign-miniprogram/notice-bar/README.en-US.md
@@ -10,6 +10,7 @@
external-classes | Array | - | `['t-class', 't-class-content', 't-class-prefix-icon', 't-class-operation', 't-class-suffix-icon']` | N
operation | String / Slot | - | \- | N
marquee | Boolean / Object | false | Typescript锛歚boolean \| DrawMarquee` `interface DrawMarquee { speed?: number; loop?: number; delay?: number }`銆俒see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/notice-bar/type.ts) | N
+interval | Number | 2000 | - | N
prefix-icon | String / Boolean/ Object / Slot | - | \- | N
suffix-icon | String / Boolean / Object / Slot | - | \- | N
theme | String | info | options锛歩nfo/success/warning/error | N
@@ -21,3 +22,21 @@
name | params | description
-- | -- | --
click | `(trigger: NoticeBarTrigger)` | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/notice-bar/type.ts)銆�<br/>`type NoticeBarTrigger = 'prefix-icon' \| 'content' \| 'operation' \| 'suffix-icon';`<br/>
+change | `(current: number, source: '' \| 'autoplay' \| 'touch')` | `direction="vertical"`
+
+
+### CSS Variables
+The component provides the following CSS variables, which can be used to customize styles.
+Name | Default Value | Description
+-- | -- | --
+--td-notice-bar-error-bg-color | @error-color-1 | -
+--td-notice-bar-error-color | @error-color-6 | -
+--td-notice-bar-font-color | @font-gray-1 | -
+--td-notice-bar-info-bg-color | @brand-color-light | -
+--td-notice-bar-info-color | @brand-color | -
+--td-notice-bar-operation-font-color | @brand-color | -
+--td-notice-bar-success-bg-color | @success-color-1 | -
+--td-notice-bar-success-color | @success-color | -
+--td-notice-bar-suffix-icon-color | @font-gray-3 | -
+--td-notice-bar-warning-bg-color | @warning-color-1 | -
+--td-notice-bar-warning-color | @warning-color | -
--
Gitblit v1.9.3