0
嗨我在創建離子導航概念:離子導航 - 不要更新導航欄
<ion-nav-bar class="bar-positive">
<ion-nav-back-button class="button-clear">
<i class="ion-arrow-left-c"></i> Back
</ion-nav-back-button>
</ion-nav-bar>
<ion-nav-view></ion-nav-view>
<script id="list.html" type="text/ng-template">
<ion-view view-title="First page">
<ion-content class="padding">
<a nav-direction="back" nav-transition="android" href="#/movie/1">
<button class="button button-positive">
Tabellen
</button>
</a><br/><br/>
<a nav-direction="forward" nav-transition="android" href="#/movie/1">
<button class="button button-positive">
Live-Ticker
</button>
</a><br/><br/>
<button class="button button-positive" ng-click="changePage()">
Funktion
</button>
</ion-content>
</ion-view>
</script>
<script id="view.html" type="text/ng-template">
<ion-view view-title="Second page">
<ion-content class="padding">
<a class="button icon ion-home" href="#/tab/home"> Home</a>
</ion-content>
</ion-view>
</script>
http://plnkr.co/edit/h9KwSJVt5n4bEnTXkBJ2?p=preview
的問題是,我想用我自己的導航欄。用我的風格,文本按鈕... 另外我不希望導航欄更新。當我現在切換頁面時,導航欄顯示後退按鈕並更改標題。我想保持不變...
使用新的plunkr..i已更新我的答案 – Lakshay