0
私のイオンアプリでは、ユーザーがアプリケーションのナビゲーションバーの水平の点線で表示する機能を持っています。それらをクリックすると、ポップアップメニューに2つのメニュー項目が表示されます(お気に入りに追加してコメントを追加)下の写真は私の要点を示しています。ion-nav-buttonが見えない
問題はしかし、これらの3つの水平ドットがアプリのナビゲーションバーに表示されないということです。
イオンナビボタンのコードは次のとおりです。
<ion-view view-title="News Details">
<ion-content>
<ion-nav-buttons side="secondary">
<div class="buttons">
<button class="button button-icon icon ion-more"
ng-click="openPopover($event)"></button>
</div>
</ion-nav-buttons>
<div class="card">
<div class="item item-body item-text-wrap">
<img class="full-image" ng-src="{{detailedNews.image}}" alt="Uthappizza">
<h3>{{detailedNews.title}}</h3>
<p>{{detailedNews.description}}</p>
</div>
</div>
<div class="row">
<div class="col col-offset-10">
<h4>Customer Comments
<small>Sort by:
<input type="text" ng-model="orderText">
</small></h4>
<ul class="list">
<li ng-repeat="comment in dish.comments | orderBy:orderText">
<blockquote>
<p>{{comment.rating}} Stars</p>
<p>{{comment.comment}}</p>
<footer>{{comment.author}}, {{comment.date | date:'MMM. dd, yyyy'}}</footer>
</blockquote>
</li>
</ul>
</div>
</div>
</ion-content>
</ion-view>
多分、この行に何か問題があります。
<button class="button button-icon icon ion-more"ng-
click="openPopover($event)"></button>
私を助けてくれますか?ありがとう、
Theo。
おかげで、それが動作するようになりました:)。 – Theo