git clone git@gitee.com:quxueche2016/saas_coach.git
npm install
wx49fb1c5f4fe95a95
wepy build --watch
|-- dist
|-- node_modules
|-- src
| |-- components
|-- stu-item.wpy
|-- tab-slider.wpy
|-- ...
|-- images
|-- x.png
|-- pages
|-- student.wpy
|-- exam.wpy
|-- ...
|-- store
|-- actions
|-- studentAction.js
|-- examAction.js
|-- reducers
|-- sdudentReducer.js
|-- examReducer.js
|-- index.js //合并reducer
|-- types
|-- index.js
|-- styles
|-- weui.scss
|-- global.scss
|-- style.scss
|-- utils
|-- http.js
|-- ...
|-- app.wpy
|-- config.js
|-- package.json
- 使用 promise
- 使用 async await
- 使用globaldata保存登陆后的session_key
- 使用localStorage保存登陆后数据
- 静态传值
- 动态传值
- redux
- redux-actions
- wepy-redux
- 父组件事件
- 子组件事件触发父组件
- weui.scss (样式库)
- global.scss (全局样式)
- style.scss (入口) =======
wepy项目实战