其他分享
首页 > 其他分享> > css 币种与价格的底部对齐

css 币种与价格的底部对齐

作者:互联网

<view class='money'>
<view style="flex: 1;">
<text class="real-curr">{{currencyed}}</text>
<text class="real-price">{{changeAMT(goods.productAttr.price,exchangeRate)}}</text>
</view>
</view>

 

.money {
  margin-top: 20rpx;
  padding-right: 20rpx;
  font-size: 30rpx;
  color: #ff7124;
  display: flex;
  .real-curr{
    font-size: 22rpx;
    margin-right: 6rpx;
  }
}

 

 

标签:right,curr,币种,20rpx,对齐,font,margin,css,size
来源: https://www.cnblogs.com/chenshaoxiong/p/14334238.html