摘要: 开发:idea+tomcat+小程序开发平台 小程序平台:index.js页面这边添加点击绑定事件 bindtest:function(){ wx.request({ url: 'http://localhost:8080/first-webapp/testConnect', data:{ user 阅读全文
posted @ 2018-07-12 17:30 SuperTan 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 数据绑定可以用{{}}进行存取值。 循环控制:wx:for控制属性,下标变量名为index,数组当前项变量名为item exports:对外共享模块的私有变量和函数。module.exports(对外暴露服务) 微信模块:wxs模块有内置的module对象。() require函数引用模块:只能引用 阅读全文
posted @ 2018-07-12 16:28 SuperTan 阅读(147) 评论(0) 推荐(0) 编辑