wechat-weapp-gank's People
Forkers
vipshao lstnull zbage hongliuxing monteshy jinstrive macrodcj jiashilei-1985 shotolee neil-orzzh lysongzi lovehanyang oh-my-android liycjia heart2009 swiftywang pangrongxian lyc-changeworld canmeidanxue xinlongyang lapsong chivalry02 koujie5 maxmax2016 jucaipen pp8790 dongyanxiong lsanotes augmify yefan813 fanyingkai rockystevejobs yanyanlun lesleydeng lifetea web-yuzm cnmark shitou9999 oppaa sn790519 liweiww123 jokerni wxappdev dmyy2007 zjanhoo pishimai liangbaochang joeliu1985 shaopus wqs0908 sunminghong diguokaituozhe zzxb mancmgithub nasirqrn zhuylong dongfangpiaoyang cfirmo33 tantantanj jokereng shijinliang aben1188 liangshan-li noopsyche nianjin777 huangchen0 yjzhen qwlong dut3062796s emaiqi woaker winziyuan luckylukezl fu2302 manlan2 magic-coder eternallovelin hetianjun mywechatapp scvq haveotom huoran559 ioriwellings newsn zzc1990 looknd simcyber jiubadao muxi166 dark-deer bengle xusulong andy521 smartui zhuwangvip timmytian incidunt xyz1o2 jinligen kevinedisonwechat-weapp-gank's Issues
内嵌网页和播放视频如果客户端完全禁掉应该没办法吧
请求数据的时候提示: https://gank.io/api/history/content/10/1 不在以下合法域名列表中
请求数据的时候提示: https://gank.io/api/history/content/10/1 不在以下合法域名列表中
已经配置了request合法域名 https://gank.io 还有这个问题,求解决
请教一个问题:小程序保存的音频文件如何调用播放,谢谢
var music_url = 'http://yinyueshiting.baidu.com/data2/music/122873158/49046814400128.mp3?xcode=4e68ea1f9b0fc6c384b505fb6b038464'
wx.downloadFile({
url: music_url,
type: 'audio',
fail: function(res){
console.log(res,'downloadFile.fail')
},
success: function(res) {
var tempFilePath = res.tempFilePath
wx.playBackgroundAudio({//不行!
dataUrl: tempFilePath
})
console.log(tempFilePath,'res.tempFilePath')
wx.saveFile({
tempFilePath: tempFilePath,
success: function(res) {
wx.playBackgroundAudio({//也不行!
dataUrl: res.savedFilePath
})
}
})
},
})
如何获得一个已经存在的htmll元素的对象呢?
我现在想动态的在页面上创建标签,比如我想动态的在页面上添加view,通过parseFromString创建完对象后必须成为某个已存在的元素的子节点吧,那么必须得获得已存在元素的对象,该如何获得呢?
appid有问题
刚刚试了下你的appid有问题能再帮忙提供个吗
兼容性bug
在项目中,发现没有使用wx.getSystemInfo这个API去获取使用机型的系统信息。
然后通过windowWidth,windowHeight和safeArea来调整小程序的布局设置。
没有通过wx.getSystemInfo的适配,在部分机型上可能会出现一些样式问题。
您好,方便确认一下该问题吗
代码大小超出范围
导入项目Gank项目,并在预览的时候“提示Error: 代码包大小为 4877 kb,上限为 2048 kb,请删除文件后重试”,虽然小程序有大小限制问题,你如何解决这个问题?
图片简析有误
关于简析图片的问题。因为gank返回的图片URLl不一定都是ww开头的。你可以尝试下获取100个数据的时候,有些早期的图片URL不是这个的。我这边做了这样的处理:
var re = new RegExp("[a-zA-z]+://[^\"]*");
var title = itemData.content.split("img alt=")[1].match(re)[0];
if( -1 != (title.search("//ww"))){
var src = title.replace("//ww", "//ws");
}else{
var src = title;
}
关于项目中解析HTML代码块部分
我个人其实是对项目中那样的解析方式很不满意的,觉得代码写的太烂了。各位如果有什么更好更简洁的方式来解析HTML代码块的话欢迎提出哈
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.