我在ion-nav-bar的侧边菜单中添加了ion-nav-back-button,但导航后退按钮没有显示的问题,我不知道为什么我尝试了很多属性,但它仍然是隐藏,下面的代码为我的菜单布局与侧面菜单代码
<ion-side-menu-content>
<ion-nav-bar class="bar-balanced" align-title="center">
<ion-nav-back-button>
</ion-nav-back-button>
<ion-nav-buttons side="left">
<button menu-toggle="left" class="button button-icon icon ion-navicon"></button>
</ion-nav-buttons>
</ion-nav-bar>
<ion-nav-view name="mainContent" ></ion-nav-view>
</ion-side-menu-content>
<ion-side-menu side="left">
<header id="header" class="bar bar-header bar-balanced">
<h1 class="Side Menu"></h1>
</header>
<ion-content class="has-header" has-subheader="false">
<ion-list>
<ion-item nav-clear menu-close ui-sref="">Home</ion-item>
<ion-item nav-clear menu-close ui-sref="app.account">Account</ion-item>
<ion-item nav-clear menu-close ui-sref="app.help">Help</ion-item>
<ion-item nav-clear menu-close ui-sref="">Sign Out</ion-item>
</ion-list>
</ion-content>
</ion-side-menu>
答案 0 :(得分:0)
<?php
include 'connect.php';
$choicetest = 'óvil';
$query = "SELECT test FROM [testtable] WHERE test = '$choicetest' GROUP BY test";
$result = sqlsrv_query($conn, $query);
while ($line = sqlsrv_fetch_array($result)) {
$var = 'hello';
}
?>