【问题标题】:How to hide the Menu bar only in a page如何仅在页面中隐藏菜单栏
【发布时间】:2016-01-17 09:49:48
【问题描述】:

我只是想删除此页面内的标题栏(标题)(图像中的蓝色部分)。

我在 about.html 页面中的离子代码

<nav-page hide-nav-bar="true">


<ion-view>
<ion-content class="app-view">
    <div class="list-inset-feed">
        <div class="item item-text-wrap">
            <div class="row responsive-sm text-center">
                <div class="col">
                    <h1 class="text-white">{{"about_page_title" | translate}}</h1>
                    <h3 class ="text-white">version 1.0.0</h1>

                    <div class="image_container">
                    <img alt="logo" height="100"  src="img/logo.png">
                    </div>
                    <a class="text-white" href="#" onclick="window.open('http://abcd.html', '_system', 'location=yes'); return false;">
            privacy policy
                    </a>

                </div>
            </div>
          </div>
    </div>
</ion-content>

【问题讨论】:

  • 只是尝试删除该行

标签: html css ionic ionic-view


【解决方案1】:

在您的&lt;ion-view&gt; 标记中添加hide-nav-bar="true"

HTML

<ion-view hide-nav-bar="true">
      <ion-content >
    </ion-content>
</ion-view>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-07-24
    • 1970-01-01
    • 2011-09-25
    • 1970-01-01
    • 2010-12-11
    • 1970-01-01
    相关资源
    最近更新 更多