mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Sku: incorrect button border radius (#3966)
This commit is contained in:
parent
3c2270a5ad
commit
d3178c85d7
@ -29,7 +29,6 @@ function SkuActions(
|
||||
<div class={bem()} {...inherit(ctx)}>
|
||||
{props.showAddCartBtn && (
|
||||
<Button
|
||||
square
|
||||
size="large"
|
||||
type="warning"
|
||||
text={props.addCartText || '加入购物车'}
|
||||
@ -37,7 +36,6 @@ function SkuActions(
|
||||
/>
|
||||
)}
|
||||
<Button
|
||||
square
|
||||
size="large"
|
||||
type="danger"
|
||||
text={props.buyText || '立即购买'}
|
||||
|
@ -322,13 +322,16 @@
|
||||
font-size: @font-size-md;
|
||||
line-height: 34px;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
|
||||
&:first-of-type {
|
||||
border-radius: 18px 0 0 18px;
|
||||
border-top-left-radius: 18px;
|
||||
border-bottom-left-radius: 18px;
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
border-radius: 0 18px 18px 0;
|
||||
border-top-right-radius: 18px;
|
||||
border-bottom-right-radius: 18px;
|
||||
}
|
||||
|
||||
&--warning {
|
||||
|
Loading…
x
Reference in New Issue
Block a user