diff --git a/pages/plugins/video/index/index.vue b/pages/plugins/video/index/index.vue index b91f17e5..83929c83 100644 --- a/pages/plugins/video/index/index.vue +++ b/pages/plugins/video/index/index.vue @@ -5,8 +5,14 @@ - - + + + + + + + + @@ -84,6 +90,7 @@ export default { // #ifdef APP top_content_style: 'padding-top:' + bar_height + 'px;padding-bottom:10px;', // #endif + is_show_back: true, tabs: [], current_tabs_index: 0, current_tabs_id: '', @@ -120,8 +127,9 @@ export default { // #ifdef MP-ALIPAY padding_left = video_get_top_left_padding(); // #endif - + let pages = getCurrentPages(); this.setData({ + is_show_back: pages.length > 1 && !app.globalData.is_tabbar_pages(), header_padding_left: padding_left, menu_button_info: menu_button_info, }); @@ -217,7 +225,10 @@ export default { } else { app.globalData.url_open(`/pages/plugins/video/detail/detail?id=${id}`, false); } - } + }, + handle_back() { + app.globalData.page_back_prev_event(); + }, } };