Commit edc337c7 authored by JingChao's avatar JingChao

Updates ionic/ionic-code-style.md

Auto commit by GitBook Editor
parent eb8993dd
...@@ -54,7 +54,9 @@ ...@@ -54,7 +54,9 @@
- 申明自己的样式`partner-create`此样式不能重复,建议使用文件名,页面上其余样式均写在此样式之下,若超过此样式如下图,此样式为全局样式,对所有页面都会产生影响。不允许此类写法 - 申明自己的样式`partner-create`此样式不能重复,建议使用文件名,页面上其余样式均写在此样式之下,若超过此样式如下图,此样式为全局样式,对所有页面都会产生影响。不允许此类写法
![](/picture/scss-globle.png) ![](/picture/scss-globle.png)
* 因采用混合开发,经常会遇到Android与IOS样式不一样,处理不同平台的样式文件统一写在`scss/publicStyle.scss`文件里面
![](/img/scss-ios.png)
* 当创建一个新SCSS文件后,要在theme目录下app.core.scss文件里import,如下图所示: * 当创建一个新SCSS文件后,要在theme目录下app.core.scss文件里import,如下图所示:
![](/picture/h1.png) ![](/picture/h1.png)
......
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