价格符号伪元素样式提取

This commit is contained in:
jqtmviyu@gmail.com 2021-02-27 22:07:53 +08:00
parent 1f2b9bebd7
commit 92d8bbbfcd
2 changed files with 7 additions and 6 deletions

View File

@ -46,4 +46,11 @@
height: 100%;
}
}
//
.price::before {
content: "¥";
font-size: 100%;
margin-right: 3rpx;
}
</style>

View File

@ -179,12 +179,6 @@ export default {
flex: 1;
font-size: 36rpx;
color: #eb4450;
//
&::before {
content: "¥";
font-size: 80%;
margin-right: 3rpx;
}
}
.iconfont {