问大家一个简单布局问题嘛
代码如下
< view class = "box" > < text class = "a" >¥</ text > < text class = "b" >6.00</ text > < text class = "c" >12.00</ text > </ view > .box{ height:100rpx; display:flex; flex-direction: row; align-items: flex-end; background-color: #FF2D4B; } .a{ font-size: 20rpx; } .b{ font-size: 40rpx; } .c{ font-size: 28rpx; } |
运行效果:
期望:
就是希望a,b,c三个类底部对其。。为什么没对齐呢?