1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <!--parents//pages/main/main.wxml-->
- <import src="../../../templates/footer/footer.wxml" />
- <import src="../../../templates/loading/loading.wxml" />
- <view class='container'>
- <template is='loading' wx:if='{{!isLoaded}}'></template>
- <view class='wrapper' wx:else>
- <view class='list'>
- <view class='li-header'>
- <view class='li-carousel'>
- <swiper class="li-carousel-img" indicator-dots="true" indicator-color="#f4f4f4" indicator-active-color="#4eb8b8" autoplay="true" interval='2000' circular='true'>
- <block wx:for="{{imgList}}" wx:key="key">
- <swiper-item bindtap='chomeCarouselClick' data-url='{{item.url}}'>
- <image class="li-carousel-img" src='{{item?baseImgUrl+item:""}}' mode='aspectFill' ></image>
- </swiper-item>
- </block>
- </swiper>
- </view>
- <view class="item-Tops">签到签离</view>
- <view class='li-items'>
- <view class='li-item' wx:for='{{sign}}' wx:key='index' data-index='{{index}}' bindtap='selectRouteCtl'>
- <view class='li-item-bgc'>
- <image class='li-item-icon' src='{{item.icon}}'></image>
- </view>
- <view class='li-item-text'>{{item.text}}</view>
- </view>
- </view>
- <view class="item-Tops">图书借阅</view>
- <view class='li-items'>
- <view class='li-item' wx:for='{{library}}' wx:key='index' data-index='{{index}}' bindtap='selectRouteCtlBorrow'>
- <view class='li-item-bgc1'>
- <image class='li-item-icon' src='{{item.icon}}'></image>
- </view>
- <view class='li-item-text'>{{item.text}}</view>
- </view>
- </view>
- <view class="item-Tops">书籍调配</view>
- <view class='li-items'>
- <view class='li-item' wx:for='{{Books}}' wx:key='index' data-index='{{index}}' bindtap='selectRouteCtlBooks'>
- <view class='li-item-bgc2'>
- <image class='li-item-icon' src='{{item.icon}}'></image>
- </view>
- <view class='li-item-text'>{{item.text}}</view>
- </view>
- </view>
- </view>
-
- </view>
- </view>
- <template is='footer' data='{{...footerData}}'></template>
- </view>
|