ionic header和subheader头部指令
http://www.ionic.wang/js_doc-index-id-21.html
如果应用'bar-subheader'类,就可以成为一个subheader
<ion-header-bar class="bg_fdd000"> <a class="button button-clear " ui-sref="appliance_repairDeviceOrder"> <span class="icon ion-ios-arrow-left color_e5005a"></span> </a> <h1 class="title color_e5005a">选择小区</h1> </ion-header-bar> <style> .hb.bar .button.button-clear .icon::before, .hb.bar .button.button-clear.icon::before, .hb.bar .button.button-clear.icon-left::before, .hb.bar .button.button-clear.icon-right::before { font-size: 14px; line-height: 32px; } .list.district_class .item{ padding:0; width: 100%; } </style> <ion-header-bar class="bar-subheader hb"> <div class="button-bar"> <a class="button button-clear"> 湖南 </a> <a class="button button-clear"> 长沙市 </a> <a class="button button-clear" style="overflow: visible" ng-click="showDistrictList()"> <span id="btnValue">不限</span><i class="icon ion-arrow-down-b" style="font-size: 14px;"></i> <ul class="list absolute district_class" style="z-index: 999;top:105%;left: 0px;width: 105%;display: none"> <li class="item" ng-click="itemSelected($event)"> 不限 </li> <li class="item" ng-click="itemSelected($event)"> 岳麓区 </li> <li class="item" ng-click="itemSelected($event)"> 芙蓉区 </li> <li class="item" ng-click="itemSelected($event)"> 天心区 </li> <li class="item" ng-click="itemSelected($event)"> 开福区 </li> <li class="item" ng-click="itemSelected($event)"> 雨花区 </li> <li class="item" ng-click="itemSelected($event)"> 长沙县 </li> <li class="item" ng-click="itemSelected($event)"> 望城县 </li> </ul> </a> </div> </ion-header-bar>
相关推荐
绿豆饼 2020-07-28
半纸药笺 2020-07-26
半纸药笺 2020-06-14
芯果科技蔡彦 2020-04-30
芯果科技蔡彦 2020-04-14
kfq00 2020-04-10
samllcat 2020-03-27
ZillahV0 2016-08-27
半纸药笺 2019-11-18
qixiang0 2015-04-24
shichong 2015-05-14
庆华 2015-12-26
genglang 2016-05-01
琪凡睿 2016-04-28
GoDotDotDot 2018-12-12
WarmPure 2018-10-02
青 2017-09-19
GoDotDotDot 2017-07-21