diff --git a/App.vue b/App.vue index 0f34e1a1..9c2a0ae5 100644 --- a/App.vue +++ b/App.vue @@ -3167,6 +3167,8 @@ if(client_value == 'alipay') { // 自定义头页面 var pages_always = [ + 'pages/plugins/shop/index/index', + 'pages/plugins/shop/detail/detail', 'pages/plugins/realstore/detail/detail', 'pages/plugins/seckill/index/index', 'pages/plugins/points/index/index', diff --git a/components/nav-back/nav-back.vue b/components/nav-back/nav-back.vue index 60847ccc..f7299d5f 100644 --- a/components/nav-back/nav-back.vue +++ b/components/nav-back/nav-back.vue @@ -69,6 +69,7 @@ theme_view: app.globalData.get_theme_value_view(), client_value: app.globalData.application_client_type(), status_bar_height: 0, + is_show_back: true, // #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-KUAISHOU || MP-ALIPAY || H5 || APP status_bar_height: parseInt(app.globalData.get_system_info('statusBarHeight', 0, true)), // #endif @@ -94,7 +95,10 @@ methods: { // 返回事件 top_nav_left_back_event() { - app.globalData.page_back_prev_event(); + var arr = ['alipay', 'baidu']; + if(arr.indexOf(this.client_value) == -1) { + app.globalData.page_back_prev_event(); + } }, }, }; diff --git a/pages.json b/pages.json index eaf24137..7a9af231 100644 --- a/pages.json +++ b/pages.json @@ -1294,7 +1294,7 @@ "navigationStyle": "custom", // #endif // #ifdef MP-ALIPAY - "transparentTitle": "auto", + "transparentTitle": "always", "titlePenetrate": "YES", // #endif "enablePullDownRefresh": true, @@ -1308,7 +1308,7 @@ "navigationStyle": "custom", // #endif // #ifdef MP-ALIPAY - "transparentTitle": "auto", + "transparentTitle": "always", "titlePenetrate": "YES", // #endif "navigationBarTitleText": "", diff --git a/pages/index/index.vue b/pages/index/index.vue index 6727d1a7..1c79f280 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -289,14 +289,6 @@ - - -