63 lines
2.3 KiB
Plaintext
Raw Normal View History

2025-06-06 15:17:30 +08:00
<!--subpackage/student/teach/teach.wxml-->
<view class="page-content" style="padding: 0 30rpx;box-sizing: border-box;">
<mp-bar background="linear-gradient(190deg, #49a5fc 0%, #f7f7f7 800rpx, #f7f7f7 100%)" title="教学" color="#fff" back="{{false}}"></mp-bar>
<!-- <view class="card" bind:tap="goList">
<view class="title">
<view class="title-before"></view>场馆列表
</view>
</view> -->
<image bind:tap="goList" src="https://yuedong-wechatapplet.oss-cn-shanghai.aliyuncs.com/static/room/room_going.png" class="going" mode="" />
<view class="card">
<view class="title">
<view class="title-before"></view>热门课程
</view>
<scroll-view scroll-x="{{true}}">
<view class="hot">
<view class="hot-item" wx:for="{{hotList}}" wx:key="index">
<video src="{{item.url}}" bind:tap="vicTap" id="{{item.id}}" show-center-play-btn="{{false}}" poster="{{item.coverImage}}" title="{{item.curricularName}}" class="vic" object-fit="fill" />
<view class="desc">
<view class="name">{{item.curricularName}}</view>
<view class="hit">
{{item.hits}}
<mp-icon icon="eyes-on" size="{{16}}" style="margin-left: 8rpx;"></mp-icon>
</view>
</view>
</view>
</view>
</scroll-view>
</view>
<view class="card">
<view class="title">
<view class="title-before"></view>课程中心
</view>
<scroll-view scroll-x="{{true}}" class="bb">
<view class="tab">
<view class="tab-item {{typeId == item.id ? 'active':''}}" wx:key="id" wx:for="{{teachTypeList}}" id="{{item.id}}" bind:tap="changeTab">
{{item.name}}
</view>
</view>
</scroll-view>
<view class="hot2">
<view class="hot-item hot2-item" wx:for="{{teachList}}" wx:key="index">
<video src="{{item.url}}" bind:tap="vicTap" id="{{item.id}}" show-center-play-btn="{{false}}" poster="{{item.coverImage}}" title="{{item.curricularName}}" class="vic" object-fit="fill" />
<view class="desc">
<view class="name">{{item.curricularName}}</view>
<view class="hit">
{{item.hits}}
<mp-icon icon="eyes-on" size="{{16}}" style="margin-left: 8rpx;"></mp-icon>
</view>
</view>
</view>
</view>
</view>
</view>