feat:app嵌套h导航栏

This commit is contained in:
LHY\18810
2025-03-16 12:16:13 +08:00
parent a93505af74
commit cc4e202808
3 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ onMounted(async () => {
// 设置系统状态栏明暗主题 // 设置系统状态栏明暗主题
appBridge.setStatusBarStyle('light'); appBridge.setStatusBarStyle('light');
// 设置禁止原生返回 // 设置禁止原生返回
// appBridge.takeOverAndroidBack(); appBridge.takeOverAndroidBack();
} }
}); });
</script> </script>

View File

@@ -315,7 +315,6 @@ export default {
if (canGoBack) { if (canGoBack) {
router.go(-1); router.go(-1);
} else { } else {
this.takeOverAndroidBack();
this.navigateBack(); this.navigateBack();
} }
} }

View File

@@ -29,8 +29,9 @@ onMounted(async () => {
// contentShow.value = true; // contentShow.value = true;
// } // }
}); });
function create() { function create () {
show.value = true; show.value = true;
} }
</script> </script>
@@ -57,13 +58,13 @@ function create() {
padding: 30px 10px 80px; padding: 30px 10px 80px;
background: linear-gradient(0deg, #f5f5f5 0%, #f5f5f5 84%, #a5d380 100%); background: linear-gradient(0deg, #f5f5f5 0%, #f5f5f5 84%, #a5d380 100%);
& > :first-child { &> :first-child {
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
border-radius: 6px; border-radius: 6px;
background-color: white; background-color: white;
& > div { &>div {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 50px; width: 50px;