123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <view class="container">
- <!-- 顶部学生信息 -->
- <view class="head-view">
- <view class="head-left">
- <view class="head-img-view" wx:for="{{userItems}}" wx:key="index" data-id="{{item.studentId}}" bindtap="changeStu"
- wx:if="{{curStu.orgId == item.orgId}}">
- <!-- <image class="{{curStu.studentId == item.studentId ? 'curStu' : 'stuHead'}}" src="{{item.imageUrl}}"></image> -->
- <view class="{{curStu.studentId == item.studentId ? 'curStu' : 'stuHead'}} headName">{{item.headName}}</view>
- </view>
- </view>
- <view class="head-right">
- <view class="section">
- <picker class="picker-box" bindchange="bindPickerChange" value="{{index}}" range="{{orgItems}}"
- range-key="orgName">
- <view class="picker">
- {{orgItems[index].orgName}}
- <view class="toDown">
- <image src="/images/toDown.png"></image>
- </view>
- </view>
- </picker>
- </view>
- </view>
- </view>
- <!-- end -->
- <!-- 轮播图 -->
- <view class="swiper">
- <swiper class="banner" autoplay circular interval="3000">
- <block wx:for="{{bannerList}}" wx:key="index">
- <swiper-item class="banner-box">
- <image lazy-load mode="aspectFill" class="bb-image" src="{{item.imageUrl}}"></image>
- </swiper-item>
- </block>
- </swiper>
- </view>
- <!-- end -->
- <!-- 课程数据 -->
- <view class="class-view">
- <view class="title">课程数据</view>
- <view class="class-list">
- <view class="class-box" wx:for="{{classList}}" wx:key="index" data-url="{{item.url}}" bindtap="toPage"
- wx:if="{{index == 1 ? isShow : true}}">
- <view class="class-img">
- <image src="{{item.img}}"></image>
- </view>
- <view class="class-detail">
- <view class="class-num">{{item.num == '100.00%' ? '100%' : item.num}}</view>
- <view class="class-title">{{item.title}}</view>
- </view>
- </view>
- </view>
- </view>
- <!-- end -->
- <!-- 我的应用 -->
- <view class="app-view">
- <view class="title">我的应用</view>
- <view class="app-list">
- <view class="app-box" wx:for="{{appList}}" wx:key="index" data-url="{{item.url}}" bindtap="toPage"
- wx:if="{{index == 1 ? isShow : true}}">
- <view class="app-img">
- <image src="{{item.img}}"></image>
- </view>
- <view class="app-title">{{item.title}}</view>
- </view>
- </view>
- </view>
- <!-- end -->
- <!-- 学生秀 -->
- <view class="show-view" wx:if="{{isShow}}">
- <view class="title-view">
- <view class="title">学生秀</view>
- <view class="more" bindtap="getMoreShow" data-type="0">更多</view>
- </view>
- <showView list="{{stuShowList}}" bind:callThumbsUp="doThumbsUp"></showView>
- <view class="reset-btn" bindtap="queryStudentShow" wx:if="{{stuShowList.length > 2}}">换一批</view>
- <view class="none-more" wx:elif="{{stuShowList.length <= 0 }}">没有更多了~</view>
- </view>
- <!-- end -->
- <!-- 老师秀 -->
- <view class="show-view" wx:if="{{isShow}}">
- <view class="title-view">
- <view class="title">老师秀</view>
- <view class="more" bindtap="getMoreShow" data-type="1">更多</view>
- </view>
- <showView list="{{teaShowList}}" bind:callThumbsUp="doThumbsUp"></showView>
- <view class="reset-btn" bindtap="queryTeacherShow" wx:if="{{teaShowList.length > 2}}">换一批</view>
- <view class="none-more" wx:elif="{{teaShowList.length <= 0 }}">没有更多了~</view>
- </view>
- <!-- end -->
- <!-- 优惠券弹窗 -->
- <view class="quan-bg" wx:if="{{quanTipFlag}}"></view>
- <view class="quan-tip" wx:if="{{quanTipFlag}}">
- <image src="/images/quan-tip.png"></image>
- <view class="quan-tip-content">
- <view class="quan-tip-title">恭喜获得优惠券{{quanList.length}}张</view>
- <view class="quan-tip-list">
- <view class="quan-tip-list-box" wx:for="{{quanList}}" wx:key="index">
- <view class="quan-tip-list-title view-left">{{item.couponName}}</view>
- <view class="quan-tip-list-price"><text>¥</text>{{item.couponAmount}}</view>
- <view class="quan-tip-list-date view-left" wx:if="{{item.lastDate}}">有效期至{{item.lastDate}}</view>
- <view class="quan-tip-list-date view-left" wx:else>长期有效</view>
- <!-- <view class="quan-tip-list-code">满200可用</view> -->
- </view>
- </view>
- <view class="quan-tip-bottom">
- <view class="quan-tip-btn" bindtap="toQuan">去看看</view>
- <view class="tip-font">已自动存至优惠券</view>
- </view>
- </view>
- <view class="close-tip" bindtap="closeTip">X</view>
- </view>
- <!-- end -->
- <tabbar curIndex="0"></tabbar>
- </view>
|