chore: 用户观看时长上传和统计

- 在用户信息页面中,增加用户资料的显示,包括今日观看和总观看时长
- 优化课程详情页中视频组件的传递参数,确保课程ID和目录ID的正确传递
- 注释掉不必要的样式代码以提升可读性
This commit is contained in:
2026-03-24 14:23:48 +08:00
parent 8259195eca
commit 2b208f5dd6
4 changed files with 80 additions and 1344 deletions

View File

@@ -17,7 +17,7 @@
<CommonCourseVideo
:video-list="videoArray"
:current-index="currentCateIndex !== null ? currentCateIndex : 0"
:course="{courseTitle:options.navTitle, chapterTitle: curriculumData.title}"
:course="{courseTitle:options.navTitle, chapterTitle: curriculumData.title, catalogueId: curriculumData.catalogueId || '', courseId: curriculumData.courseId || options.courseId || ''}"
:cover="options.curriculumImgUrl || ''"
:http="$http"
/>
@@ -934,9 +934,9 @@
}
.u-grid-list {
// height: 40rpx;
}
// .u-grid-list {
// // height: 40rpx;
// }
.searchList {
.item {
@@ -1133,7 +1133,8 @@
button {
font-size: 32rpx;
@include theme('btn_bg') color: #fff;
@include theme('btn_bg');
color: #fff;
height: 80rpx;
line-height: 80rpx;
border-radius: 50rpx;
@@ -1236,11 +1237,11 @@
// align-items: center;
}
.headImage {
// height: 400rpx !important;
}
// .headImage {
// // height: 400rpx !important;
// }
.commonDetailPage {}
// .commonDetailPage {}
.curriulum_box {
margin-top: 20rpx;
@@ -1263,9 +1264,9 @@
}
}
/deep/.titleItem {
// width: calc(100% - 120rpx) !important;
}
// /deep/.titleItem {
// // width: calc(100% - 120rpx) !important;
// }
/deep/.scroll-view-item:nth-child(2n-1) {
background-color: transparent !important;
@@ -1396,7 +1397,7 @@
width: calc(100% - 150rpx) !important;
.aui-text-danger {
display: inline-block;
// display: inline-block;
float: right;
}
}