项目作者: CoderTonyChan

项目描述 :
wepy store tony
高级语言: JavaScript
项目地址: git://github.com/CoderTonyChan/wepy-tony-store.git
创建时间: 2018-01-16T07:04:29Z
项目社区:https://github.com/CoderTonyChan/wepy-tony-store

开源协议:MIT License

下载


wepy-tony-store

wepy store tony

项目构建

npm install wepy-cli -g

TODO

  • 购物车 X
  • 剩下的页面 X

一些框架需要改进的地方 (Cannot read property ‘script’ of null)

  • 同样有bug 一旦有wpy 就会被编译 等于有错误的代码会自动失败
  • 就算新建一个文件夹frame 也会有同样的问题

wxParse的wxParseImgTap的bug修复

  1. wxParseImgLoad(e) {
  2. console.log('wxParseImgLoad')
  3. console.log(e)
  4. }
  5. wxParseImgTap(e) {
  6. console.log('wxParseImgTap')
  7. console.log(e)
  8. var that = this
  9. var nowImgUrl = e.target.dataset.src
  10. var tagFrom = e.target.dataset.from
  11. if (typeof (tagFrom) != 'undefined' && tagFrom.length > 0) {
  12. wx.previewImage({
  13. current: nowImgUrl, // 当前显示图片的http链接
  14. // urls: that.data[tagFrom].imageUrls // 需要预览的图片http链接列表
  15. urls: that.bindData[tagFrom].imageUrls // 注释掉上面的 换着一行 (http://blog.csdn.net/zhuming3834/article/details/74380079)
  16. })
  17. }
  18. }

接口

  • getKeyWordHisList X

知识点

登录问题

  • Token验证错误(因为openID没办法获得 所以是没办法登录的 )

开发使用说明

使用微信开发者工具新建项目,本地开发选择dist目录。

微信开发者工具 —> 项目 —> 关闭ES6转ES5。

本地项目根目录运行npm run dev,开启实时编译。

wepy开发文档地址

  1. https://tencent.github.io/wepy/

小程序开发文档

  1. http://mp.weixin.qq.com/debug/wxadoc/dev/

目录结构