摘要: 小程序中默认是不支持html格式没有<p>标签,但是有些接口需要返回带有标签的,例如 : 隐私协议; 解决方法: 小程序中有一个富文本标签组件,前端可以解析H5标签就是 rich-text、wxParse 一、<rich-text> : <rich-text nodes="{{content}}"> 阅读全文
posted @ 2020-02-17 16:58 YJUI 阅读(5978) 评论(0) 推荐(0)
摘要: 微信小程序ajax函数封装 阅读全文
posted @ 2020-02-17 15:55 YJUI 阅读(1169) 评论(0) 推荐(0)
摘要: 微信小程序适配 阅读全文
posted @ 2020-02-17 15:06 YJUI 阅读(381) 评论(0) 推荐(0)
摘要: 一、请求发送 携带 code 到后台换取 openid var that = this; wx.login({ success(res) { console.log(res); var code = res.code wx.request({ url: 'http://localhost//wech 阅读全文
posted @ 2020-02-17 14:59 YJUI 阅读(2731) 评论(0) 推荐(0)