Skip to content

tomfriwel/MyWechatAppDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyWechatAppDemo

如果想要看具体那个页面可以直接在app.json里把相应页面路径放到第一个。

关于utils/apiconfig.js

这个文件需要自行创建,内容如下:

const serverUrl = 'http://xxxx'
const testUrl = "http://xxxx"

module.exports = {
    serverUrl: serverUrl,
    testUrl:testUrl
} 

component

  • 组件样式不会传递到父级,即组件定义了class=innerwxss,父级有同样的class并不会造成影响。即 组件对应 wxss 文件的样式,只对组件wxml内的节点生效

Page:snow

Snow Screen Shot 2017-12-26 at 10.45.58.png

Page:qrcode

核心代码来自 https://github.com/davidshimjs/qrcodejs

Page:throttle - 函数节流

核心代码来自 https://mp.weixin.qq.com/s/3FZJ0nQLhj9PCi0pfBjc9A

Page:promise - 简化回调

Page:wxApiTest - 转发

获取openGId(群对小程序的id)

Page:sortItems - 拖拽排序

Page:bluetooth - 蓝牙

Page:audio - 音乐播放测试

Page:canvasImage - 滤镜

weImageFilters

Page:calendar - 公农日历

Page:color - 拾色器

Page:coupon - 卡券

About

My wechat app demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published