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 Ionic选项卡式幻灯片框图标未对齐_Ionic Framework_Ionic - Fatal编程技术网

Ionic framework Ionic选项卡式幻灯片框图标未对齐

Ionic framework Ionic选项卡式幻灯片框图标未对齐,ionic-framework,ionic,Ionic Framework,Ionic,此处显示的图标: 工作正常,但如果我复制粘贴整个代码并将其复制粘贴到我创建的本地爱奥尼亚项目中的index.html中,图标不会对齐 [屏幕截图] [] 问题是,除了index.html,我真的没有改变任何东西,所以我不确定是什么导致了它: 标记在渲染后带有文本对齐:居中(Firebug中的“计算”) 我认为Ionic版本可能已经过时/太新了,但是在演示URL中,1.1.1版与1.0.0版相比运行良好 另外需要注意的是,演示中的代码: <style> .slider-slid

此处显示的图标: 工作正常,但如果我复制粘贴整个代码并将其复制粘贴到我创建的本地爱奥尼亚项目中的
index.html
中,图标不会对齐

[屏幕截图] []

问题是,除了
index.html
,我真的没有改变任何东西,所以我不确定是什么导致了它:

  • 标记在渲染后带有
    文本对齐:居中
    (Firebug中的“计算”)
  • 我认为Ionic版本可能已经过时/太新了,但是在演示URL中,1.1.1版与1.0.0版相比运行良好
  • 另外需要注意的是,演示中的代码:

    <style>
        .slider-slide h3{
            color:#fff;
            margin-top:10px;
        };
        .scroll{ height:100%;};
    </style>
    

    有什么想法吗?

    您是否签入了开发人员选项?错误是什么?没有错误,只是页面的外观不同…,开发者选项-我不确定我可以检查什么,因为如果我以Plunker的代码为例-它可以工作(因为Ionic LIB不是来自我服务器的文件,尽管版本相同)…:/回答:我的错误,当我在Firefox中测试它时,它不工作,但在Chrome中工作正常…:)我的错
    > I created a new Ionic project, bower.json:
      "ionic": "driftyco/ionic-bower#1.1.1"
    > I edited files under www
    > In www/index.html - I copy pasted the content of index.html from the Plunker
    > Plunker works OK, but in my server I have Icons aligned to the left vs centered