From b8082b33521ac410f85405e6e491f8c1eea26e57 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Tue, 14 Jan 2025 18:25:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=92=AD=E6=94=BE=E5=BC=80?= =?UTF-8?q?=E5=A7=8B=E8=AF=B7=E6=B1=82=E6=8E=A5=E5=8F=A3=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E9=98=B2=E6=8A=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/video/index.js | 4 +- components/my-video-list/list-item.vue | 54 ++++++++++---------- components/my-video-list/my-video-list.vue | 57 ++++++++++++++-------- pages/pays/pays.vue | 1 + 4 files changed, 67 insertions(+), 49 deletions(-) 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 @@