[bugfix] Badge info font weight (#687)

This commit is contained in:
neverland 2018-03-14 10:28:51 +08:00 committed by GitHub
parent 31be42bc8c
commit 7d3768591f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

View File

@ -45,4 +45,9 @@ body {
text-transform: capitalize;
}
}
.van-doc-demo-section {
margin-top: -46px;
padding-top: 46px;
}
</style>

View File

@ -105,8 +105,6 @@ export default {
return;
}
this.$emit('input', true);
// 如果属性中传入了`zIndex`,则覆盖`context`中对应的`zIndex`
if (this.zIndex !== undefined) {
context.zIndex = this.zIndex;
@ -127,6 +125,7 @@ export default {
}
this.$el.style.zIndex = context.plusKey('zIndex');
this.$emit('input', true);
this.opened = true;
if (this.preventScroll) {

View File

@ -44,8 +44,9 @@
position: absolute;
top: 2px;
right: 2px;
color: $white;
font-size: 10px;
color: $white;
font-weight: normal;
transform: scale(0.8);
text-align: center;
box-sizing: border-box;