diff --git a/src/App.vue b/src/App.vue
index 8c87b77..3b6d8bd 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,10 +1,36 @@
-
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/me/VideoDetail.vue b/src/pages/me/VideoDetail.vue
index d103f8c..482f103 100644
--- a/src/pages/me/VideoDetail.vue
+++ b/src/pages/me/VideoDetail.vue
@@ -1,9 +1,9 @@
-
+
-

+
@@ -221,6 +221,118 @@ export default {
duration: 99
},
],
+ videos1: [
+ {
+ // videoUrl: mp40,
+ videoUrl: 'http://qvutp218u.hn-bkt.clouddn.com/0.mp4',
+ videoPoster: src1Bg,
+ isLoved: true,
+ loves: 1234,
+ comments: 666,
+ shared: 999,
+ duration: 99
+ },
+ {
+ // videoUrl: mp41,
+ videoUrl: 'http://qvutp218u.hn-bkt.clouddn.com/1.mp4',
+ videoPoster: src1Bg,
+ isLoved: true,
+ loves: 1234,
+ comments: 666,
+ shared: 999,
+ duration: 99
+ },
+ {
+ // videoUrl: mp42,
+ videoUrl: 'http://qvutp218u.hn-bkt.clouddn.com/2.mp4',
+ videoPoster: src1Bg,
+ isLoved: false,
+ loves: 1234,
+ comments: 666,
+ shared: 999,
+ duration: 99
+ },
+ {
+ // videoUrl: mp43,
+ videoUrl: 'http://qvutp218u.hn-bkt.clouddn.com/3.mp4',
+ videoPoster: src1Bg,
+ isLoved: false,
+ loves: 1234,
+ comments: 666,
+ shared: 999,
+ duration: 99
+ },
+ {
+ // videoUrl: mp44,
+ videoUrl: 'http://qvutp218u.hn-bkt.clouddn.com/4.mp4',
+ videoPoster: src1Bg,
+ isLoved: false,
+ loves: 1234,
+ comments: 666,
+ shared: 999,
+ duration: 99
+ },
+ {
+ // videoUrl: mp45,
+ videoUrl: 'http://qvutp218u.hn-bkt.clouddn.com/5.mp4',
+ videoPoster: src1Bg,
+ isLoved: false,
+ loves: 1234,
+ comments: 666,
+ shared: 999,
+ duration: 99
+ },
+ {
+ // videoUrl: mp46,
+ videoUrl: 'http://qvutp218u.hn-bkt.clouddn.com/6.mp4',
+ videoPoster: src1Bg,
+ isLoved: false,
+ loves: 1234,
+ comments: 666,
+ shared: 999,
+ duration: 99
+ },
+ {
+ // videoUrl: mp47,
+ videoUrl: 'http://qvutp218u.hn-bkt.clouddn.com/7.mp4',
+ videoPoster: src1Bg,
+ isLoved: false,
+ loves: 1234,
+ comments: 666,
+ shared: 999,
+ duration: 99
+ },
+ {
+ // videoUrl: mp48,
+ videoUrl: 'http://qvutp218u.hn-bkt.clouddn.com/8.mp4',
+ videoPoster: src1Bg,
+ isLoved: false,
+ loves: 1234,
+ comments: 666,
+ shared: 999,
+ duration: 99
+ },
+ {
+ // videoUrl: mp49,
+ videoUrl: 'http://qvutp218u.hn-bkt.clouddn.com/9.mp4',
+ videoPoster: src1Bg,
+ isLoved: false,
+ loves: 1234,
+ comments: 666,
+ shared: 999,
+ duration: 99
+ },
+ {
+ // videoUrl: mp410,
+ videoUrl: 'http://qvutp218u.hn-bkt.clouddn.com/10.mp4',
+ videoPoster: src1Bg,
+ isLoved: false,
+ loves: 1234,
+ comments: 666,
+ shared: 999,
+ duration: 99
+ },
+ ],
addCount: 0,
total: 10,
baseActiveIndex: 0,
@@ -243,9 +355,10 @@ export default {
// this.width = document.body.clientWidth
},
created() {
-
+ if (process.env.NODE_ENV !== 'development') {
+ this.videos = this.$clone(this.videos1)
+ }
},
-
}
@@ -262,7 +375,12 @@ export default {
transform: translate3d(0, 50vh, 0);
}
-#home-index {
+#video-detail {
+ position: fixed;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
height: 100%;
width: 100%;
diff --git a/src/utils/global-methods.js b/src/utils/global-methods.js
index 0c27729..a8de5c3 100644
--- a/src/utils/global-methods.js
+++ b/src/utils/global-methods.js
@@ -1,4 +1,7 @@
export default {
+ $back(){
+ window.history.back()
+ },
$stopPropagation(e) {
e.stopImmediatePropagation()
e.stopPropagation()