|
@@ -76,7 +76,7 @@
|
|
|
/>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view>
|
|
|
+ <view class="course_name">
|
|
|
<u-row>
|
|
|
<u-col span="10">
|
|
|
<view class="video_t1">{{ detail.courseName }}</view>
|
|
@@ -216,7 +216,7 @@
|
|
|
@click="jumpNote(item1)"
|
|
|
>
|
|
|
<view style="display: flex">
|
|
|
- <view>
|
|
|
+ <view class="left_ti">
|
|
|
<view>
|
|
|
<image
|
|
|
src="/static/icon/note2.png"
|
|
@@ -231,7 +231,7 @@
|
|
|
</view>
|
|
|
<view
|
|
|
class="title"
|
|
|
- style="width: 39rpx; height: 39rpx; margin: 0 29rpx"
|
|
|
+ style="width: 39rpx; height: 39rpx;"
|
|
|
>{{ $method.secondToDate(item1.noteSecond) }}</view
|
|
|
>
|
|
|
</view>
|
|
@@ -1321,10 +1321,10 @@ export default {
|
|
|
this.$u.toast("请输入内容");
|
|
|
return;
|
|
|
}
|
|
|
- if (!this.gradeId) {
|
|
|
- this.$u.toast("暂无班级数据");
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if (!this.gradeId) { // 直播课程没有班级,去掉判断,默认为0
|
|
|
+ // this.$u.toast("暂无班级数据");
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
var polyvPlayerContext = this.selectComponent("#playerVideo");
|
|
|
let noteDate = this.$method.getZeroTime();
|
|
|
let noteSecond = polyvPlayerContext.getCurrentTime();
|
|
@@ -1350,6 +1350,7 @@ export default {
|
|
|
noteSecond: noteSecond,
|
|
|
orderGoodsId: this.orderGoodsId,
|
|
|
};
|
|
|
+ // /user/note 新增用户笔记
|
|
|
this.$api.postNote(data).then((res) => {
|
|
|
if (res.data.code == 200) {
|
|
|
this.$u.toast("发布成功");
|
|
@@ -1934,8 +1935,7 @@ export default {
|
|
|
})
|
|
|
.then((res) => {});
|
|
|
}, 10000);
|
|
|
-
|
|
|
- websocket.sendMsg("doCourse");
|
|
|
+ // websocket.sendMsg("doCourse");
|
|
|
// }
|
|
|
self.detail = res.data.data;
|
|
|
}
|
|
@@ -2189,7 +2189,7 @@ export default {
|
|
|
margin-left: 8rpx;
|
|
|
}
|
|
|
.t2Content {
|
|
|
- font-size: 28rpx;
|
|
|
+ font-size: 24rpx;
|
|
|
font-family: PingFang SC;
|
|
|
font-weight: bold;
|
|
|
color: #999999;
|
|
@@ -2200,6 +2200,7 @@ export default {
|
|
|
padding-top: 10rpx;
|
|
|
color: #333333;
|
|
|
font-size: 30rpx;
|
|
|
+ font-weight: 400;
|
|
|
}
|
|
|
.tBox {
|
|
|
display: flex;
|
|
@@ -2225,7 +2226,7 @@ page {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
width: 100%;
|
|
|
-
|
|
|
+ z-index: 99;
|
|
|
.flex_auto {
|
|
|
flex: 1;
|
|
|
margin-left: 10%;
|
|
@@ -2248,6 +2249,9 @@ page {
|
|
|
background: #ffffff;
|
|
|
padding: 10rpx;
|
|
|
border-radius: 16rpx;
|
|
|
+ .left_ti {
|
|
|
+ padding-top: 14rpx;
|
|
|
+ }
|
|
|
}
|
|
|
.dateBox {
|
|
|
width: 216rpx;
|
|
@@ -2562,6 +2566,10 @@ page {
|
|
|
font-weight: 500;
|
|
|
color: #666666;
|
|
|
}
|
|
|
+.course_name {
|
|
|
+ height: 80rpx;
|
|
|
+ background-color: #fff;
|
|
|
+}
|
|
|
.video_t1 {
|
|
|
height: 80rpx;
|
|
|
color: #333333;
|
|
@@ -2570,6 +2578,7 @@ page {
|
|
|
font-family: PingFang SC;
|
|
|
font-weight: bold;
|
|
|
color: #333333;
|
|
|
+ margin-left: 15rpx;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
white-space: nowrap;
|