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 @@