diff --git a/api/video/index.js b/api/video/index.js index 51d4b66..4031e69 100644 --- a/api/video/index.js +++ b/api/video/index.js @@ -55,13 +55,13 @@ export function getJinbiBili(data) { //获取推荐视频 export function tuijianVideo(data){ - const randomNum=5+ Math.ceil(Math.random()*30) + const randomNum=10+ Math.ceil(Math.random()*20) return http.request({ url: 'course/selectCourseDetailsList', method:'GET', data:{ page: 1, - limit: 5, + limit: 10, randomNum: randomNum } }) diff --git a/components/my-video-list/list-item.vue b/components/my-video-list/list-item.vue index 2c7a6b1..8a2b736 100644 --- a/components/my-video-list/list-item.vue +++ b/components/my-video-list/list-item.vue @@ -2,8 +2,7 @@