diff --git a/src/api/boguApi.js b/src/api/boguApi.js new file mode 100644 index 0000000..b3dec00 --- /dev/null +++ b/src/api/boguApi.js @@ -0,0 +1,10 @@ +import service from "./indexApi"; +const boguApi = { + selectBogu(queryType){ + //查询首页的数据 + return service.post('/api/show/getShowList', {queryType: queryType}); + } + +} + +export default boguApi; \ No newline at end of file diff --git a/src/api/zhiboApi.js b/src/api/zhiboApi.js new file mode 100644 index 0000000..25009f2 --- /dev/null +++ b/src/api/zhiboApi.js @@ -0,0 +1,10 @@ +import service from "./indexApi"; +const zhiboApi = { + selectZhibo(queryType){ + //查询首页的数据 + return service.post('/api/live/getLiveList', {queryType: queryType}); + } + +} + +export default zhiboApi; \ No newline at end of file diff --git a/src/views/ClubView.vue b/src/views/ClubView.vue index ef8d62d..fcc5eba 100644 --- a/src/views/ClubView.vue +++ b/src/views/ClubView.vue @@ -25,9 +25,9 @@
-
+
- Video Thumbnail + Video Thumbnail
@@ -45,19 +45,19 @@ HomilyLink
- {{ video.date }} + {{ videos.publishTime }}
Views - {{ video.views }} + {{ videos.viewCount }}
Comments - {{ video.comments }} + {{ videos.commentCount }}
- +
@@ -77,108 +77,156 @@
+ + + + + + + \ No newline at end of file diff --git a/src/views/LiveView.vue b/src/views/LiveView.vue index ce12034..8d58ab6 100644 --- a/src/views/LiveView.vue +++ b/src/views/LiveView.vue @@ -3,17 +3,17 @@
- 课程图片 + 课程图片
即将开播
-
{{ course.time }}
+
{{ course.startTime }}
{{ course.title }}
@@ -23,143 +23,26 @@
- +