摘要: 1.获取数据方法: let that =this; wx.request({ url: baseUrl + "/processRecord/sectionlist", data: { openid: '', uuid: '' }, method: 'Get', header: { //'conten 阅读全文
posted @ 2022-05-05 10:59 Shapley 阅读(1475) 评论(0) 推荐(0) 编辑
摘要: 1.准备工作: 申请微信公众号,准备好微信开发者工具及后端开发工具。 2.微信公众号测试号配置流程: 接口配置为一个公网可以访问的地址,用来接收微信服务器的验证请求,请求内容为: 开发者通过检验signature对请求进行校验(下面有校验方式)。若确认此次GET请求来自微信服务器,请原样返回echo 阅读全文
posted @ 2022-05-05 10:58 Shapley 阅读(9067) 评论(0) 推荐(0) 编辑
摘要: 一:导航 导航分两种做法: 做法1: 使用系统自带导航,只需要在app.json文件中定义tabBar,并设置"custom": false,这样即使你在系统根目录下添加了custom-tab-bar组件,那么系统还会按照app.json中设置的方式,这种设置比较简单,不需要在项目的根目录添加cus 阅读全文
posted @ 2022-05-05 10:57 Shapley 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 1tab-bar tabbar里面定义方式为: "pages":[ "pages/state/state" ], "tabBar": { "custom": true, "color": "#7A7E83", "selectedColor": "#3cc51f", "borderStyle": "b 阅读全文
posted @ 2022-05-05 10:57 Shapley 阅读(75) 评论(0) 推荐(0) 编辑