From f46786f11c5c08ead7501a82e5a71430ad69b782 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期日, 27 四月 2025 17:39:24 +0800 Subject: [PATCH] 修复线索问题定位错误问题 --- miniprogram_npm/tdesign-miniprogram/switch/README.md | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/miniprogram_npm/tdesign-miniprogram/switch/README.md b/miniprogram_npm/tdesign-miniprogram/switch/README.md index baa96b2..754faf6 100644 --- a/miniprogram_npm/tdesign-miniprogram/switch/README.md +++ b/miniprogram_npm/tdesign-miniprogram/switch/README.md @@ -18,6 +18,12 @@ ## 浠g爜婕旂ず +<a href="https://developers.weixin.qq.com/s/ea6Lpim37ISs" title="鍦ㄥ紑鍙戣�呭伐鍏蜂腑棰勮鏁堟灉" target="_blank" rel="noopener noreferrer"> 鍦ㄥ紑鍙戣�呭伐鍏蜂腑棰勮鏁堟灉 </a> + +<blockquote style="background-color: #d9e1ff; font-size: 15px; line-height: 26px;margin: 16px 0 0;padding: 16px; border-radius: 6px; color: #0052d9" > +<p>Tips: 璇风‘淇濆紑鍙戣�呭伐鍏蜂负鎵撳紑鐘舵�併�傚鍏ュ紑鍙戣�呭伐鍏峰悗锛屼緷娆℃墽琛岋細npm i > 鏋勫缓npm鍖� > 鍕鹃�� "灏咼S缂栬瘧鎴怑S5"</p> +</blockquote> + ### 鍩虹寮�鍏� {{ base }} @@ -57,3 +63,40 @@ 鍚嶇О | 鍙傛暟 | 鎻忚堪 -- | -- | -- change | `(value: SwitchValue)` | 鏁版嵁鍙戠敓鍙樺寲鏃惰Е鍙� + + +### CSS 鍙橀噺 +缁勪欢鎻愪緵浜嗕笅鍒� CSS 鍙橀噺锛屽彲鐢ㄤ簬鑷畾涔夋牱寮忋�� +鍚嶇О | 榛樿鍊� | 鎻忚堪 +-- | -- | -- +--td-switch-checked-color | @brand-color | - +--td-switch-checked-disabled-color | @brand-color-disabled | - +--td-switch-dot-border-color | @bg-color-secondarycontainer | - +--td-switch-dot-horizontal-margin | 6rpx | - +--td-switch-dot-large-size | 52rpx | - +--td-switch-dot-plain-horizontal-margin | 10rpx | - +--td-switch-dot-plain-large-size | 44rpx | - +--td-switch-dot-plain-size | 36rpx | - +--td-switch-dot-plain-small-size | 28rpx | - +--td-switch-dot-shadow | @shadow-1 | - +--td-switch-dot-size | 44rpx | - +--td-switch-dot-small-size | 36rpx | - +--td-switch-height | 56rpx | - +--td-switch-icon-large-size | 48rpx | - +--td-switch-icon-size | 40rpx | - +--td-switch-icon-small-size | 32rpx | - +--td-switch-label-checked-color | @switch-checked-color | - +--td-switch-label-color | @font-gray-4 | - +--td-switch-label-font-size | 28rpx | - +--td-switch-label-large-font-size | 32rpx | - +--td-switch-label-small-font-size | 24rpx | - +--td-switch-large-height | 64rpx | - +--td-switch-large-radius | calc(@switch-large-height / 2) | - +--td-switch-large-width | 104rpx | - +--td-switch-radius | calc(@switch-height / 2) | - +--td-switch-small-height | 48rpx | - +--td-switch-small-radius | calc(@switch-small-height / 2) | - +--td-switch-small-width | 78rpx | - +--td-switch-unchecked-color | @font-gray-4 | - +--td-switch-unchecked-disabled-color | @bg-color-component-disabled | - +--td-switch-width | 90rpx | - -- Gitblit v1.9.3