Javascript Can';我看不到离子导航按钮
在我的ionic应用程序中,我有一个功能,用户可以看到应用程序中的导航栏水平点线,单击它们,然后会出现一个弹出菜单,其中包含两个菜单项(添加到收藏夹和添加注释)。下图说明了我的观点 但问题是,这3个水平点没有出现在应用程序的导航栏中 这是ion导航按钮的代码Javascript Can';我看不到离子导航按钮,javascript,android,ionic-framework,hybrid,Javascript,Android,Ionic Framework,Hybrid,在我的ionic应用程序中,我有一个功能,用户可以看到应用程序中的导航栏水平点线,单击它们,然后会出现一个弹出菜单,其中包含两个菜单项(添加到收藏夹和添加注释)。下图说明了我的观点 但问题是,这3个水平点没有出现在应用程序的导航栏中 这是ion导航按钮的代码 <ion-view view-title="News Details"> <ion-content> <ion-
<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>
{{detailedNews.title}
{{detailedNews.description}
客户意见
排序方式:
-
{{comment.rating}}星星
{{comment.comment}
{{comment.author},{{comment.date | date:'MMM.dd,yyyy'}
也许这行有问题
<button class="button button-icon icon ion-more"ng-
click="openPopover($event)"></button>
你能帮我吗
谢谢
Theo.尝试将
指令包装在
指令中,并将其从离子内容中取出
…