Commit ee017da2 authored by 宋帮潮's avatar 宋帮潮

Merge branch 'master' of https://hel.hand-china.com/hel-guide/app

parents c2a0a83b 74bae8b5
......@@ -53,13 +53,23 @@ function projectCreateCtrl($state, $scope, $ionicModal, baseConfig, hlsHttp,
hlsPopup,$stateParams) {
var vm = this;
```
* 1.0 注册此页面的路由,路由指向project-contract.html页面
* 注册此页面的路由,
路由指向project-create.html页面
** 路由名称不能从复**
* 2.0 使用`tab-applications` 的view,使用`applicationModule` modele
* 3.0 定义`projectCreateCtrl` controller,命名规范参考[前端开发规范](/ionic/ionic-code-style.md)
![](/picture/ionic-controller.png)
**路由名称不能从复**
* 使用`tab-applications` 的view,使用`applicationModule` modele
* 定义`projectCreateCtrl`并取别名`pCreat` controller,命名规范参考[前端开发规范](/ionic/ionic-code-style.md)
**同一应用controller不能从复**
* html页面的编写
在html页面中调用controller里面的属性时
```javascript
<div class="next-button" ng-click="pCreat.create(pCreat.project)">创建</div>
```
**必须使用controller 别名如`pCreat.create()`函数**
......
# resources目录介绍
---
* ### I. resources_子目录(列表)
* 1.1.android_目录
- `安卓(app图标,app启动图片)`
* 1.2.ios_目录
- `ios(app图标,app启动图片)`
# resources目录介绍
---
* ### I. resources_子目录(列表)
* 1.1.android_目录
- `安卓(app图标,app启动图片)`
* 1.2.ios_目录
- `ios(app图标,app启动图片)`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment