小程序文字手动换行view没效果,用text可以

  <view class="des3 cirle" >

      <text> 雨量\n{ {sk.rain}}</text>

    </view>

实现效果如下

猜你喜欢

转载自blog.csdn.net/a913222/article/details/121002303