<view class="mp-nav-bar-box" style="height: {{navHeight}}px;"><view class="mp-nav-bar-box-fixed" style="height: {{navHeight}}px; background: {{bg}}; z-index: {{zIndex}}; --duration: {{duration}}ms;"><view class="mp-nav-bar-box-content" style="height: {{contentHeight}}px;"><block wx:if="{{custom}}"><slot></slot></block><block wx:else><view class="mp-nav-bar-leading"><slot name="left"></slot></view><view class="mp-nav-bar-title"><slot name="title"></slot></view></block></view></view></view>