我希望能够在我的应用程序的 Headers 中添加徽标和 Headers . 目前,我的应用程序是这样组织的:

index.html包装其他视图:

<body ng-app="starter">
    <!--
      The nav bar that will be updated as we navigate between views.
    -->
    <ion-nav-bar class="bar-stable headerBar">
        <ion-nav-back-button>
        </ion-nav-back-button>
    </ion-nav-bar>
    <!--
      The views will be rendered in the <ion-nav-view> directive below
      Templates are in the /templates folder (but you could also
      have templates inline in this html file if you'd like).
    -->
    <ion-nav-view>
    </ion-nav-view>
</body>

我有离子视图的标签 . 在修改之前,我为每个选项卡设置了参数view-title,并在索引中对齐tile中心,并且我在 Headers 的中心有一个 Headers ,但我想在左边有一个标识, Headers 在中央 . 所以我做的是这样的:

<ion-nav-title>
    <img src='img/helpro.png' class="title-image"/> {{ 'devices' | translate }}
</ion-nav-title>

但是这样,我的徽标也带有左边的文字 . 如何在左侧标识徽标,在中心 Headers ?我试图使用标签nav-title和参数view-title,但nav-title覆盖了view-title . 如果我做对齐 Headers 中心,它需要两个 .

这是我当前的页面:

enter image description here

谢谢 !