1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <view class="container">
- <van-notice-bar scrollable text="{{homeData.notice.noticeContent||'暂无公告'}}" background="#EFF1F0" color="#37363F"
- delay="10" speed="30" bindtap="toNotice">
- <view slot="left-icon" class="notice-tip">学院公告</view>
- </van-notice-bar>
- <edu-banner imgList="{{homeData.carouselList}}" imgWidth="690rpx" imgHeight="250rpx" imgRadius="30rpx"
- bind:banner="toBannerDetail"
- banner-container="imageContainer" banner-img="banner-img"></edu-banner>
- <home-class current="{{homeData.classInfo.opened}}" future="{{homeData.classInfo.notYetOpened}}"
- history="{{homeData.classInfo.history}}"></home-class>
- <view class="grid-tab">
- <van-grid icon-size="135rpx" border="{{false}}">
- <van-grid-item icon="{{item.icon}}" link-type="navigateTo" url="{{item.url}}" wx:for="{{tabs}}"
- wx:key="index" bind:click='toClickGrid'
- data-title="{{item.url?'':item.title}}">
- <view slot="text" class="grid-text">{{item.title}}</view>
- </van-grid-item>
- </van-grid>
- </view>
- <view class="home-introduce">
- <van-image src="/images/ic_introduce.png" width="100%" height="190rpx" bindtap="toSchoolIntrouce"/>
- </view>
- <van-tabs id="tabs" active="{{ active }}" bind:change="onChange" line-width="123rpx" line-height="5rpx"
- border="{{true}}"
- color='#FF7B60' sticky>
- <van-tab title="{{item.dictLabel}}" wx:for="{{homeData.dictList}}" wx:key="index">
- <edu-loadmore emptyImg="" isEmpty="{{rows.length == 0}}" isRefresh="{{isRefresh}}" isLoading="{{isLoading}}"
- isComplete="{{noMore}}">
- <home-card newsData="{{newsData}}" wx:for-item="newsData" wx:for="{{rows}}" wx:key="index"
- bind:tap='toNewsDetail' data-item="{{newsData}}" data-title="{{item.dictLabel}}"></home-card>
- </edu-loadmore>
- </van-tab>
- </van-tabs>
- </view>
- <van-action-sheet
- show="{{ showLiveList }}"
- actions="{{ actions }}"
- bind:close="onClose"
- bind:select="onSelect"
- description="当前存在多节直播课,请选择"
- />
|