26 lines
1.8 KiB
Plaintext
26 lines
1.8 KiB
Plaintext
<view>
|
|
<view class="fixed top-0 left-0 right-0 z-index-2" style="height: {{status + navHeight}}px;background-color:{{bgColor}}" wx:if="{{isShowBg}}"></view>
|
|
<view class="fixed top-0 left-0 right-0 z-index-9999" style="height: {{status + navHeight}}px;">
|
|
<view style='height: {{status}}px;'></view>
|
|
<view class="relative" style='height:{{navHeight}}px;line-height:{{navHeight}}px;' wx:if="{{type=='home'}}">
|
|
<view class="citySelect font-28 color-fff ml30" wx:if="{{city}}">{{city}}</view>
|
|
<view class="searchBar absolute box-middle" wx:if="{{homeShowBar}}">
|
|
<lcb-searchBar searchType="home" placeholder="{{homeInfo.placeholder}}" url="{{homeInfo.url}}"></lcb-searchBar>
|
|
</view>
|
|
<view class='navbarTitle absolute box-center-middle wp40 text-center text-nowrap text-bold' style="color:{{txtColor}};" wx:if="{{!homeShowBar}}">{{titleText}}</view>
|
|
</view>
|
|
<view class='relative' style='height:{{navHeight}}px;' wx:else>
|
|
<view class="absolute left-0 box-middle" style="width:80px;height:32px;margin-left:7px;box-sizing:border-box;" wx:if="{{!isShowRetBtn}}">
|
|
<view class="absolute left-0 box-middle pl15 pr15" bindtap='back'>
|
|
<i class="iconfont mr10 icon-fanhui" style="font-size:22px;color:{{txtColor}};"></i>
|
|
</view>
|
|
</view>
|
|
<view class="absolute left-0 box-middle" style="width:40px;height:32px;margin-left:7px;box-sizing:border-box;" wx:else>
|
|
<view class="absolute box-center-middle" bindtap='home' wx:if="{{!isShowHomeBtn}}">
|
|
<i class="iconfont icon-shouye1" style="font-size:22px;color:{{txtColor}}"></i>
|
|
</view>
|
|
</view>
|
|
<view class='navbarTitle absolute box-center-middle wp40 text-center text-nowrap text-bold' style="color:{{txtColor}};">{{titleText}}</view>
|
|
</view>
|
|
</view>
|
|
</view> |