|
@@ -104,7 +104,7 @@
|
|
<noAuth :info="noAuthData" v-else/>
|
|
<noAuth :info="noAuthData" v-else/>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
-import {apiRoadVideoList,apiVideoPlayLog} from '@/api/roadVideo'
|
|
|
|
|
|
+import {apiRoadShowVideoList,apiRoadShowVideoPlayLog} from '@/api/roadShow'
|
|
import {apiGetSceneToParams,apiUserBindPermission} from '@/api/common'
|
|
import {apiGetSceneToParams,apiUserBindPermission} from '@/api/common'
|
|
import noAuth from './components/noAuth.vue'
|
|
import noAuth from './components/noAuth.vue'
|
|
import dragButton from '@/components/dragButton/dragButton.vue'
|
|
import dragButton from '@/components/dragButton/dragButton.vue'
|
|
@@ -149,12 +149,12 @@ export default {
|
|
},
|
|
},
|
|
onShareAppMessage({from,target}) {
|
|
onShareAppMessage({from,target}) {
|
|
console.log(from,target);
|
|
console.log(from,target);
|
|
- let path='/pages/roadShowVideo/videoList?videoId=0'
|
|
|
|
|
|
+ let path='/pages-roadShow/video/list?videoId=0'
|
|
let title='FICC路演视频'
|
|
let title='FICC路演视频'
|
|
let imageUrl=''
|
|
let imageUrl=''
|
|
if(from=='button'){
|
|
if(from=='button'){
|
|
title=`${target.dataset.item.chart_permission_name}:${target.dataset.item.title}`
|
|
title=`${target.dataset.item.chart_permission_name}:${target.dataset.item.title}`
|
|
- path=`/pages/roadShowVideo/videoList?videoId=${target.dataset.item.road_video_id}`
|
|
|
|
|
|
+ path=`/pages-roadShow/video/list?videoId=${target.dataset.item.road_video_id}`
|
|
imageUrl=target.dataset.item.cover_img_url
|
|
imageUrl=target.dataset.item.cover_img_url
|
|
}
|
|
}
|
|
return {
|
|
return {
|
|
@@ -195,7 +195,7 @@ export default {
|
|
|
|
|
|
goSearchPage(){
|
|
goSearchPage(){
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
- url: '/pages/roadShowVideo/videoSearch',
|
|
|
|
|
|
+ url: '/pages-roadShow/video/search',
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
|
|
@@ -221,7 +221,7 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
async getList(){
|
|
async getList(){
|
|
- const res=await apiRoadVideoList({
|
|
|
|
|
|
+ const res=await apiRoadShowVideoList({
|
|
page_index:Number(this.page),
|
|
page_index:Number(this.page),
|
|
page_size:Number(this.pageSize),
|
|
page_size:Number(this.pageSize),
|
|
video_id:Number(this.videoId),
|
|
video_id:Number(this.videoId),
|
|
@@ -263,7 +263,7 @@ export default {
|
|
this.curVideoIns=uni.createVideoContext(this.curVideoId.toString())
|
|
this.curVideoIns=uni.createVideoContext(this.curVideoId.toString())
|
|
}, 300);
|
|
}, 300);
|
|
// 记录播放
|
|
// 记录播放
|
|
- apiVideoPlayLog({video_id:Number(item.road_video_id)}).then(res=>{
|
|
|
|
|
|
+ apiRoadShowVideoPlayLog({video_id:Number(item.road_video_id)}).then(res=>{
|
|
if(res.code===200){
|
|
if(res.code===200){
|
|
console.log('视频埋点成功');
|
|
console.log('视频埋点成功');
|
|
}
|
|
}
|