小程序(富文本rich-text的图片自适应)

wxml:


js:
http.post(postdata).then(res => { console.log(res); wx.hideLoading(); if (res.data.code === '0000') { // 将img宽度100%; 高度自适应 res.data.data.content = res.data.data.content.replace(/\小程序(富文本rich-text的图片自适应)

【小程序(富文本rich-text的图片自适应)】

    推荐阅读