修改课程指向

This commit is contained in:
daihh
2022-11-15 12:26:50 +08:00
parent b7b78e3c02
commit 20be15eeac

View File

@@ -51,15 +51,18 @@
url: '/pages/study/studydetail?id='+citem.id+'&type='+citem.type url: '/pages/study/studydetail?id='+citem.id+'&type='+citem.type
}); });
} else { } else {
if (citem.type == 10) { uni.navigateTo({
uni.navigateTo({ url: '/pages/study/courseStudy?id=' + citem.id
url: '/pages/resource/microDetail?id=' + citem.id });
}); // if (citem.type == 10) {
} else if (citem.type == 20) { // uni.navigateTo({
uni.navigateTo({ // url: '/pages/resource/microDetail?id=' + citem.id
url: '/pages/resource/courseDetail?id=' +citem.id // });
}); // } else if (citem.type == 20) {
} // uni.navigateTo({
// url: '/pages/resource/courseDetail?id=' +citem.id
// });
// }
} }
}, },
} }