-
Notifications
You must be signed in to change notification settings - Fork 277
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
fix(backtop): correct classname #35
Conversation
padding: 0; | ||
margin-top: 0; | ||
} | ||
} | ||
|
||
&.round, | ||
&.half-round { | ||
&.@{prefix}-is-round, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@{prefix}--round
&.round, | ||
&.half-round { | ||
&.@{prefix}-is-round, | ||
&.@{prefix}-is-half-round { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@{prefix}--half-round
<t-icon wx:if="{{!!icon}}" class="icon t-class-icon" name="{{icon}}" /> | ||
<view wx:if="{{ !!text }}" class="text t-class-text"> {{ text }} </view> | ||
<view | ||
class="{{prefix}}-class {{classPrefix}} {{fixed ? prefix + '-is-fixed' : ''}} {{prefix + '-is-' + theme}}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{classPrefix + '--' + theme}}
我参考的是 TDesign 命名规范: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Backtop: 纠正 classname