mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 19:23:26 +00:00
no message
This commit is contained in:
parent
18e41eba4d
commit
6b97696593
@ -73,7 +73,7 @@
|
|||||||
<DynamicScroller
|
<DynamicScroller
|
||||||
ref="scroller"
|
ref="scroller"
|
||||||
class="dialog-scroller scrollbar-overlay"
|
class="dialog-scroller scrollbar-overlay"
|
||||||
:style="{opacity: scrollerShow ? 1 : 0}"
|
:style="{opacity: scrollOpacity ? 1 : 0}"
|
||||||
:disabled="touchBackInProgress"
|
:disabled="touchBackInProgress"
|
||||||
:items="allMsgs"
|
:items="allMsgs"
|
||||||
:min-item-size="58"
|
:min-item-size="58"
|
||||||
@ -329,7 +329,7 @@ export default {
|
|||||||
|
|
||||||
dialogDrag: false,
|
dialogDrag: false,
|
||||||
groupInfoShow: false,
|
groupInfoShow: false,
|
||||||
scrollerShow: true,
|
scrollOpacity: true,
|
||||||
|
|
||||||
navStyle: {},
|
navStyle: {},
|
||||||
|
|
||||||
@ -501,7 +501,7 @@ export default {
|
|||||||
allMsgList(newList, oldList) {
|
allMsgList(newList, oldList) {
|
||||||
const {scrollE} = this.scrollInfo();
|
const {scrollE} = this.scrollInfo();
|
||||||
if (oldList.length === 0) {
|
if (oldList.length === 0) {
|
||||||
this.scrollerShow = false;
|
this.scrollOpacity = false;
|
||||||
}
|
}
|
||||||
this.allMsgs = newList;
|
this.allMsgs = newList;
|
||||||
//
|
//
|
||||||
@ -514,9 +514,9 @@ export default {
|
|||||||
}
|
}
|
||||||
//
|
//
|
||||||
this.allMsgTimer && clearTimeout(this.allMsgTimer);
|
this.allMsgTimer && clearTimeout(this.allMsgTimer);
|
||||||
if (!this.scrollerShow) {
|
if (!this.scrollOpacity) {
|
||||||
this.allMsgTimer = setTimeout(_=>{
|
this.allMsgTimer = setTimeout(_=>{
|
||||||
this.scrollerShow = true;
|
this.scrollOpacity = true;
|
||||||
},100)
|
},100)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user