From b26713a0acb07a65560cdfa0780c1b60c242a418 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Tue, 7 Jan 2025 11:02:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BB=A3=E7=A0=81=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/video/index.js | 8 ++++++++ components/my-video-list/my-video-list.vue | 24 ++++++++++++++-------- pages/video/detail.nvue | 13 +++++++++++- 3 files changed, 35 insertions(+), 10 deletions(-) create mode 100644 api/video/index.js diff --git a/api/video/index.js b/api/video/index.js new file mode 100644 index 0000000..841d906 --- /dev/null +++ b/api/video/index.js @@ -0,0 +1,8 @@ +import http from '@/http/http.js' + +//获取短剧视频详情 +export function getVideoDetail(data) { + return http.request({ + url: 'course/courseSets?courseId='+data.courseId, + }) +} \ No newline at end of file diff --git a/components/my-video-list/my-video-list.vue b/components/my-video-list/my-video-list.vue index 96a79a3..9331c85 100644 --- a/components/my-video-list/my-video-list.vue +++ b/components/my-video-list/my-video-list.vue @@ -1,18 +1,24 @@ -