摘要: 代码实现 接口请求有问题的话请看我上一篇文章:小程序如何请求接口数据 html <block class="order-list"> <view class="list" wx:for="{{allData}}"> <view> <image src="{{item.goods_logo}}" al 阅读全文
posted @ 2021-08-05 17:07 eternityAsr 阅读(324) 评论(0) 推荐(0)
摘要: 代码实现 1、新建文件请求接口域名 2、封装接口 2-1、方法一:新建一个api.js var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typ 阅读全文
posted @ 2021-08-05 12:02 eternityAsr 阅读(640) 评论(0) 推荐(0)