From f6a8721238aaecf9960990ab77f1d8980d6fa8b6 Mon Sep 17 00:00:00 2001 From: yunlongn Date: Thu, 27 Nov 2025 10:45:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E5=AE=9D=E5=B0=8F=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 ++- pages.json | 10 +++++- .../goods/components/detail/detail-navbar.vue | 5 ++- pages/goods/components/list/list-navbar.vue | 5 ++- .../components/s-auth-modal/s-auth-modal.vue | 34 +++++++++---------- sheep/components/s-layout/s-layout.vue | 7 ++-- sheep/components/s-menu-grid/s-menu-grid.vue | 4 +-- sheep/components/s-tabbar/s-tabbar.vue | 2 +- sheep/platform/index.js | 7 ++++ sheep/ui/su-fixed/su-fixed.vue | 2 +- sheep/ui/su-inner-navbar/su-inner-navbar.vue | 8 +++-- sheep/ui/su-tabbar-item/su-tabbar-item.vue | 2 +- 12 files changed, 60 insertions(+), 30 deletions(-) diff --git a/manifest.json b/manifest.json index 5f119db7..ecda35f5 100644 --- a/manifest.json +++ b/manifest.json @@ -185,7 +185,9 @@ "requiredPrivateInfos": ["chooseAddress"] }, "mp-alipay": { - "usingComponents": true + "usingComponents": true, + "styleIsolation": "shared", + "mergeVirtualHostAttributes": true }, "mp-baidu": { "usingComponents": true diff --git a/pages.json b/pages.json index e75ba5a6..36a4a00f 100644 --- a/pages.json +++ b/pages.json @@ -675,7 +675,15 @@ "navigationBarTitleText": "芋道商城", "navigationBarBackgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF", - "navigationStyle": "custom" + "navigationStyle": "custom", + "mp-alipay": { + "titleImage": "", + "gestureBack": "YES", + "allowsBounceVertical": "NO", + "transparentTitle": "always", + "navigationStyle": "custom", + "titlePenetrate": "YES" + } }, "tabBar": { "list": [{ diff --git a/pages/goods/components/detail/detail-navbar.vue b/pages/goods/components/detail/detail-navbar.vue index d454ec0f..b414ba77 100644 --- a/pages/goods/components/detail/detail-navbar.vue +++ b/pages/goods/components/detail/detail-navbar.vue @@ -3,7 +3,10 @@ diff --git a/pages/goods/components/list/list-navbar.vue b/pages/goods/components/list/list-navbar.vue index c21e6793..626b7e2e 100644 --- a/pages/goods/components/list/list-navbar.vue +++ b/pages/goods/components/list/list-navbar.vue @@ -11,7 +11,10 @@ > diff --git a/sheep/components/s-auth-modal/s-auth-modal.vue b/sheep/components/s-auth-modal/s-auth-modal.vue index d1b73787..ee74f323 100644 --- a/sheep/components/s-auth-modal/s-auth-modal.vue +++ b/sheep/components/s-auth-modal/s-auth-modal.vue @@ -46,18 +46,6 @@ - - - + + + @@ -97,7 +97,7 @@ - - + - - + @@ -197,7 +197,7 @@ } else { sheep.$helper.toast('请选择是否同意协议'); } - // return; + return; } const loginRes = await sheep.$platform.useProvider(provider).login(); if (loginRes) { diff --git a/sheep/components/s-layout/s-layout.vue b/sheep/components/s-layout/s-layout.vue index e76f675e..78e46569 100644 --- a/sheep/components/s-layout/s-layout.vue +++ b/sheep/components/s-layout/s-layout.vue @@ -17,13 +17,11 @@ /> - - @@ -216,6 +214,11 @@ // 组件中使用 onMounted 监听页面加载,不是页面组件不使用 onShow onMounted(()=>{ + // #ifdef MP-ALIPAY + uni.setNavigationBarTitle({ + title: "", + }); + // #endif if (!isEmpty(shareInfo.value)) { sheep.$platform.share.updateShareInfo(shareInfo.value); } diff --git a/sheep/components/s-menu-grid/s-menu-grid.vue b/sheep/components/s-menu-grid/s-menu-grid.vue index d05a49d4..8edf6a38 100644 --- a/sheep/components/s-menu-grid/s-menu-grid.vue +++ b/sheep/components/s-menu-grid/s-menu-grid.vue @@ -2,8 +2,8 @@