|
@@ -1,6 +1,7 @@
|
|
<view class="switch_tab_container">
|
|
<view class="switch_tab_container">
|
|
- <van-notice-bar wx:if="{{noticeVis}}" left-icon="volume-o" mode="link" text="{{notice}}" bindtap="toNotice" style="padding-bottom:20rpx;" />
|
|
|
|
-
|
|
|
|
|
|
+ <van-notice-bar wx:if="{{noticeVis}}" left-icon="volume-o" mode="link" text="{{notice}}" bindtap="toNotice"
|
|
|
|
+ style="padding-bottom:20rpx;" />
|
|
|
|
+
|
|
<!-- <view class="banner">
|
|
<!-- <view class="banner">
|
|
<swiper class='u-wrp-bnr' indicator-dots="true" interval='5000' duration='1000'>
|
|
<swiper class='u-wrp-bnr' indicator-dots="true" interval='5000' duration='1000'>
|
|
<block wx:for="{{bnrUrl}}" wx:for-index="index" wx:key="idx">
|
|
<block wx:for="{{bnrUrl}}" wx:for-index="index" wx:key="idx">
|
|
@@ -19,24 +20,27 @@
|
|
<!-- banner 组件 -->
|
|
<!-- banner 组件 -->
|
|
<banner-swiper></banner-swiper>
|
|
<banner-swiper></banner-swiper>
|
|
<view class="index_class">
|
|
<view class="index_class">
|
|
- <view class="index_class_sche">
|
|
|
|
- <view class="index_class_title"><van-icon name="live" /> 即将开班</view>
|
|
|
|
|
|
+ <view class="index_class_sche" bindtap="gostartClass">
|
|
|
|
+ <view class="index_class_title">
|
|
|
|
+ <van-icon name="live" /> 即将开班</view>
|
|
<view class="index_class_num">{{jjdataArr}} 期</view>
|
|
<view class="index_class_num">{{jjdataArr}} 期</view>
|
|
</view>
|
|
</view>
|
|
- <view class="index_class_history">
|
|
|
|
- <view class="index_class_title"><van-icon name="graphic" /> 往期开班</view>
|
|
|
|
|
|
+ <view class="index_class_history" bindtap="goagoClass">
|
|
|
|
+ <view class="index_class_title">
|
|
|
|
+ <van-icon name="graphic" /> 往期开班</view>
|
|
<view class="index_class_num">{{wqdataArr}} 期</view>
|
|
<view class="index_class_num">{{wqdataArr}} 期</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
<view class="index_tf">
|
|
<view class="index_tf">
|
|
- <view wx:for="{{index_tf}}" class="index_tf_block" bindtap="goGrid" wx:key="index" data-id="{{index}}" >
|
|
|
|
- <van-image
|
|
|
|
- width="100rpx"
|
|
|
|
- height="100rpx"
|
|
|
|
- fit="contain"
|
|
|
|
- src="{{item.img}}"
|
|
|
|
-/>
|
|
|
|
|
|
+ <view wx:for="{{index_tf}}" class="index_tf_block" bindtap="goGrid" wx:key="index" data-id="{{index}}">
|
|
|
|
+ <van-image width="100rpx" height="100rpx" fit="contain" src="{{item.img}}" />
|
|
<view class="index_tf_title">{{item.title}}</view>
|
|
<view class="index_tf_title">{{item.title}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -67,7 +71,7 @@
|
|
|
|
|
|
<van-tabs active="{{ active }}" bind:change="onChange" line-width="60" line-height="2">
|
|
<van-tabs active="{{ active }}" bind:change="onChange" line-width="60" line-height="2">
|
|
|
|
|
|
- <van-tab wx:for="{{vType}}" wx:for-item="titem" title="{{titem}}" wx:key="titem" title-style="font-size:30rpx" >
|
|
|
|
|
|
+ <van-tab wx:for="{{vType}}" wx:for-item="titem" title="{{titem}}" wx:key="titem" title-style="font-size:30rpx">
|
|
<view class="xczs">
|
|
<view class="xczs">
|
|
<!-- <view class="zb1" wx:for="{{xcpArr}}" wx:for-index="idx" wx:for-item="item" wx:key="idx" bindtap="goSeevideo" data-item="{{item}}">
|
|
<!-- <view class="zb1" wx:for="{{xcpArr}}" wx:for-index="idx" wx:for-item="item" wx:key="idx" bindtap="goSeevideo" data-item="{{item}}">
|
|
<image src='{{item.courseImg}}' mode='aspectFill' class="show1"></image>
|
|
<image src='{{item.courseImg}}' mode='aspectFill' class="show1"></image>
|
|
@@ -81,15 +85,13 @@
|
|
</view>
|
|
</view>
|
|
</view> -->
|
|
</view> -->
|
|
|
|
|
|
|
|
+ <view class="ivlist" wx:for="{{xcpArr}}" wx:for-index="idx" wx:for-item="item" wx:key="idx" bindtap="goSeevideo"
|
|
|
|
+ data-item="{{item}}">
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- <view class="ivlist" wx:for="{{xcpArr}}" wx:for-index="idx" wx:for-item="item" wx:key="idx" bindtap="goSeevideo" data-item="{{item}}">
|
|
|
|
-
|
|
|
|
<view class="ivlist_text">
|
|
<view class="ivlist_text">
|
|
<view class="ivlist_title van-multi-ellipsis--l2">{{item.courseName}}</view>
|
|
<view class="ivlist_title van-multi-ellipsis--l2">{{item.courseName}}</view>
|
|
- <view class="ivlist_subt"><van-icon name="eye-o" class="ivlist_icon" /> {{item.playTimes}}人看过</view>
|
|
|
|
|
|
+ <view class="ivlist_subt">
|
|
|
|
+ <van-icon name="eye-o" class="ivlist_icon" /> {{item.playTimes}}人看过</view>
|
|
</view>
|
|
</view>
|
|
<!-- <van-image width="180" height="150" fit="cover" src="{{item.courseImg}}" /> -->
|
|
<!-- <van-image width="180" height="150" fit="cover" src="{{item.courseImg}}" /> -->
|
|
<image src='{{item.courseImg}}' mode='aspectFill' class="ivlist_img"></image>
|
|
<image src='{{item.courseImg}}' mode='aspectFill' class="ivlist_img"></image>
|
|
@@ -99,7 +101,7 @@
|
|
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
- </van-tab>
|
|
|
|
|
|
+ </van-tab>
|
|
</van-tabs>
|
|
</van-tabs>
|
|
|
|
|
|
|
|
|