<view class="page">
    <!-- 园区 -->
    <view bindtap="navparkList" class="topList">
        <text style="font-size: 28rpx;">当前园区：{{parkName? parkName:'请先选择园区'}}</text>
        <text style="color: #939393;font-size: 36rpx;"> > </text>
    </view>

    <image class="logoImg" src="{{IMG_NAME + '/profile/static/index/logo.png'}}" mode="aspectFill"></image>
    <!-- 轮播图 -->
    <swiper class='swiper-box' indicator-dots autoplay interval="3000" duration="1000" circular='true'>
        <swiper-item wx:for="{{bannerList}}" wx:key="index">
            <image class="img" src="{{IMG_NAME + item.bg}}" mode="aspectFill"></image>
        </swiper-item>
    </swiper>

    <!-- 菜单模块 -->
    <view class="itemTitleView">
        <view class="title">我的应用</view>
        <image class="img" src="{{IMG_NAME + '/profile/static/index/scan.png'}}" mode="aspectFill"></image>
    </view>
    <view class="fixed">
        <view class="fixedbox" wx:for='{{menuList}}' wx:key='index' data-path="{{item.path}}" data-name="{{item.name}}" bindtap="navapply">
            <image class="menuImg" src="{{IMG_NAME + item.img}}"></image>
            <view class="menuTitle">{{item.name}}</view>
        </view>
    </view>

    <!-- tabBar -->
    <view class="tab-bar">
        <view wx:for="{{tabBarList}}" wx:key="index" class="tab-bar-item {{item.bulge?'bulge':''}}" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab">
            <view wx:if="item.bulge" class="tab-bar-bulge"></view>
            <image class="image" src="{{tabBarParam.selected === index ? item.selectedIconPath : item.iconPath}}"></image>
            <view class="tab-bar-view" style="color: {{tabBarParam.selected === index ? tabBarParam.selectedColor : tabBarParam.color}}">{{item.text}}</view>
        </view>
    </view>
</view>