|
|
|
@ -54,8 +54,8 @@ export default { |
|
|
|
//已阅读 |
|
|
|
//已阅读 |
|
|
|
doRead() { |
|
|
|
doRead() { |
|
|
|
let readBox = this.$refs.scrollView; |
|
|
|
let readBox = this.$refs.scrollView; |
|
|
|
console.log(readBox.scrollHeight, readBox.scrollTop, readBox.clientHeight) |
|
|
|
console.log(readBox.scrollHeight, parseInt(readBox.scrollTop), readBox.clientHeight) |
|
|
|
if (readBox.scrollHeight - readBox.scrollTop !== readBox.clientHeight) { |
|
|
|
if (readBox.scrollHeight - parseInt(readBox.scrollTop) !== readBox.clientHeight) { |
|
|
|
console.log('未阅读完成'); |
|
|
|
console.log('未阅读完成'); |
|
|
|
this.isFlag = false; |
|
|
|
this.isFlag = false; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|