我正在使用Ionic 1.3.2创建项目并构建到Android 5.1.1。问题是在完成课程has-header
之后,has-tabs-top
会自动添加到<ion-content>
中,因为这个空间正在显示。我不知道为什么会发生这种情况,我不知道如何删除这些课程,或者是否有其他解决方案。
我怎么解决这个问题?
查看
<ion-view>
<div class="item item-input-inset">
<label class="item-input-wrapper">
<i class="icon ion-ios-search placeholder-icon"></i>
<input type="text" ng-model="pesquisar" placeholder="O que procura ?">
</label>
</div>
<ion-content>
<ion-list>
<ion-item class="item item-thumbnail-left"
ng-repeat="empresa in empresas | filter:pesquisar"
ng-click="getEmpresa({{empresa.id}})" >
<img ng-src='{{empresa.imagem}}'>
<h2 class="customTitle">{{empresa.razaoSocial}}</h2>
<div style="margin-bottom:20px">
<ul>
<li ng-repeat="ce in empresa.categorias | filter:pesquisar"
class="customListInline customCategoriaEmpresa">{{ce.descricao}}</li>
</ul>
</div>
<div class="row row-bottom">
<div class="col col-25"><a href="#"><i class="icon ion-thumbsup icon-24px"></i></a></div>
<div class="col col-25"><a href="#"><i class="icon ion-chatbox icon-24px"></i></a></div>
<div class="col col-25">
<a href="tel:{{item.telefone}}"><i class="icon ion-ios-telephone icon-24px"></i></a>
</div>
</div>
</ion-item>
<ion-infinite-scroll on-infinite="loadMore();" distance="1%" ng-if='!moreData'></ion-infinite-scroll>
</ion-list>
</ion-content>
</ion-view>
答案 0 :(得分:2)
根据@MikeT的评论,但我认为你想要:
2017-07-04 21:30:10.379 MyApp[55965:1127208] -[__NSCFString containsObject:]: unrecognized selector sent to instance 0x608000028d60
2017-07-04 21:30:10.383 MyApp[55965:1127208] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString containsObject:]: unrecognized selector sent to instance 0x608000028d60'
答案 1 :(得分:-1)
将此属性添加到离子内容
隐藏-NAV-巴= “真”