index.wxss
652 Bytes
.info {
position: absolute;
}
.dot-class {
top: 0;
right: -2rpx;
width: 10rpx;
height: 10rpx;
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
background: #F36261;
}
.info-class {
top: 0;
right: -10rpx;
color: #fff;
font-size: 20rpx;
width: 36rpx;
height: 22rpx;
line-height: 22rpx;
border-radius: 22rpx;
background: #F36261;
border-radius: 12rpx;
text-align: center;
-webkit-border-radius: 22rpx;
-moz-border-radius: 22rpx;
-ms-border-radius: 22rpx;
-o-border-radius: 22rpx;
}