[improvement] GoodsAction: update style (#3782)
This commit is contained in:
@@ -6,16 +6,12 @@
|
||||
justify-content: center;
|
||||
min-width: @goods-action-icon-width;
|
||||
height: @goods-action-icon-height;
|
||||
color: @goods-action-icon-color;
|
||||
color: @goods-action-icon-text-color;
|
||||
font-size: @goods-action-icon-font-size;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
background-color: @white;
|
||||
|
||||
&:not(:first-child)::after {
|
||||
border-left-width: 1px;
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: @goods-action-icon-active-color;
|
||||
}
|
||||
@@ -23,6 +19,7 @@
|
||||
&__icon {
|
||||
width: 1em;
|
||||
margin: 0 auto 5px;
|
||||
color: @goods-action-icon-color;
|
||||
font-size: @goods-action-icon-size;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ function GoodsActionIcon(
|
||||
<div
|
||||
role="button"
|
||||
tabindex="0"
|
||||
class={[bem(), 'van-hairline']}
|
||||
class={bem()}
|
||||
onClick={onClick}
|
||||
{...inherit(ctx)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user