Commit 5af49f44 by 岑成威

feat:新增的短课程工作室

1 parent 2ed510d5
......@@ -209,6 +209,12 @@
}
},
{
"path": "pages/common/studyDetail/shortCourseLearnRoom",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/common/studyDetail/detail",
"style": {
"navigationStyle": "custom"
......
......@@ -545,6 +545,20 @@ export default {
}
})
break
case 9:
console.log('短课程学习跳转')
uni.$track.add({ eventCode: 'app_short_course', businessId: item.detailId, pagePath: '/pages/common/serviceDetail/index' })
// const row = {
// ...item,
// }
// row.id = item.detailId
uni.navigateTo({
url: `/pages/common/studyDetail/shortCourseLearnRoom?row=${encodeURIComponent(JSON.stringify(item))}&completeStatus=${item.completeStatus}&from=service`,
fail: err => {
console.error('页面跳转失败:', err)
}
})
break
default:
break
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!