|
|
|
@ -142,6 +142,10 @@
@@ -142,6 +142,10 @@
|
|
|
|
|
// autoHeight: true, //高度随内容变化 |
|
|
|
|
on: { |
|
|
|
|
slideChange() { |
|
|
|
|
self.isCommenting = false; |
|
|
|
|
self.isSharing = false; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let dateLength = self.data.length; |
|
|
|
|
let index = this.activeIndex; |
|
|
|
|
console.log(index); |
|
|
|
@ -182,8 +186,8 @@
@@ -182,8 +186,8 @@
|
|
|
|
|
touchStart(event) { |
|
|
|
|
// console.log(); |
|
|
|
|
// event.stopPropagation(); |
|
|
|
|
self.isCommenting = false; |
|
|
|
|
self.isSharing = false; |
|
|
|
|
// self.isCommenting = false; |
|
|
|
|
// self.isSharing = false; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -192,6 +196,10 @@
@@ -192,6 +196,10 @@
|
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
togglePlayVideo(e) { |
|
|
|
|
console.log('1'); |
|
|
|
|
console.log(this.isCommenting) |
|
|
|
|
console.log(this.isSharing); |
|
|
|
|
// return; |
|
|
|
|
if (this.isSharing) { |
|
|
|
|
this.isSharing = false; |
|
|
|
|
return; |
|
|
|
@ -255,7 +263,7 @@
@@ -255,7 +263,7 @@
|
|
|
|
|
window.scrollTo(0, 0); |
|
|
|
|
let other = this.$refs.other.$el; |
|
|
|
|
let footer = this.$refs.footer.$el; |
|
|
|
|
let share = this.$refs.share.$el; |
|
|
|
|
// let share = this.$refs.share.$el; |
|
|
|
|
this.otherUserHeight = other.offsetHeight; |
|
|
|
|
if (this.otherUserHeight < this.height) { |
|
|
|
|
this.otherUserHeight = this.height; |
|
|
|
|