追剧增加下拉刷新

This commit is contained in:
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", "path": "pages/chasingDrama/chasingDrama",
"style": { "style": {
"navigationBarTitleText": "追剧", "navigationBarTitleText": "追剧",
"enablePullDownRefresh": false "enablePullDownRefresh": true
// #ifdef H5 // #ifdef H5
, ,
"navigationStyle": "custom" "navigationStyle": "custom"

View File

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