feat: 开发英语启蒙的入口页
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* 通用标签 / 胶囊样式
|
||||
*
|
||||
* 用法:在页面 less 中 @import '../../style/tags.less',
|
||||
* 然后在 wxml 里直接用 class="tag tag--age" / class="tag tag--diff"。
|
||||
*/
|
||||
|
||||
.tag {
|
||||
display: inline-block;
|
||||
font-size: 20rpx;
|
||||
// line-height: 1;
|
||||
line-height: 20rpx;
|
||||
padding: 8rpx 10rpx;
|
||||
border-radius: 10rpx;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tag--age {
|
||||
background: #ffd709;
|
||||
color: #6c5a00;
|
||||
}
|
||||
|
||||
.tag--diff {
|
||||
background: #6cc24a;
|
||||
color: #ffffff;
|
||||
}
|
||||
Reference in New Issue
Block a user