wangliang_wd

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

@@ -179,6 +179,9 @@ export struct SearchComponent { @@ -179,6 +179,9 @@ export struct SearchComponent {
179 .width('100%') 179 .width('100%')
180 .height('100%') 180 .height('100%')
181 .padding({ left: 16, right: 16 }) 181 .padding({ left: 16, right: 16 })
  182 + .onScrollStart(()=>{
  183 + this.controller.stopEditing()
  184 + })
182 } else { 185 } else {
183 if (this.hasChooseSearch) { 186 if (this.hasChooseSearch) {
184 //搜索结果 187 //搜索结果
@@ -475,7 +475,7 @@ export struct DetailVideoListPage { @@ -475,7 +475,7 @@ export struct DetailVideoListPage {
475 if (!this.peopleShipHomeCreatorId) { 475 if (!this.peopleShipHomeCreatorId) {
476 this.queryVideoList() 476 this.queryVideoList()
477 } else { 477 } else {
478 - this.getRmhPublishNexts(this.peopleShipHomeCreatorId, `${this.data[this.currentIndex].newsId}`, 1, 1, 10, systemDateTime.getTime(false)); 478 + this.getRmhPublishNexts(this.peopleShipHomeCreatorId, `${this.data[this.data.length-1].newsId}`, 1, 1, 10, systemDateTime.getTime(false));
479 } 479 }
480 // this.getRmhPublishNexts(this.peopleShipHomeCreatorId, this.contentId, 1, 1, 10, systemDateTime.getTime(false)); 480 // this.getRmhPublishNexts(this.peopleShipHomeCreatorId, this.contentId, 1, 1, 10, systemDateTime.getTime(false));
481 } 481 }
@@ -29,13 +29,13 @@ export struct PlayerProgressView { @@ -29,13 +29,13 @@ export struct PlayerProgressView {
29 if (this.onlyWifiLoadVideo) { 29 if (this.onlyWifiLoadVideo) {
30 this.showLoading = true 30 this.showLoading = true
31 } 31 }
32 - this.timer = setTimeout(() => {  
33 - ToastUtils.shortToast('网络出小差了,请检查下网络')  
34 - }, 10000) 32 + // this.timer = setTimeout(() => {
  33 + // ToastUtils.shortToast('网络出小差了,请检查下网络')
  34 + // }, 10000)
35 // console.log("PlayerProgressView11", this.timer) 35 // console.log("PlayerProgressView11", this.timer)
36 } else { 36 } else {
37 // console.log("PlayerProgressView22", this.timer) 37 // console.log("PlayerProgressView22", this.timer)
38 - clearTimeout(this.timer) 38 + // clearTimeout(this.timer)
39 this.loadingWidth = 1 39 this.loadingWidth = 1
40 this.showLoading = false 40 this.showLoading = false
41 } 41 }