nav.wxml 1015 Bytes
<!--components/nav/nav.wxml-->
<view class="nav-main" style="background-color: {{backgroundColor}};color:{{color}};">
    <view class="nav" style="padding-top: {{statusBarHeight*2}}rpx;">
        <view class="flex-lr part">
            <view class="opt flex-ll">
                <view class="back flex-vc" bindtap="back" wx:if="{{disBack}}">
                    <image class="back-image" src="http://qn.colorcun.com/custom/lite-yd/image/back.png"></image>
                </view>
                <view class="home flex-vc" bindtap="home" wx:if="{{disHome}}">
                    <image class="home-image" src="http://qn.colorcun.com/custom/lite-yd/image/home.svg"></image>
                </view>
            </view>
            <view class="title" bindtap="home">
                <slot></slot>
            </view>
            <view class="opt">
                <view></view>
            </view>
        </view>

    </view>
</view>
<view class="nav-main-space" style="height: {{statusBarHeight*2+68}}rpx;"></view>