Merge remote-tracking branch 'origin/master'
# Conflicts: # package.json
This commit is contained in:
commit
74bab61889
@ -153,6 +153,10 @@
|
|||||||
// autoHeight: true, //高度随内容变化
|
// autoHeight: true, //高度随内容变化
|
||||||
on: {
|
on: {
|
||||||
slideChange() {
|
slideChange() {
|
||||||
|
self.isCommenting = false;
|
||||||
|
self.isSharing = false;
|
||||||
|
|
||||||
|
|
||||||
let dateLength = self.data.length;
|
let dateLength = self.data.length;
|
||||||
let index = self.currentPlayIndex = this.activeIndex;
|
let index = self.currentPlayIndex = this.activeIndex;
|
||||||
console.log(index);
|
console.log(index);
|
||||||
@ -193,8 +197,8 @@
|
|||||||
touchStart(event) {
|
touchStart(event) {
|
||||||
// console.log();
|
// console.log();
|
||||||
// event.stopPropagation();
|
// event.stopPropagation();
|
||||||
self.isCommenting = false;
|
// self.isCommenting = false;
|
||||||
self.isSharing = false;
|
// self.isSharing = false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -203,6 +207,10 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
togglePlayVideo(e) {
|
togglePlayVideo(e) {
|
||||||
|
console.log('1');
|
||||||
|
console.log(this.isCommenting)
|
||||||
|
console.log(this.isSharing);
|
||||||
|
// return;
|
||||||
if (this.isSharing) {
|
if (this.isSharing) {
|
||||||
this.isSharing = false;
|
this.isSharing = false;
|
||||||
return;
|
return;
|
||||||
@ -266,7 +274,7 @@
|
|||||||
window.scrollTo(0, 0);
|
window.scrollTo(0, 0);
|
||||||
let other = this.$refs.other.$el;
|
let other = this.$refs.other.$el;
|
||||||
let footer = this.$refs.footer.$el;
|
let footer = this.$refs.footer.$el;
|
||||||
let share = this.$refs.share.$el;
|
// let share = this.$refs.share.$el;
|
||||||
this.otherUserHeight = other.offsetHeight;
|
this.otherUserHeight = other.offsetHeight;
|
||||||
if (this.otherUserHeight < this.height) {
|
if (this.otherUserHeight < this.height) {
|
||||||
this.otherUserHeight = this.height;
|
this.otherUserHeight = this.height;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user