追剧增加下拉刷新

This commit is contained in:
YeMingfei666 2024-12-30 21:22:49 +08:00
parent 03afcf6b0d
commit 50379d7b1f
2 changed files with 8 additions and 1 deletions

View File

@ -216,7 +216,7 @@
"path": "pages/chasingDrama/chasingDrama",
"style": {
"navigationBarTitleText": "追剧",
"enablePullDownRefresh": false
"enablePullDownRefresh": true
// #ifdef H5
,
"navigationStyle": "custom"

View File

@ -137,6 +137,13 @@ import { $cache_chasingDrama} from '@/store/cashe.js'
this.myQianInfo()
}
},
onPullDownRefresh() {
$cache_chasingDrama.clear()
this.newLook()
this.myVideo()
this.myQianInfo()
uni.stopPullDownRefresh()
},
methods: {
//
goCourse(e, courseDetailsId) {