From e45f69c687126b56b4cbf43092e5f820d695be42 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Tue, 28 Oct 2025 15:56:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=E6=94=AF=E4=BB=98=E5=AE=9D?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 ++ components/nav-back/nav-back.vue | 6 +++++- pages.json | 4 ++-- pages/index/index.vue | 8 -------- pages/plugins/ask/detail/detail.vue | 3 --- pages/plugins/blog/detail/detail.vue | 3 --- .../shop/components/shop-header/shop-header.vue | 17 +++++++++++++---- pages/plugins/shop/design/design.vue | 5 ----- pages/plugins/shop/detail/detail.vue | 4 ---- pages/plugins/shop/diy/diy.vue | 5 ----- pages/plugins/shop/index/index.vue | 6 ------ 11 files changed, 22 insertions(+), 41 deletions(-) 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 @@ - - -