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.takeOverAndroidBack();
appBridge.takeOverAndroidBack();
}
});
</script>

View File

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

View File

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