mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Badge info font weight (#687)
This commit is contained in:
parent
31be42bc8c
commit
7d3768591f
@ -45,4 +45,9 @@ body {
|
|||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.van-doc-demo-section {
|
||||||
|
margin-top: -46px;
|
||||||
|
padding-top: 46px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -105,8 +105,6 @@ export default {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$emit('input', true);
|
|
||||||
|
|
||||||
// 如果属性中传入了`zIndex`,则覆盖`context`中对应的`zIndex`
|
// 如果属性中传入了`zIndex`,则覆盖`context`中对应的`zIndex`
|
||||||
if (this.zIndex !== undefined) {
|
if (this.zIndex !== undefined) {
|
||||||
context.zIndex = this.zIndex;
|
context.zIndex = this.zIndex;
|
||||||
@ -127,6 +125,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.$el.style.zIndex = context.plusKey('zIndex');
|
this.$el.style.zIndex = context.plusKey('zIndex');
|
||||||
|
this.$emit('input', true);
|
||||||
this.opened = true;
|
this.opened = true;
|
||||||
|
|
||||||
if (this.preventScroll) {
|
if (this.preventScroll) {
|
||||||
|
@ -44,8 +44,9 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 2px;
|
top: 2px;
|
||||||
right: 2px;
|
right: 2px;
|
||||||
|
color: $white;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
color: $white;
|
font-weight: normal;
|
||||||
transform: scale(0.8);
|
transform: scale(0.8);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user