Преглед на файлове

新增群聊通用链接

XSLu08042 преди 1 седмица
родител
ревизия
f007b1bf9b
променени са 3 файла, в които са добавени 18 реда и са изтрити 2 реда
  1. 2 2
      components/commentBox.vue
  2. 8 0
      pages_course/video.vue
  3. 8 0
      pages_course/videoNew.vue

+ 2 - 2
components/commentBox.vue

@@ -1,5 +1,5 @@
 <template>
-	<cover-view>
+	<view>
 		<template v-if="openCommentStatus==2">
 			<!-- <text v-for="(item, index) in activeDanmus" :key="item.commentId" class="danmu-item danmuMove"
 				:style="{
@@ -19,7 +19,7 @@
 			</view>
 			<view class="empty" v-if="msgs&&msgs.length==0">暂无评论~</view>
 		</view>
-	</cover-view>
+	</view>
 </template>
 
 <script>

+ 8 - 0
pages_course/video.vue

@@ -895,6 +895,14 @@
 							this.urlOption = JSON.parse(url)
 							this.isAddKf = 1
 							this.getH5CourseVideoDetails()
+						} else if (res.code == 567) {
+							// 群聊通用链接
+							this.urlOption = {
+								...this.urlOption,
+								qwExternalId: res.qwExternalId
+							}
+							this.isAddKf = 1
+							this.getH5CourseVideoDetails()
 						} else {
 							this.isAddKf = 0
 							uni.showToast({

+ 8 - 0
pages_course/videoNew.vue

@@ -987,6 +987,14 @@
 							this.urlOption = JSON.parse(url)
 							this.isAddKf = 1
 							this.getH5CourseVideoDetails()
+						} else if (res.code == 567) {
+							// 群聊通用链接
+							this.urlOption = {
+								...this.urlOption,
+								qwExternalId: res.qwExternalId
+							}
+							this.isAddKf = 1
+							this.getH5CourseVideoDetails()
 						} else {
 							this.isAddKf = 0
 							uni.showToast({