[improvement] GoodsAction: update style (#3782)

This commit is contained in:
neverland
2019-07-09 11:15:33 +08:00
committed by GitHub
parent 6bc836beab
commit dac3bd3997
5 changed files with 14 additions and 16 deletions
+2 -5
View File
@@ -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;
}
}
+1 -1
View File
@@ -35,7 +35,7 @@ function GoodsActionIcon(
<div
role="button"
tabindex="0"
class={[bem(), 'van-hairline']}
class={bem()}
onClick={onClick}
{...inherit(ctx)}
>