diff --git a/src/api/homeApi.js b/src/api/homeApi.js index ea235b1..7ab8b26 100644 --- a/src/api/homeApi.js +++ b/src/api/homeApi.js @@ -1,4 +1,3 @@ - import service from "./indexApi"; const homeApi = { selectHome(queryType){ diff --git a/src/api/pindaoApi.js b/src/api/pindaoApi.js new file mode 100644 index 0000000..882944a --- /dev/null +++ b/src/api/pindaoApi.js @@ -0,0 +1,10 @@ +import service from "./indexApi"; +const pindaoApi = { + selectPindao(queryType){ + //查询首页的数据 + return service.post('/api/show/getShowList', {queryType: queryType}); + } + +} + +export default pindaoApi; \ No newline at end of file diff --git a/src/assets/fc96bb6c-3c9e-4517-a8dc-3bacecc0df34.png b/src/assets/fc96bb6c-3c9e-4517-a8dc-3bacecc0df34.png new file mode 100644 index 0000000..26c3ae9 Binary files /dev/null and b/src/assets/fc96bb6c-3c9e-4517-a8dc-3bacecc0df34.png differ diff --git a/src/views/ChannelView.vue b/src/views/ChannelView.vue index 198c99b..2fdc616 100644 --- a/src/views/ChannelView.vue +++ b/src/views/ChannelView.vue @@ -3,10 +3,10 @@ - + - {{ channelName }} - {{ subscribers }}已订阅 + {{ items.publisherName }} + {{ dingyue }}已订阅 @@ -14,20 +14,18 @@ - - - + {{ item.title }} - - {{ channelName }} - {{ item.comments }}评论 - {{ item.date }} + + {{ item.publisherName }} + {{ item.commentCount }}评论 + {{ item.publishTime }} @@ -37,54 +35,28 @@ diff --git a/src/views/ClubView.vue b/src/views/ClubView.vue index fcc5eba..a362abf 100644 --- a/src/views/ClubView.vue +++ b/src/views/ClubView.vue @@ -35,14 +35,14 @@ 🏆 - {{ video.title }} + {{ videos.title }} 博股俱乐部 - - HomilyLink + + {{ videos.publisherName }} {{ videos.publishTime }} @@ -57,7 +57,7 @@ - {{ videos.likeCount}} + {{ videos.likeCount }} @@ -77,158 +77,83 @@ - - - - - - \ No newline at end of file + \ No newline at end of file
{{ subscribers }}已订阅
{{ dingyue }}已订阅