...
 
Commits (2)
    https://gitcode.net/vk-uni/vk-uview-ui/-/commit/4d1d135d7e5a63f991d62f26adaeca3aca35d3df u-button 支持 info 类型 2023-04-26T17:33:37+08:00 VK 370725567@qq.com https://gitcode.net/vk-uni/vk-uview-ui/-/commit/7593ac6e91536de046c9d10958c654bcf643c77e 修复u-card圆角问题:https://gitee.com/vk-uni/vk-uview-ui/issues/I6PNBA 2023-04-26T18:13:26+08:00 VK 370725567@qq.com
......@@ -464,6 +464,22 @@ export default {
border-color: $u-type-warning-disabled!important;
background-color: $u-type-warning-light!important;
}
&--info {
color: #ffffff;
border-color: $u-type-info;
background-color: $u-type-info;
}
&--info--disabled {
color: #ffffff!important;
border-color: $u-type-info-disabled!important;
background-color: $u-type-info-disabled!important;
}
&--info--plain {
color: $u-type-info!important;
border-color: $u-type-info-disabled!important;
background-color: $u-type-info-light!important;
}
}
.u-hairline-border:after {
......
......@@ -4,7 +4,7 @@
@tap.stop="click"
:class="{ 'u-border': border, 'u-card-full': full, 'u-card--border': borderRadius > 0 }"
:style="{
borderRadius: borderRadius + 'rpx',
'--radius': borderRadius + 'rpx',
margin: margin,
boxShadow: boxShadow
}"
......@@ -267,7 +267,7 @@ export default {
}
&--border:after {
border-radius: 16rpx;
border-radius: var(--radius,16rpx);
}
&__head {
......