From 5f6ddbc557f7f2b7018b23232cdaf605ada7b46c Mon Sep 17 00:00:00 2001 From: zyronon Date: Mon, 20 Sep 2021 17:09:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=9B=B4=E6=92=AD=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 6 +- src/components/slide/SlideRowList.vue | 2 +- src/pages/home/LivePage.vue | 143 ++++++++++++++++++ src/pages/home/{Search.vue => SearchPage.vue} | 0 src/router/index.js | 4 +- 5 files changed, 150 insertions(+), 5 deletions(-) create mode 100644 src/pages/home/LivePage.vue rename src/pages/home/{Search.vue => SearchPage.vue} (100%) diff --git a/src/App.vue b/src/App.vue index 347920c..f1aa9c0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,8 +4,8 @@ - - + + @@ -45,7 +45,7 @@ export default { this.$store.commit('setMaskDialog', {state: false, mode: this.maskDialogMode}) //footer下面的5个按钮,对跳不要用动画 - let noAnimation = ['/', '/home', '/me', '/attention', '/message', '/publish'] + let noAnimation = ['/', '/home', '/me', '/attention', '/message', '/publish','/home/live'] if (noAnimation.indexOf(from.path) !== -1 && noAnimation.indexOf(to.path) !== -1) { return this.transitionName = '' } diff --git a/src/components/slide/SlideRowList.vue b/src/components/slide/SlideRowList.vue index 48a0161..6c9a11f 100644 --- a/src/components/slide/SlideRowList.vue +++ b/src/components/slide/SlideRowList.vue @@ -3,7 +3,7 @@
下拉刷新内容
-
直播
+
直播
+
+
+ +
+
+
+
+
+ +
+
+
大司马大司马大司马
+
2万本场点赞
+
+ +
+
+
+
#唱歌
+
江苏第15名
+
+
+
+ + + +
107
+ +
+
+
+ +
+
+
+ + + + diff --git a/src/pages/home/Search.vue b/src/pages/home/SearchPage.vue similarity index 100% rename from src/pages/home/Search.vue rename to src/pages/home/SearchPage.vue diff --git a/src/router/index.js b/src/router/index.js index 895fb8e..25ef8ea 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -50,7 +50,8 @@ import Report from "../pages/home/Report"; import SubmitReport from "../pages/home/SubmitReport"; import RequestUpdate from "../pages/me/RequestUpdate"; import Test4 from "../pages/Test4"; -import Search from "../pages/home/Search"; +import Search from "../pages/home/SearchPage"; +import LivePage from "../pages/home/LivePage"; const routes = [ // {path: '', component: Music}, @@ -66,6 +67,7 @@ const routes = [ {path: '/home/music-rank-list', component: MusicRankList}, {path: '/home/report', component: Report}, {path: '/home/search', component: Search}, + {path: '/home/live', component: LivePage}, {path: '/attention', component: Attention},