gpt4 book ai didi

html - ionic 导航按钮未显示在右侧

转载 作者:行者123 更新时间:2023-11-28 06:11:57 25 4
gpt4 key购买 nike

我正在做一个元素,但遇到了问题。我在 index.html

中有这个
<ion-side-menus>
<ion-side-menu-content>
<ion-nav-bar class="bar-dark nav-title-slide-ios7">
<ion-nav-back-button class="button-clear">
<i class="ion-arrow-left-c"></i> Back
</ion-nav-back-button>
</ion-nav-bar>
<ion-nav-view animation="slide-right-left"></ion-nav-view>
</ion-side-menu-content>

<ion-side-menu side="right">
......
</ion-side-menu>

</ion-side-menus>

在另一个 .html 文件中我有这个:

<ion-view>
<ion-nav-buttons side="right">
<button menu-toggle="right" class="button button-icon button-clear ion-navicon"></button>
</ion-nav-buttons>

<ion-content class="has-header" padding="true">
<h1 style="text-align: center;">Home Page</h1>
</ion-content>
</ion-view>

问题是导航图标按钮没有按预期显示: screenshot with the problem

我已经在我的手机上试用了这个应用程序,它和图片中的一样。

可能是什么问题?谢谢。

最佳答案

我找到问题了!

我正在用其他 CSS 覆盖一些按钮样式。

关于html - ionic 导航按钮未显示在右侧,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36115330/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com