Merge branch 'test' of https://e.coding.net/g-cphe0354/duanju/new_app into ymf
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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 = []
|
||||||
|
|||||||
Reference in New Issue
Block a user