前言
、、打算做一个云音乐全平台生态
2020-11-26
开撸小程序
1.wx.request的使用
获取banner的imgurl
_get_swiperimg(){
var _this = this
const url = "http://localhost:3000/homepage/block/page"
wx.request({
url,
success(res){console.log(res.data.data.blocks[0].extInfo.banners)
_this.setData({
swiperImgUrls : res.data.data.blocks[0].extInfo.banners
})
}
})
},
2020-12-02
完善小程序