Commit 7f4b718c by 刘海龙

Merge branch 'master' of http://132.232.91.252:9999/ice/eduline

parents 47f1dce6 be228c6e
...@@ -220,12 +220,12 @@ ...@@ -220,12 +220,12 @@
onItem: function(item) { onItem: function(item) {
if(this.tab == 2) { if(this.tab == 2) {
let url = "{:U('mall/Goods/view')}" let url = "{:U('mall/Goods/view')}"
window.location.href = url.replace(/\[.*?\]/g, item.uid) window.location.href = url.replace(/\[.*?\]/g, item.id)
} else if(this.tab == 0) { } else if(this.tab == 0) {
let url = "{:U('course/Video/view')}" let url = "{:U('course/Video/view')}"
window.location.href = url.replace(/\[.*?\]/g, item.id) window.location.href = url.replace(/\[.*?\]/g, item.id)
} else { } else {
console.log(item);
} }
}, },
onTab: function(idx) { onTab: function(idx) {
......
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