摘要: 在微信小程序开发过程中,有时候会用到常用的一些特殊字符如:‘<’、‘>’、‘&’、‘空格’等,微信小程序同样支持对转义字符的处理, decode属性默认为false,不会解析我们的特殊字符,我们通过设置decode属性为true,并且调用其转义字符即可实现该特殊字符的显示。 decode可以解析的有 阅读全文
posted @ 2019-05-21 14:30 bingxiaoxiao 阅读(3442) 评论(0) 推荐(0)
摘要: onPageScroll: function (e) { // console.log(e) if (e.scrollTop > 100) { this.setData({ floorstatus: true }); } else { this.setData({ floorstatus: false... 阅读全文
posted @ 2019-05-21 13:35 bingxiaoxiao 阅读(852) 评论(0) 推荐(0)