Giter Site home page Giter Site logo

wechatmeizhi's Issues

一个兼容性bug

在项目中,发现没有使用wx.getSystemInfo这个API去获取使用机型的系统信息。
然后通过windowWidth,windowHeight和safeArea来调整小程序的布局设置。

没有通过wx.getSystemInfo的适配,在部分机型上可能会出现一些样式问题。

您好,方便确认一下该问题吗

你这个项目我下载下来运行就报错了

onLoad
asdebug.js:1 Thu May 25 2017 11:23:04 GMT+0800 (**标准时间) 合法域名校验出错
asdebug.js:1 如若已经在管理后台更新域名配置,请刷新项目配置后重新编译项目,操作路径:“项目-配置信息-刷新”
asdebug.js:1 http://gank.io/api/data/%E7%A6%8F%E5%88%A9/10/1 不在以下合法域名列表中,请参考文档:https://mp.weixin.qq.com/debug/wxadoc/dev/api/network-request.htmlr @ asdebug.js:1v @ asdebug.js:1a @ asdebug.js:1o @ WAService.js:4u @ WAService.js:4request @ WAService.js:3(anonymous function) @ WAService.js:4requestData @ index.js [sm]:68onLoad @ index.js [sm]:39(anonymous function) @ WAService.js:7A @ WAService.js:7O @ WAService.js:7j @ WAService.js:7(anonymous function) @ WAService.js:7(anonymous function) @ WAService.js:7(anonymous function) @ WAService.js:4(anonymous function) @ WAService.js:4(anonymous function) @ WAService.js:4(anonymous function) @ asdebug.js:1n.emit @ asdebug.js:1r @ asdebug.js:1g @ asdebug.js:1(anonymous function) @ asdebug.js:1
asdebug.js:1 Array[0]
VM97:1 Thu May 25 2017 11:23:04 GMT+0800 (**标准时间) WXML Runtime warning
VM97:2 ./pages/index/index.wxml
VM97:3 Now you can provide attr "wx:key" for a "wx:for" to improve performance.
2 |
3 |

4 |
| ^
5 |
6 |
7 |

您好,请教index.js中,bindDate() 里的第一句。

function bindData( itemData ) {

  var url = itemData.url.replace( "//ww", "//ws" ); //???
  // var url = itemData.url;

  var desc = itemData.desc;
  var who = itemData.who;
  var times = itemData.publishedAt.split( "T" )[ 0 ];

  mUrl.push( url );
  mDesc.push( desc );
  mWho.push( who );
  mTimes.push( times );
  mTitles.push( "publish by:" + "@" + who + " —— " + times );
}

请问为什么要用replace做这个置换呢,它的作用是什么?我试着去掉它,结果图片不显示。多谢多谢。

您好,请教下API的问题。

请问将“福利”转为“%E7%A6%8F%E5%88%A9”,后者这属于什么码?
ps 测试时这个链接报错了,虽然点击它能正常返回数据。

发现一个点击图片保存的问题(bug?)

问题:

看图说话:

2016-10-11 13 24 39

点击确定之后会一直在下载

猜测可能是因为 wx.downloadFile() 还不能在目前的微信开发工具中正常工作?

TIPS:

我可以吐槽吗?。。。。demo的妹纸不够味道啊!哼哼哼

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.