|
@@ -38,6 +38,11 @@ var vNode = {
|
|
|
$(this.$refs.jList).scrollTop(this.listInfo.scrollTop)
|
|
|
this.adjustAddButtonPadding()
|
|
|
this.groupOffsetTop = $('.j-header').outerHeight(true)
|
|
|
+ let listScrollTop = $(this.$refs.jList).scrollTop()
|
|
|
+ if(listScrollTop === 0) {
|
|
|
+ // 删除van-sticky的fixed类名,防止滚动穿透问题
|
|
|
+ $('.van-sticky').removeClss('van-sticky--fixed')
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
recover: function () {
|
|
@@ -226,6 +231,11 @@ var vNode = {
|
|
|
pageNum: this.listInfo.pageNum,
|
|
|
group: lengthBool ? this.selectGroupList.map(s => s.id).join(',') : ''
|
|
|
})
|
|
|
+ let listScrollTop = $(this.$refs.jList).scrollTop()
|
|
|
+ if(listScrollTop === 0) {
|
|
|
+ // 删除van-sticky的fixed类名,防止滚动穿透问题
|
|
|
+ $('.van-sticky').removeClss('van-sticky--fixed')
|
|
|
+ }
|
|
|
},
|
|
|
groupManage: function () {
|
|
|
location.href = '/jy_mobile/entgroup/index'
|