Commit aad334a3 by tangjiale

交互优化

parent 527409e8
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com * @eMail: 932055106@qq.com
* @Date: 2022-01-13 17:47:44 * @Date: 2022-01-13 17:47:44
* @LastEditors: tangjiale * @LastEditors: tangjiale
* @LastEditTime: 2022-06-15 10:33:27 * @LastEditTime: 2022-06-16 14:24:19
*/ */
// wx.setStorageSync('host', 'https://sdb.youchengzhang.cn/'); //正式环境 // wx.setStorageSync('host', 'https://sdb.youchengzhang.cn/'); //正式环境
// wx.setStorageSync('host', 'https://test.xiaobentiyu.cn'); //测试环境 // wx.setStorageSync('host', 'https://test.xiaobentiyu.cn'); //测试环境
...@@ -27,7 +27,15 @@ App({ ...@@ -27,7 +27,15 @@ App({
}) })
} }
this.autoUpdate(); this.autoUpdate();
// 获取手机系统信息
wx.getSystemInfo({
success: res => {
//导航高度
this.globalData.navHeight = res.statusBarHeight + 46;
}, fail(err) {
console.log(err);
}
})
wx.setStorageSync('appId', 'wx7d7fbc0e6746baf5'); wx.setStorageSync('appId', 'wx7d7fbc0e6746baf5');
plugins.configPlugin({ plugins.configPlugin({
......
/*
* @Author: tangjiale
* @eMail: 932055106@qq.com
* @Date: 2022-06-16 15:04:53
* @LastEditors: tangjiale
* @LastEditTime: 2022-06-16 15:12:33
*/
// components/empty/empty.js
Component({
/**
* 组件的属性列表
*/
properties: {
text: {
type: String,
value: '暂无数据'
},
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="empty-data">
<image src="/images/home/no-data.png"></image>
<view class="empty-text">{{text}}</view>
</view>
\ No newline at end of file
.empty-data {
display: flex;
flex-direction: column;
align-items: center;
overflow: hidden;
width: 100%;
height: 360rpx;
padding-top: calc((100% - 360rpx) / 2);
}
.empty-data image {
height: 360rpx;
margin: 0 auto;
}
.empty-text {
font-size: 28rpx;
font-weight: 400;
color: rgba(0, 0, 0, 0.3);
margin-top: 20rpx;
}
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
min-height: 100vh; min-height: 100vh;
width: 100%; width: 100%;
background-color: #fff; background-color: #fff;
padding-bottom: 112rpx; padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
} }
.content{ .content{
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com * @eMail: 932055106@qq.com
* @Date: 2022-06-06 16:44:43 * @Date: 2022-06-06 16:44:43
* @LastEditors: tangjiale * @LastEditors: tangjiale
* @LastEditTime: 2022-06-16 10:07:35 * @LastEditTime: 2022-06-16 15:35:33
*/ */
var app = getApp(); var app = getApp();
var API = require("../../utils/request.js"); var API = require("../../utils/request.js");
...@@ -33,25 +33,25 @@ Page({ ...@@ -33,25 +33,25 @@ Page({
icon:'https://cdn.xiaobentiyu.cn/sport_minapp_img/home/icon_question.png' icon:'https://cdn.xiaobentiyu.cn/sport_minapp_img/home/icon_question.png'
},{ },{
title:'切换身份',event:'change', title:'切换身份',event:'change',
icon:'https://cdn.xiaobentiyu.cn/sport_minapp_img/home/icon_question.png' icon:'/images/course/sf-icon.png'
} }
], ],
'parent':[ 'parent':[
{ {
title:'体验课订购',event:'order', title:'体验课订购',event:'order',
icon:'https://cdn.xiaobentiyu.cn/sport_minapp_img/home/icon_question.png' icon:'/images/course/dk-icon.png'
},{ },{
title:'班课报名',event:'enroll', title:'班课报名',event:'enroll',
icon:'https://cdn.xiaobentiyu.cn/sport_minapp_img/home/icon_question.png' icon:'/images/course/bm-icon.png'
},{ },{
title:'销课记录',event:'sales', title:'销课记录',event:'sales',
icon:'https://cdn.xiaobentiyu.cn/sport_minapp_img/home/icon_question.png' icon:'/images/course/sf-icon.png'
},{ },{
title:'我的收藏',event:'collect', title:'我的收藏',event:'collect',
icon:'https://cdn.xiaobentiyu.cn/sport_minapp_img/home/icon_question.png' icon:'/images/course/collect-icon.png'
},{ },{
title:'切换身份',event:'change', title:'切换身份',event:'change',
icon:'https://cdn.xiaobentiyu.cn/sport_minapp_img/home/icon_question.png' icon:'/images/course/sf-icon.png'
} }
] ]
} }
......
...@@ -3,16 +3,20 @@ ...@@ -3,16 +3,20 @@
* @eMail: 932055106@qq.com * @eMail: 932055106@qq.com
* @Date: 2022-06-06 16:45:35 * @Date: 2022-06-06 16:45:35
* @LastEditors: tangjiale * @LastEditors: tangjiale
* @LastEditTime: 2022-06-16 11:25:35 * @LastEditTime: 2022-06-16 14:59:17
*/ */
var API = require("../../utils/request"); var API = require("../../utils/request");
var App = getApp();
Page({ Page({
/** /**
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
navT: wx.getMenuButtonBoundingClientRect().top,
navH:wx.getMenuButtonBoundingClientRect().bottom - wx.getMenuButtonBoundingClientRect().top,
stuInfo:{},
skipType: 1, //1、定时跳,2、定数跳,3、自由跳 skipType: 1, //1、定时跳,2、定数跳,3、自由跳
timeList: { timeList: {
1: '00:30', 1: '00:30',
...@@ -160,6 +164,10 @@ nextType() { ...@@ -160,6 +164,10 @@ nextType() {
}) })
} }
this.setData({ this.setData({
stuInfo:{
name:userInfo.stuName || '',
render:userInfo.stuGender || ''
},
skipType: 1, //1、定时跳,2、定数跳,3、自由跳 skipType: 1, //1、定时跳,2、定数跳,3、自由跳
selectType: 2, selectType: 2,
selectContent: this.data.timeList[2] selectContent: this.data.timeList[2]
......
{ {
"navigationStyle": "custom",
"usingComponents": { "usingComponents": {
"t-popup":"../../components/t-popup/index", "t-popup":"../../components/t-popup/index",
"stu-info":"../../components/sport/stu-info-popup/stu-info-popup" "stu-info":"../../components/sport/stu-info-popup/stu-info-popup"
}, }
"navigationBarTitleText": "运动"
} }
\ No newline at end of file
<view class="list"> <view class="list">
<view class="nav-bg" style="margin-top:{{navT}}px">
<view class="flex-c" style="height:{{navH}}px">
<image class="stu-img" wx:if="{{stuInfo.name}}" src="{{stuInfo.render==2?'https://ttxs01-10066525.cos.ap-shanghai.myqcloud.com/headImgs/girl_default.png':'https://ttxs01-10066525.cos.ap-shanghai.myqcloud.com/headImgs/boy_default.png'}}" /> {{stuInfo.name}}
</view>
</view>
<view class="top-content {{skipType==1?'top-content-a':skipType==2?'top-content-b':skipType==3?'top-content-c':'top-content-a'}}"> <view class="top-content {{skipType==1?'top-content-a':skipType==2?'top-content-b':skipType==3?'top-content-c':'top-content-a'}}">
<image class="time-skip" style="{{skipType==1 ? 'display:block' : ''}}" src="../../images/home/time_skip.png"></image> <image class="time-skip" style="{{skipType==1 ? 'display:block' : ''}}" src="../../images/home/time_skip.png"></image>
<image class="time-skip" style="{{skipType==2 ? 'display:block' : ''}}" src="../../images/home/num_skip.png"></image> <image class="time-skip" style="{{skipType==2 ? 'display:block' : ''}}" src="../../images/home/num_skip.png"></image>
......
.nav-bg{
overflow: hidden;
width: 100%;
display: flex;
align-items: center;
font-size: 36rpx;
font-family: PingFang SC-Bold, PingFang SC;
font-weight: bold;
color: rgba(0, 0, 0, 0.9);
}
.flex-c{display: flex;align-items: center;}
.stu-img{
height: 50rpx;
width: 50rpx;
margin-right: 10rpx;
}
.list{ .list{
width: 690rpx; width: calc(100% - 60rpx);
overflow: hidden; overflow: hidden;
margin: 0 auto; margin: 0 30rpx;
min-height: 100vh; min-height: 100vh;
padding-bottom: 100rpx; padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
} }
.list .li:nth-child(2n-1){ .list .li:nth-child(2n-1){
position: relative; position: relative;
float: left; float: left;
width: 49%; width: calc((100% - 24rpx) / 2);
margin-left: 2%;
margin-bottom: 40rpx; margin-bottom: 40rpx;
} }
.list .li:nth-child(2n){ .list .li:nth-child(2n){
position: relative; position: relative;
float: left; float: left;
width: 49%; width: calc((100% - 24rpx) / 2);
margin-left: 0%; margin-left: 24rpx;
margin-bottom: 40rpx; margin-bottom: 40rpx;
} }
...@@ -64,9 +80,9 @@ ...@@ -64,9 +80,9 @@
.top-content { .top-content {
position: relative; position: relative;
width: 690rpx;
height: 382rpx; height: 382rpx;
margin: 16rpx auto 30rpx auto; width: 100%;
margin: 16rpx 0px 30rpx 0px;
} }
.time-skip { .time-skip {
......
...@@ -37,6 +37,20 @@ ...@@ -37,6 +37,20 @@
"name": "我的收藏", "name": "我的收藏",
"pathName": "subPages/course/collect-list/collect-list", "pathName": "subPages/course/collect-list/collect-list",
"query": "", "query": "",
"launchMode": "default",
"scene": null
},
{
"name": "运动",
"pathName": "pages/sport/sport",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "subPages/course/attempt-list/attempt-list",
"query": "",
"scene": null, "scene": null,
"launchMode": "default" "launchMode": "default"
} }
......
{ {
"usingComponents": {}, "usingComponents": {
"empty":"/components/empty/empty"
},
"navigationBarTitleText": "体验课订购" "navigationBarTitleText": "体验课订购"
} }
\ No newline at end of file
...@@ -2,38 +2,44 @@ ...@@ -2,38 +2,44 @@
<!-- 体验课订单列表 --> <!-- 体验课订单列表 -->
<view class="page-bg"> <view class="page-bg">
<view class="course" wx:for="{{list}}"> <block wx:if="{{list && list.length}}">
<view class="flex-s"> <view class="course" wx:for="{{list}}" wx:key="{{index}}">
<view class="course-time"><text class="blod-c">订购时间</text>:{{item.orderTime}}</view> <view class="flex-s">
<!-- 0:待支付,1:已订购,2:待退款,3:已退款,4:已关闭) --> <view class="course-time"><text class="blod-c">订购时间</text>:{{item.orderTime}}</view>
<view class="course-state {{['red-c','gree-c','yell-c','grey-c','grey-c'][item.orderStatus]}}">{{['待支付','已订购','待退款','已退款','已关闭'][item.orderStatus]}}</view> <!-- 0:待支付,1:已订购,2:待退款,3:已退款,4:已关闭) -->
</view> <view class="course-state {{['red-c','gree-c','yell-c','grey-c','grey-c'][item.orderStatus]}}">{{['待支付','已订购','待退款','已退款','已关闭'][item.orderStatus]}}</view>
</view>
<view class="course-ctn flex-c"> <view class="course-ctn flex-c">
<view class="course-img"> <view class="course-img">
<image class="course-img" mode="aspectFill" src="{{item.poster}}" /> <image class="course-img" mode="aspectFill" src="{{item.poster}}" />
</view>
<view class="course-info">
<view class="course-title">{{item.courseName}}</view>
<view class="flex-c">
<view class="tag-item {{item.courseStep==1?'xx-color':item.courseStep==2?'cz-color':'gz-color'}}">{{item.courseStep==1?'小学':item.courseStep==2?'初中':'高中'}}组</view>
<view class="tag-item">{{item.classHour}}课时</view>
<view class="tag-item">{{['','基础班','提高班','精英班','赛事班'][item.leveId]}}</view>
</view>
<view class="course-teachers">授课教练 {{item._empNames}}</view>
</view>
</view> </view>
<view class="course-info">
<view class="course-title">{{item.courseName}}</view> <view class="btm-line flex-s">
<view class="flex-c"> <view class="flex-c">
<view class="tag-item {{item.courseStep==1?'xx-color':item.courseStep==2?'cz-color':'gz-color'}}">{{item.courseStep==1?'小学':item.courseStep==2?'初中':'高中'}}组</view> <text class="t1">支付金额:</text><text class="unit">¥</text><text class="course-price">{{item.orderAmt ? item.orderAmt / 100 : 0}}</text>
<view class="tag-item">{{item.classHour}}课时</view> </view>
<view class="tag-item">{{['','基础班','提高班','精英班','赛事班'][item.leveId]}}</view> <view class="flex-c">
<!-- orderStatus (0:待支付,1:已订购,2:待退款,3:已退款,4:已关闭) -->
<view class="cannal-btn" data-data="{{item}}" bindtap="cannalCourse" wx:if="{{item.canCancelOrder == 1 && item.orderStatus == 1}}">取消订单</view>
<view class="pay-btn" wx:if="{{item.orderStatus==0}}" data-data="{{item}}" bindtap="payCourse">立即支付</view>
</view> </view>
<view class="course-teachers">授课教练 {{item._empNames}}</view>
</view> </view>
</view> </view>
</block>
<view class="btm-line flex-s"> <block wx:if="{{!list.length && finish}}">
<view class="flex-c"> <empty></empty>
<text class="t1">支付金额:</text><text class="unit">¥</text><text class="course-price">{{item.orderAmt ? item.orderAmt / 100 : 0}}</text> </block>
</view>
<view class="flex-c">
<!-- orderStatus (0:待支付,1:已订购,2:待退款,3:已退款,4:已关闭) -->
<view class="cannal-btn" data-data="{{item}}" bindtap="cannalCourse" wx:if="{{item.canCancelOrder == 1 && item.orderStatus == 1}}">取消订单</view>
<view class="pay-btn" wx:if="{{item.orderStatus==0}}" data-data="{{item}}" bindtap="payCourse">立即支付</view>
</view>
</view>
</view>
</view> </view>
\ No newline at end of file
{ {
"usingComponents": {}, "usingComponents": {
"empty":"/components/empty/empty"
},
"navigationBarTitleText": "我的收藏" "navigationBarTitleText": "我的收藏"
} }
\ No newline at end of file
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<!-- 体验课订单列表 --> <!-- 体验课订单列表 -->
<view class="page-bg"> <view class="page-bg">
<block wx:if="{{list && list.length}}">
<view class="course" wx:for="{{list}}" bindtap="gotoDetail" data-id="{{item.id}}"> <view class="course" wx:for="{{list}}" bindtap="gotoDetail" data-id="{{item.id}}">
<van-swipe-cell right-width="{{ 80 }}"> <van-swipe-cell right-width="{{ 80 }}">
<view class="course-ctn flex-c"> <view class="course-ctn flex-c">
...@@ -32,5 +33,10 @@ ...@@ -32,5 +33,10 @@
<view slot="right" class="del-btn" data-id="{{item.id}}" bindtap="cannalCollect">删除</view> <view slot="right" class="del-btn" data-id="{{item.id}}" bindtap="cannalCollect">删除</view>
</van-swipe-cell> </van-swipe-cell>
</view> </view>
</block>
<block wx:if="{{!list.length && finish}}">
<empty></empty>
</block>
</view> </view>
\ No newline at end of file
{ {
"usingComponents": {}, "usingComponents": {
"empty":"/components/empty/empty"
},
"navigationBarTitleText": "班课报名" "navigationBarTitleText": "班课报名"
} }
\ No newline at end of file
...@@ -2,38 +2,44 @@ ...@@ -2,38 +2,44 @@
<!-- 体验课订单列表 --> <!-- 体验课订单列表 -->
<view class="page-bg"> <view class="page-bg">
<view class="course" wx:for="{{list}}"> <block wx:if="{{list && list.length}}">
<view class="flex-s"> <view class="course" wx:for="{{list}}">
<view class="course-time"><text class="blod-c">报名时间</text>:{{item.bmTime}}</view> <view class="flex-s">
<!-- bmStatus 报名状态(0:待确认报名,1:已确认报名,2:待取消报名,3:已取消报名) --> <view class="course-time"><text class="blod-c">报名时间</text>:{{item.bmTime}}</view>
<view class="course-state {{['yell-c','gree-c','red-c','grey-c'][item.bmStatus]}}">{{['待确认','已报名','待取消','已取消'][item.bmStatus]}}</view> <!-- bmStatus 报名状态(0:待确认报名,1:已确认报名,2:待取消报名,3:已取消报名) -->
</view> <view class="course-state {{['yell-c','gree-c','red-c','grey-c'][item.bmStatus]}}">{{['待确认','已报名','待取消','已取消'][item.bmStatus]}}</view>
</view>
<view class="course-ctn flex-c"> <view class="course-ctn flex-c">
<view class="course-img"> <view class="course-img">
<image class="course-img" mode="aspectFill" src="{{item.poster}}" /> <image class="course-img" mode="aspectFill" src="{{item.poster}}" />
</view>
<view class="course-info">
<view class="course-title">{{item.courseName}}</view>
<view class="flex-c">
<view class="tag-item {{item.courseStep==1?'xx-color':item.courseStep==2?'cz-color':'gz-color'}}">{{item.courseStep==1?'小学':item.courseStep==2?'初中':'高中'}}组</view>
<view class="tag-item">{{item.classHour}}课时</view>
<view class="tag-item">{{['','基础班','提高班','精英班','赛事班'][item.leveId]}}</view>
</view>
<view class="course-teachers">授课教练 {{item._empNames}}</view>
</view>
</view> </view>
<view class="course-info">
<view class="course-title">{{item.courseName}}</view> <view class="btm-line flex-s">
<view class="flex-c"> <view class="flex-c">
<view class="tag-item {{item.courseStep==1?'xx-color':item.courseStep==2?'cz-color':'gz-color'}}">{{item.courseStep==1?'小学':item.courseStep==2?'初中':'高中'}}组</view> <text class="t1">支付金额:</text><text class="unit">¥</text><text class="course-price">{{item.cost ? item.cost / 100 : 0}}</text>
<view class="tag-item">{{item.classHour}}课时</view> </view>
<view class="tag-item">{{['','基础班','提高班','精英班','赛事班'][item.leveId]}}</view> <view class="flex-c">
<!-- bmStatus 报名状态(0:待确认报名,1:已确认报名,2:待取消报名,3:已取消报名) -->
<view class="cannal-btn" data-data="{{item}}" bindtap="cannalJoin" wx:if="{{item.canCancel == 1 && item.bmStatus == 1}}">取消报名</view>
<!-- <view class="pay-btn" wx:if="{{item.orderStatus==0}}" data-data="{{item}}" bindtap="payCourse">立即支付</view> -->
</view> </view>
<view class="course-teachers">授课教练 {{item._empNames}}</view>
</view> </view>
</view> </view>
</block>
<view class="btm-line flex-s"> <block wx:if="{{!length && finish}}">
<view class="flex-c"> <empty></empty>
<text class="t1">支付金额:</text><text class="unit">¥</text><text class="course-price">{{item.cost ? item.cost / 100 : 0}}</text> </block>
</view>
<view class="flex-c">
<!-- bmStatus 报名状态(0:待确认报名,1:已确认报名,2:待取消报名,3:已取消报名) -->
<view class="cannal-btn" data-data="{{item}}" bindtap="cannalJoin" wx:if="{{item.canCancel == 1 && item.bmStatus == 1}}">取消报名</view>
<!-- <view class="pay-btn" wx:if="{{item.orderStatus==0}}" data-data="{{item}}" bindtap="payCourse">立即支付</view> -->
</view>
</view>
</view>
</view> </view>
\ No newline at end of file
{ {
"usingComponents": {}, "usingComponents": {
"empty":"/components/empty/empty"
},
"navigationBarTitleText": "小奔运动" "navigationBarTitleText": "小奔运动"
} }
\ No newline at end of file
...@@ -2,8 +2,7 @@ ...@@ -2,8 +2,7 @@
<!-- 课程列表(体验课/班课) --> <!-- 课程列表(体验课/班课) -->
<view class="page-bg"> <view class="page-bg">
<view class="list"> <view class="list" wx:if="{{list && list.length}}">
<!-- 体验课 --> <!-- 体验课 -->
<block wx:if="{{type == 2}}"> <block wx:if="{{type == 2}}">
<view class="course-bg" wx:for="{{list}}" data-id="{{item.id}}" bindtap="gotoDetail"> <view class="course-bg" wx:for="{{list}}" data-id="{{item.id}}" bindtap="gotoDetail">
...@@ -63,5 +62,9 @@ ...@@ -63,5 +62,9 @@
</view> </view>
</block> </block>
</view> </view>
<block wx:if="{{!list.length && finish}}">
<empty></empty>
</block>
</view> </view>
\ No newline at end of file
{ {
"usingComponents": {}, "usingComponents": {
"empty":"/components/empty/empty"
},
"navigationBarTitleText": "消课记录" "navigationBarTitleText": "消课记录"
} }
\ No newline at end of file
...@@ -2,35 +2,42 @@ ...@@ -2,35 +2,42 @@
<!-- 体验课订单列表 --> <!-- 体验课订单列表 -->
<view class="page-bg"> <view class="page-bg">
<view class="course" wx:for="{{list}}" bindtap="gotoDetail" data-id="{{item.courseId}}"> <block wx:if="{{list && list.length}}">
<view class="flex-s"> <view class="course" wx:for="{{list}}" bindtap="gotoDetail" data-id="{{item.courseId}}">
<view class="course-time"><text class="blod-c">{{item.type==1?'报名时间':'订购时间'}}</text>:{{item.courseTime}}</view> <view class="flex-s">
<!-- 0:待支付,1:已订购,2:待退款,3:已退款,4:已关闭) --> <view class="course-time"><text class="blod-c">{{item.type==1?'报名时间':'订购时间'}}</text>:{{item.courseTime}}</view>
<view class="course-state {{['','gree-c','yell-c'][item.type]}}">{{['','正式班课','体验课'][item.type]}}</view> <!-- 0:待支付,1:已订购,2:待退款,3:已退款,4:已关闭) -->
</view> <view class="course-state {{['','gree-c','yell-c'][item.type]}}">{{['','正式班课','体验课'][item.type]}}</view>
</view>
<view class="course-ctn flex-c"> <view class="course-ctn flex-c">
<view class="course-img"> <view class="course-img">
<image class="course-img" mode="aspectFill" src="{{item.poster}}" /> <image class="course-img" mode="aspectFill" src="{{item.poster}}" />
</view>
<view class="course-info">
<view class="course-title">{{item.courseName}}</view>
<view class="flex-c">
<view class="tag-item {{item.courseStep==1?'xx-color':item.courseStep==2?'cz-color':'gz-color'}}">{{item.courseStep==1?'小学':item.courseStep==2?'初中':'高中'}}组</view>
<view class="tag-item">{{item.classHour}}课时</view>
<view class="tag-item">{{['','基础班','提高班','精英班','赛事班'][item.leveId]}}</view>
</view>
<view class="course-teachers">授课教练 {{item._empNames}}</view>
</view>
</view> </view>
<view class="course-info">
<view class="course-title">{{item.courseName}}</view> <view class="btm-line flex-s">
<view class="flex-c"> <view class="flex-c">
<view class="tag-item {{item.courseStep==1?'xx-color':item.courseStep==2?'cz-color':'gz-color'}}">{{item.courseStep==1?'小学':item.courseStep==2?'初中':'高中'}}组</view> <text class="t1">已上:</text><text class="course-time">{{item.useClassHour}}课时</text>
<view class="tag-item">{{item.classHour}}课时</view> <text class="fenge-icon">/</text>
<view class="tag-item">{{['','基础班','提高班','精英班','赛事班'][item.leveId]}}</view> <text class="t1">总课时:</text><text class="course-time">{{item.classHour}}课时</text>
</view> </view>
<view class="course-teachers">授课教练 {{item._empNames}}</view>
</view> </view>
</view> </view>
</block>
<block wx:if="{{!list.length && finish}}">
<empty></empty>
</block>
<view class="btm-line flex-s">
<view class="flex-c">
<text class="t1">已上:</text><text class="course-time">{{item.useClassHour}}课时</text>
<text class="fenge-icon">/</text>
<text class="t1">总课时:</text><text class="course-time">{{item.classHour}}课时</text>
</view>
</view>
</view>
</view> </view>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment