Score
0
Watch 21 Star 48 Fork 11

许剑锋 / weapp-bilibiliwechat

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
微信小程序B站 - 微信小程序demo spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

weapp-bilibili

微信小程序B站 - 微信小程序demo

效果图

jwxa-api

个人比较喜欢jQuery、Zepto方式操作,总觉得wx.request(OBJECT)不如$.get()来的快和舒服,所以封装了下这个工具js,欢迎发泄吐槽QQ群:301926812。

$.get

$.get('https://www.bilibili.com/api_proxy?app=bangumi&action=timeline_v2', function (res) {
  $.data('bangumiList', res.data.list.splice(0, 6));
});

$.data

$.data('liveList', $.parseJSON(data).data);

厚脸皮使用B站官方API(非常感谢)

更新日志(2017-01-12)

  • 新增jwxa-api.js
  • 自定义Swiper组件的dot
  • 首页Banner、热门推荐、在线直播、番剧更新数据动态加载

Comments ( 0 )

Sign in for post a comment

wechat
1
https://gitee.com/xujian_jason/weapp-bilibili.git
git@gitee.com:xujian_jason/weapp-bilibili.git
xujian_jason
weapp-bilibili
weapp-bilibili
master

Help Search

205735 778617b6 1899542 205747 347fc4a1 1899542