This commit is contained in:
2025-01-10 18:25:27 +08:00
2 changed files with 145 additions and 139 deletions

View File

@@ -25,11 +25,9 @@
}) })
function seVideo(item) { function seVideo(item) {
// uni.navigateTo({ uni.navigateTo({
// url: '/me/detail/detail?id=' + item.courseId + '&courseDetailsId=' + item.courseDetailsId + url:"/pages/video/detail?courseId="+item.courseId+"&courseDetailsId="+item.courseDetailsId
// '&tt_album_id=' + item.dyCourseId + '&tt_episode_id=' + item })
// .dyEpisodeId
// })
} }
</script> </script>

View File

@@ -59,7 +59,8 @@ import {
watch watch
} from "vue"; } from "vue";
import { import {
onShow, onReachBottom onShow,
onReachBottom
} from '@dcloudio/uni-app' } from '@dcloudio/uni-app'
const props = defineProps({ const props = defineProps({
list: { list: {
@@ -77,6 +78,13 @@ onShow(() => {
watch(() => props.list, () => { watch(() => props.list, () => {
spliceArrayListr() spliceArrayListr()
}) })
function clickItem(item) {
uni.navigateTo({
url: "/pages/video/detail?courseId=" + item.courseId + "&courseDetailsId=" + item.courseDetailsId
})
}
function spliceArrayListr() { function spliceArrayListr() {
datas.arrListRight = [] datas.arrListRight = []
datas.arrListLeft = [] datas.arrListLeft = []