文本内容保留空格和回车符 使用 css 属性 :white-space:pre-wrap <view style="white-space:pre-wrap"> 文本内容保留空格和回车符 </view>