|
@ -4,15 +4,28 @@ |
|
|
<!-- 空白来占位状态栏 --> |
|
|
<!-- 空白来占位状态栏 --> |
|
|
<view style="{{'height: ' + statusBarHeight}}"></view> |
|
|
<view style="{{'height: ' + statusBarHeight}}"></view> |
|
|
<!-- 自定义导航栏 --> |
|
|
<!-- 自定义导航栏 --> |
|
|
|
|
|
|
|
|
<view class="navigation-bar" style=" height: {{navigationBarHeight}}"> |
|
|
<view class="navigation-bar" style=" height: {{navigationBarHeight}}"> |
|
|
<view class="arrow-content"> |
|
|
<view class="arrow-content"> |
|
|
<view class="arrow" wx:if="{{isSowArrow}}" bindtap="handleGoToBack"></view> |
|
|
<view class="arrow" wx:if="{{isSowArrow}}" bindtap="handleGoToBack"></view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="navigation-title" style="{{'line-height:' + navigationBarHeight}}">{{title}}</view> |
|
|
<view class="navigation-title {{titleAlign === 'left' ? 'left-align' : 'center-align'}}" style="{{'line-height:' + navigationBarHeight}}"> |
|
|
|
|
|
{{title}} |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="navbg" wx:else> |
|
|
|
|
|
<!-- 空白来占位状态栏 --> |
|
|
|
|
|
<view style="{{'height: ' + statusBarHeight}}"></view> |
|
|
|
|
|
<!-- 自定义导航栏 --> |
|
|
|
|
|
<view class="navigation-bar" style=" height: {{navigationBarHeight}}"> |
|
|
|
|
|
<view class="arrow-content"> |
|
|
|
|
|
<view class="arrow" wx:if="{{isSowArrow}}" bindtap="handleGoToBack"></view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="navigation-title {{titleAlign === 'left' ? 'left-align' : 'center-align'}}" style="{{'line-height:' + navigationBarHeight}}"> |
|
|
|
|
|
{{title}} |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<!-- 空白占位fixed空出的位置 --> |
|
|
<!-- 空白占位fixed空出的位置 --> |
|
|
<view style="{{'height: ' + navigationBarAndStatusBarHeight}}"></view> |
|
|
<view style="{{'height: ' + navigationBarAndStatusBarHeight}}"></view> |