Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ionic framework iOS上的离子列表标题背景不是灰色的_Ionic Framework_Ionic2_Ionic.io - Fatal编程技术网

Ionic framework iOS上的离子列表标题背景不是灰色的

Ionic framework iOS上的离子列表标题背景不是灰色的,ionic-framework,ionic2,ionic.io,Ionic Framework,Ionic2,Ionic.io,我在ionic 2.0.0rc4中使用了类似这样的代码 <ion-list> <ion-list-header>My Header</ion-list-header> <!-- rest of ion-items --> </ion-list> 我的头球 在文档示例中,列表标题的背景为灰色,但在我的应用程序中,它的背景为白色!我不知道发生了什么事 有什么想法吗 干杯 根据文档,以下SASS变量用于设置ios的列表标题背景$

我在ionic 2.0.0rc4中使用了类似这样的代码

<ion-list>
  <ion-list-header>My Header</ion-list-header>
  <!-- rest of ion-items -->
</ion-list>

我的头球
在文档示例中,列表标题的背景为灰色,但在我的应用程序中,它的背景为白色!我不知道发生了什么事

有什么想法吗


干杯

根据文档,以下SASS变量用于设置ios的列表标题背景
$list ios header background color
,其默认值为
transparent

如果你仔细看,在文档中,iOS的颜色是灰色的,android和windows手机的颜色是白色的

希望这有帮助