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;
  }
}

 

 

posted @ 2021-01-27 11:58  多喝热水,早点睡觉  阅读(487)  评论(0编辑  收藏  举报