wangliang_wd

feat:优化短视频滑动接口刷新逻辑,优化搜索界面滑动编辑框不消失问题

... ... @@ -179,6 +179,9 @@ export struct SearchComponent {
.width('100%')
.height('100%')
.padding({ left: 16, right: 16 })
.onScrollStart(()=>{
this.controller.stopEditing()
})
} else {
if (this.hasChooseSearch) {
//搜索结果
... ...
... ... @@ -475,7 +475,7 @@ export struct DetailVideoListPage {
if (!this.peopleShipHomeCreatorId) {
this.queryVideoList()
} else {
this.getRmhPublishNexts(this.peopleShipHomeCreatorId, `${this.data[this.currentIndex].newsId}`, 1, 1, 10, systemDateTime.getTime(false));
this.getRmhPublishNexts(this.peopleShipHomeCreatorId, `${this.data[this.data.length-1].newsId}`, 1, 1, 10, systemDateTime.getTime(false));
}
// this.getRmhPublishNexts(this.peopleShipHomeCreatorId, this.contentId, 1, 1, 10, systemDateTime.getTime(false));
}
... ...
... ... @@ -29,13 +29,13 @@ export struct PlayerProgressView {
if (this.onlyWifiLoadVideo) {
this.showLoading = true
}
this.timer = setTimeout(() => {
ToastUtils.shortToast('网络出小差了,请检查下网络')
}, 10000)
// this.timer = setTimeout(() => {
// ToastUtils.shortToast('网络出小差了,请检查下网络')
// }, 10000)
// console.log("PlayerProgressView11", this.timer)
} else {
// console.log("PlayerProgressView22", this.timer)
clearTimeout(this.timer)
// clearTimeout(this.timer)
this.loadingWidth = 1
this.showLoading = false
}
... ...