1234567891011121314151617181920212223242526 |
- <!-- 加载 -->
- <l-overlay />
- <!-- 消息通知 -->
- <l-notify />
- <!-- 分享栏 -->
- <l-share />
- <!-- 导航栏 -->
- <van-nav-bar custom-class="custom {{bgc ? 'nav-custom1':'nav-custom'}}" bind:click-left="NavSuccess" fixed="{{fixed}}"
- title-class="nav-title" title="{{title}}">
- <van-icon wx:if='{{back}}' size="24" name="arrow-left" slot="left" />
- </van-nav-bar>
- <view style="margin-top: {{MarginTop}}px;" class="container">
- <slot />
- </view>
- <van-tabbar inactive-color="{{inactiveColor}}" active-color="{{activeColor}}" wx:if="{{tabber}}"
- bind:change="TabberSuccess" active="{{ active }}" bind:change="TabberSuccess">
- <block wx:for="{{tabberlist}}" wx:key="index">
- <van-tabbar-item wx:if="{{!item.activesrc}}" info="{{item.info}}" icon="{{item.icon}}">{{item.name}}
- </van-tabbar-item>
- <van-tabbar-item wx:else info="{{item.info}}">
- <image slot="icon" src="{{ item.normalsrc }}" mode="aspectFit" style="width: 30px; height: 18px;" />
- <image slot="icon-active" src="{{ item.activesrc }}" mode="aspectFit" style="width: 30px; height: 18px;" />
- {{item.name}}
- </van-tabbar-item>
- </block>
- </van-tabbar>
|