Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add description for Radio #1064

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

changlin2569
Copy link
Contributor

@changlin2569 changlin2569 commented Jan 25, 2024

支持这个 issue 👉 #1042

Uploading image.png…

docs: add radio description docs
docs: add RadioGroup description doc
Copy link

codecov bot commented Jan 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d7e466f) 89.55% compared to head (1f95e79) 89.83%.
Report is 36 commits behind head on master.

❗ Current head 1f95e79 differs from pull request most recent head 0a8fe86. Consider uploading reports for the commit 0a8fe86 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1064      +/-   ##
==========================================
+ Coverage   89.55%   89.83%   +0.28%     
==========================================
  Files         144      144              
  Lines        3321     3315       -6     
  Branches      815      812       -3     
==========================================
+ Hits         2974     2978       +4     
+ Misses        293      283      -10     
  Partials       54       54              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines 99 to 100
opacity: @radio-item-description;
color: @COLOR_TEXT_PRIMARY;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是不是可以用这个颜色?

@@ -19,3 +19,6 @@

/* color | disabled状态背景色 */
@radio-disabled-background: @COLOR_GREY_CARD;

/* radio 选项描述透明度 */
@radio-item-description: 0.6;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个删掉吧。 用 @COLOR_TEXT_ASSIST;

@@ -65,5 +72,14 @@ export default (
</View>
</View>
</Label>
{typeof description === 'string' && (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不要用 typeof , 这个在微信不支持。 用 description && 就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants