Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hel-guide
app
Commits
b59aa106
Commit
b59aa106
authored
Aug 17, 2017
by
宋帮潮
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://hel.hand-china.com/hel-guide/app
parents
2d8100e7
3a5e2413
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
21 deletions
+22
-21
ionic-instruction.md
ionic/ionic-instruction.md
+0
-6
platforms.md
ionic/platforms.md
+2
-8
plugins.md
ionic/plugins.md
+20
-7
cordova-plugin-add.png
picture/cordova-plugin-add.png
+0
-0
cordova-plugin-list.png
picture/cordova-plugin-list.png
+0
-0
cordova-plugin-rm.png
picture/cordova-plugin-rm.png
+0
-0
No files found.
ionic/ionic-instruction.md
View file @
b59aa106
...
...
@@ -28,12 +28,6 @@ var JPushServiceModule = angular.module('JPushServiceModule',[]);
*
`tab-charts`
是报表tab功能使用的view
*
`tab-tools`
是工具tab使用的view
*
`tab-myInfo`
是我的tab使用的view
4.
js文件书写规范
*
`Angular`
采用依赖注入模式,
`js`
中需要使用那些服务注入哪些,多余的不要注入。
*
采用
`this`
关键字代替
`$scope`
关键字(运行效率问题),一般使用
```
javascript
```
4.
在此举例主页tab申请创建功能
```
javascript
...
...
ionic/platforms.md
View file @
b59aa106
# platforms目录介绍
---
*
### I. platforms
-
`自动生成`
*
### I. platforms打包的平台
-
应用打包是会生成对应的平台项目
...
...
ionic/plugins.md
View file @
b59aa106
# plugins目录介绍
### I. plugins目录介绍
-
介绍: plugins 文件夹是项目中所要的插件。如 相机插件,极光推送 等等
-
插件的使用请参照
[
cordova
](
http://ngcordova.com/docs/plugins/
)
官网或
[
github
](
https://github.com/
)
上关于此插件的介绍
-
查看项目中包含哪些插件 项目根目录下运行
`cordova plugin --list`
**注:**
插件有自己的版本,要和你本地的cordova版本和打包是平台版本有对应关系
!
[](
/picture/cordova-plugin-list.png
)
-
移除项目中的插件
`cordova plugin rm 插件名`
,例如
`cordova plugin rm cordova-plugin-crosswalk-webview`
!
[](
/picture/cordova-plugin-rm.png
)
-
增加插件使用
` cordova plugin add 插件名`
,例如
`cordova plugin add cordova-plugin-crosswalk-webview@1.8.0`
!
[](
/picture/cordova-plugin-add.png
)
---
*
### I. plugins目录介绍
-
介绍: plugins 文件夹是项目中所要的插件。如 相机插件,极光推送 等等
...
...
picture/cordova-plugin-add.png
0 → 100644
View file @
b59aa106
5.18 KB
picture/cordova-plugin-list.png
0 → 100644
View file @
b59aa106
18.4 KB
picture/cordova-plugin-rm.png
0 → 100644
View file @
b59aa106
12.8 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment