搜素页面,提交代码
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
function seVideo(item) {
|
function seVideo(item) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:"pages/video/detail?courseId="+item.courseId+"&courseDetailsId="+item.courseDetailsId
|
url:"/pages/video/detail?courseId="+item.courseId+"&courseDetailsId="+item.courseDetailsId
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
</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