一、空格:
//使用   (占中文字符一半的大小)
<view>
<text decode="true">姓  名</text>
</view>
//使用   (占中文字符的大小)
<view>
<text decode="true">姓  名</text>
</view>
//使用 (根据字体设置)
<view>
<text decode="true">性 名</text>
</view>
在<text>标签中
带上 decode="true" 属性显示效果
记得 ; 分号换行
二、换行:
//使用\n:在文本中使用\n表示换行,例如:"第一行\n第二行"
//使用<text>标签嵌套:在 <text> 标签内使用 <br> 标签表示换行,例如:
<text>
第一行<br/>
第二行
</text>