feat 在线客服和详细中心整改
This commit is contained in:
@@ -44,6 +44,7 @@ function countOf(value: MessageType | 'all', counts: MessageTabCounts): number {
|
||||
gap: 2px;
|
||||
min-height: 0;
|
||||
padding: @spacing-sm 0;
|
||||
border: 1px solid @border-color;
|
||||
border-radius: @radius-base;
|
||||
background: @white;
|
||||
box-sizing: border-box;
|
||||
@@ -76,17 +77,22 @@ function countOf(value: MessageType | 'all', counts: MessageTabCounts): number {
|
||||
|
||||
&__count {
|
||||
flex-shrink: 0;
|
||||
min-width: 15px;
|
||||
height: 15px;
|
||||
padding: 0 4px;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
padding: 0 @spacing-xs;
|
||||
border-radius: @radius-round;
|
||||
background: @message-tabs-badge;
|
||||
color: @white;
|
||||
font-size: 10px;
|
||||
font-weight: 400;
|
||||
line-height: 15px;
|
||||
background: @bg-color-light;
|
||||
color: @text-color-secondary;
|
||||
font-size: @font-size-xs;
|
||||
font-weight: 500;
|
||||
line-height: 18px;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
&__tab.is-active &__count {
|
||||
background: fade(@primary-strong, 12%);
|
||||
color: @primary-strong;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user