Commit 1d25e86e by 冷斌

fix bug

parent f5ad1e5b
......@@ -20,7 +20,7 @@
<span class="text_14_600 color_333333">{{item.video_info.video_title}}</span>
<div class="layout_h_b">
<span class="text_14_600 color_FF3B3B">{{(item.video_info.t_price == 0 || item.video_info.is_charge > 0) ? '免费' : ('¥' + item.video_info.t_price) }}</span>
<div class="collect_view_button layout_center text_12_400 color_white">查看</div>
<div @click="" class="collect_view_button layout_center text_12_400 color_white">查看</div>
</div>
</div>
</div>
......@@ -80,13 +80,13 @@
}, 'json');
},
methods: {
onTab: function(tab) {
this.tab = tab
onShow: function(item) {
let url = "/course/"+item.video_info.id+".html"
window.location.href = url;
},
onLoad: function() {
let that = this
let opt = that.options[this.tab]
//TODO LOADING
onShow2: function(item) {
let url = "{:U('course/Video/view')}"
window.location.href = url.replace(/\[.*?\]/g, item.id)
}
}
})
......
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