com_top_nav.wxml 1.52 KB
<!-- 需要cover-view是大转盘才会 -->
<block wx:if="{{!is_pc}}">

<block wx:if="{{need_cover}}">
    <cover-view class="t_nav" style="height:{{height}}px;background-color:{{bcolor}};color:{{color}}">
        <cover-view class="tab" style="height:{{h1}}px;">
            <cover-view wx:if="{{user_no}}" class="tb_con" >ID:{{user_no}}<cover-view style="width:20rpx"></cover-view></cover-view>
            <cover-view wx:else class="tb_con" ></cover-view>
        </cover-view>
        <cover-view bindtap="go_back" class="contant" style="height:{{h2}}px">
            <cover-view  class="gback">
                <cover-view class="rote_view" style="border: 3rpx solid {{color}};"></cover-view>
            </cover-view>
            <cover-view class="ellip">{{title}}</cover-view>
        </cover-view>

    </cover-view>
</block>
<block wx:else>
    <view class="t_nav" style="height:{{height}}px;background-color:{{bcolor}};color:{{color}}">
        <view class="tab" style="height:{{h1}}px;">
            <view wx:if="{{user_no}}" class="tb_con" >ID:{{user_no}}<view style="width:20rpx"></view></view>
            <view wx:else class="tb_con" ></view>
        </view>
        <view bindtap="go_back" class="contant" style="height:{{h2}}px">
            <view  class="gback">
                <view class="rote_view" style="border: 3rpx solid {{color}};"></view>
            </view>
            <view class="ellip">{{title}}</view>
        </view>
    </view>
</block>


<!-- 用于顶开层的高 -->
<view style="height:{{height}}px"></view>

</block>