摘要: 在methods中使用 goodsList(id){ // console.log(id) uni.navigateTo({ url:"../detail/detail?id="+id, }) } goofsList()绑定到点击的元素上 括号内加入要传递的元素 在跳转页面中使用 onLoad(id 阅读全文
posted @ 2021-04-09 17:07 98。 阅读(400) 评论(0) 推荐(0)
摘要: /** * 请求头 */ var header = { 'content-type': 'application/x-www-form-urlencoded', 'Authorization': "Bearer " + wx.getStorageSync("token"), 'os': 'andro 阅读全文
posted @ 2021-04-09 17:04 98。 阅读(106) 评论(0) 推荐(0)