- <!-- components/local/navigation/navigation.wxml -->
- <cover-view class="nav" style="height:{{navBarHeight}}px;z-index: 999;">
- <cover-view class="nav-main" wx:if="{{version == 'normal'}}">
- <!-- 胶囊区域 -->
- <cover-view class="capsule-box" style="height:{{menuHeight}}px; min-height:{{menuHeight}}px; line-height:{{menuHeight}}px; bottom:{{menuBotton}}px;">
- <!-- 导航内容区域 -->
- <slot></slot>
- </cover-view>
- </cover-view>
- <cover-view class="nav-main" wx:elif="{{version == 'cover_all'}}">
- <!-- 导航内容区域 -->
- <slot></slot>
- </cover-view>
- </cover-view>
|