const API_URL = 'https://api.douban.com/v2/movie';
var getData = function(self,params) {
wx.request({
url: API_URL + params,
//data: {},
//method: 'GET', // OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT
header: { 'Content-Type': 'json' }, // 设置请求的 header
success: function(res){
// success
//console.log(res.data);
if(res.data.subjects) {
self.setData({
title: res.data.title,
subjects: res.data.subjects
})
}else {
//console.log(res.data);
self.setData({
title: res.data.title,
subjects: res.data
})
}
},
fail: function() {
// fail
},
complete: function() {
// complete
}
})
}
module.exports = getData;
没有合适的资源?快使用搜索试试~ 我知道了~
微信小程序demo:豆瓣(源代码+截图)
共52个文件
png:20个
js:9个
json:7个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 8 浏览量
2022-06-19
17:19:32
上传
评论
收藏 1021KB ZIP 举报
温馨提示
微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)微信小程序demo:豆瓣(源代码+截图)
资源推荐
资源详情
资源评论
收起资源包目录
微信小程序demo:豆瓣(源代码+截图).zip (52个子文件)
微信小程序demo:豆瓣
demo导入说明.docx 182KB
myWeappDemo-master
utils
util.js 481B
app.wxss 1KB
app.js 800B
pages
.wxml 44B
list
list.json 2B
list.js 496B
list.wxss 0B
list.wxml 936B
.js 322B
search
search.wxss 0B
search.wxml 986B
search.json 2B
search.js 558B
splash
splash.wxml 272B
splash.js 286B
splash.wxss 560B
splash.json 2B
.wxss 17B
board
board.json 2B
board.wxss 639B
board.wxml 2KB
board.js 161B
.json 2B
item
item.wxml 653B
item.json 2B
item.wxss 452B
item.js 491B
app.json 1KB
images
wechat.jpeg 26KB
arrowright.png 1KB
note.png 1KB
star.png 3KB
profile-actived.png 2KB
profile.png 3KB
board-actived.png 1KB
safari-actived.png 2KB
home-actived.png 2KB
home.png 2KB
loading.gif 46KB
search.png 2KB
board.png 1KB
star-actived.png 2KB
search-actived.png 2KB
note-actived.png 2KB
safari.png 3KB
screenshot
5.png 107KB
3.png 287KB
4.png 13KB
1.png 215KB
2.png 123KB
lib
common.js 852B
共 52 条
- 1
资源评论
- 2401_838588742024-04-24资源很赞,希望多一些这类资源。
荣华富贵8
- 粉丝: 122
- 资源: 7649
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功