2024-04-07 14:29:51 +08:00

48 lines
2.1 KiB
Plaintext

<view class="containerView public">
<!-- 园区 -->
<view bindtap="navparkList" class="topList">
<text style="font-size: 28rpx;">当前园区:{{parkName? parkName:'请先选择园区'}}</text>
<text style="color: #939393;font-size: 36rpx;"> > </text>
</view>
<view class="topHead">
<image class="scanImg" src="{{IMG_NAME + '/profile/static/index/scan.png'}}" mode="aspectFill" bind:tap="jumpScan"></image>
<view class="title ellipsisFont" bind:tap="jumpPark">{{parkName}}</view>
</view>
<view class="loopView">
<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}}" mode="aspectFill"></image>
</swiper-item>
</swiper>
</view>
<!-- 菜单模块 -->
<view class="itemTitleView">
<view class="title">我的应用</view>
</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>
<!-- 消息提示 -->
<van-notify id="van-notify"/>