Angularjs 如何在real device中的ionic应用程序中滚动页面
您好,我是爱奥尼亚应用程序的新手,我使用以下内容创建了第一页:->Angularjs 如何在real device中的ionic应用程序中滚动页面,angularjs,ionic-framework,Angularjs,Ionic Framework,您好,我是爱奥尼亚应用程序的新手,我使用以下内容创建了第一页:-> <ion-modal-view> <ion-view id ="login" hide-nav-bar="true"> <ion-content scroll="false"> <div id="login_image" > <div class="header padding text-center logodata">
<ion-modal-view>
<ion-view id ="login" hide-nav-bar="true">
<ion-content scroll="false">
<div id="login_image" >
<div class="header padding text-center logodata">
<img src="img/front-logo.png" alt="Your logo here" width="60%" height="auto" class="logoImage"/>
</div>
<div class="header padding text-center panda">
<img src="img/bear.png" alt="Your logo here" width="47%" height="auto"/>
</div>
<h1 class="getstarted" style="text-align:center">Get Started !</h1>
</div>
<form ng-submit="doLogin()" name="loginForm">
<div class="row responsive-md">
<div class="col col-50 col-offset-25">
<div class="list">
<label class="item item-input">
<i class="fa fa-user fa-6" aria-hidden="true"></i>
<input type="email" ng-model="loginData.username" placeholder="" required>
</label>
<label class="item item-input">
<i class="fa fa-lock fa-6" aria-hidden="true"></i>
<input type="password" placeholder="" ng-model="loginData.password" required>
</label>
<button class="button button-block button-positive sign_in" type="submit" ng-disabled="loginForm.$invalid">
SIGN IN
</button>
<div class="signup"><center class="insignup"><span class="donaccount">Don't have an account ?</span> <a href ng-click= "dashBoard()" class="achorsignup"> SIGN UP</a></center><div>
</div>
</div>
</div>
</form>
</ion-content>
</ion-view>
</ion-modal-view>
开始吧!
登录
你没有账户吗?
然后我看到虚拟设备中的设计意味着在我的笔记本电脑中,它可以通过滚动正确地显示
但是,当我在android phone中运行时,这个无滚动选项似乎显示了如何在android phone中查看完整主页如果要使页面滚动,必须将scroll属性的值设置为true
<ion-content scroll="true">
希望这有帮助 离子滚动可用于您可能不需要整页滚动条,但需要高度定制的滚动条的地方,如图像清除器或注释滚动条
<ion-scroll scrollX="true">
</ion-scroll>
<ion-scroll scrollY="true">
</ion-scroll>
<ion-scroll scrollX="true" scrollY="true">
</ion-scroll>
更多信息请参阅您好,我的应用程序也面临同样的问题。你能解决这个问题吗?我的申请也面临同样的问题。但是我想在不显示滚动条的情况下拥有滚动功能。你能给我建议一个解决这个问题的办法吗?