Commit 6307058c by 陈超

T

parent 0e53cca7
...@@ -321,7 +321,8 @@ ...@@ -321,7 +321,8 @@
}, },
//点击视频 //点击视频
onTapCourse: function(item) { onTapCourse: function(item) {
let url = "{:U('course/Video/view')}"
window.location.href = url.replace(/\[.*?\]/g, item.id)
}, },
//点击真题 //点击真题
onTapQuestion: function(item) { onTapQuestion: function(item) {
...@@ -329,7 +330,8 @@ ...@@ -329,7 +330,8 @@
}, },
//点击实物 //点击实物
onTapGoods: function(item) { onTapGoods: function(item) {
let url = "{:U('mall/Goods/view')}"
window.location.href = url.replace(/\[.*?\]/g, item.id)
}, },
searchCourse: function() { searchCourse: function() {
let that = this let that = this
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment