<view class="Yl_nav_box">
    <view class="mian">
        <navigator class="item" url="#" wx:for="{{list}}" wx:key="index" style="width: {{item.width}};" bindtap="onClick" data-item="{{item}}">
            <text class="iconfont {{item.icon}}" style="color: {{item.color}};" />
            <text class="label">{{item.label}}</text>
        </navigator>
    </view>
    <navigator wx:if="{{search}}" url="#" class="search" bindtap="handleSearch">
        <text class="iconfont icon-websousuo" />
    </navigator>
</view>