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)}>
|
<div class={bem()} {...inherit(ctx)}>
|
||||||
{props.showAddCartBtn && (
|
{props.showAddCartBtn && (
|
||||||
<Button
|
<Button
|
||||||
square
|
|
||||||
size="large"
|
size="large"
|
||||||
type="warning"
|
type="warning"
|
||||||
text={props.addCartText || '加入购物车'}
|
text={props.addCartText || '加入购物车'}
|
||||||
@ -37,7 +36,6 @@ function SkuActions(
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<Button
|
<Button
|
||||||
square
|
|
||||||
size="large"
|
size="large"
|
||||||
type="danger"
|
type="danger"
|
||||||
text={props.buyText || '立即购买'}
|
text={props.buyText || '立即购买'}
|
||||||
|
@ -322,13 +322,16 @@
|
|||||||
font-size: @font-size-md;
|
font-size: @font-size-md;
|
||||||
line-height: 34px;
|
line-height: 34px;
|
||||||
border: none;
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
|
||||||
&:first-of-type {
|
&:first-of-type {
|
||||||
border-radius: 18px 0 0 18px;
|
border-top-left-radius: 18px;
|
||||||
|
border-bottom-left-radius: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-of-type {
|
&:last-of-type {
|
||||||
border-radius: 0 18px 18px 0;
|
border-top-right-radius: 18px;
|
||||||
|
border-bottom-right-radius: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--warning {
|
&--warning {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user