<rich-text nodes="{{content}}" style="font-size:14px;" space="emsp"></rich-text>
content為后端返回數據
content = content.replace(/\<img/gi, '<img style="max-width:100%;height:auto" ')
過濾設置最大width
this.setData({content:content})