feat:app嵌套h导航栏
This commit is contained in:
@@ -11,7 +11,7 @@ onMounted(async () => {
|
||||
// 设置系统状态栏明暗主题
|
||||
appBridge.setStatusBarStyle('light');
|
||||
// 设置禁止原生返回
|
||||
// appBridge.takeOverAndroidBack();
|
||||
appBridge.takeOverAndroidBack();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -315,7 +315,6 @@ export default {
|
||||
if (canGoBack) {
|
||||
router.go(-1);
|
||||
} else {
|
||||
this.takeOverAndroidBack();
|
||||
this.navigateBack();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user