mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 18:59:36 +08:00
34 lines
1.9 KiB
Plaintext
34 lines
1.9 KiB
Plaintext
<view class="page">
|
|
<scroll-view style="height:100%;" scroll-y="true">
|
|
<view bindtap="navparkList" class="topList">
|
|
<text style="font-size: 28rpx;">当前园区:{{parkName? parkName:'请先选择园区'}}</text>
|
|
<text style="color: #939393;font-size: 36rpx;"> > </text>
|
|
</view>
|
|
<swiper class='swiper-box' indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" circular='true' style='height:{{Height}}' wx:if="{{background.length > 0}}">
|
|
<block wx:for="{{background}}" wx:key="index">
|
|
<swiper-item>
|
|
<image src="{{IMG_NAME + item.bg}}" mode="widthFix" style="width:100%" bindload='imgHeight'></image>
|
|
</swiper-item>
|
|
</block>
|
|
</swiper>
|
|
|
|
<view style="font-size: 12pt;background: white;padding: 20rpx 30rpx;">我的应用</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 style="font-size:26rpx;margin-top:18rpx;">{{item.name}}</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
</scroll-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> |