1
我目前正在进行离子v1项目,我需要为应用程序添加背景幻灯片,但无法找到如何在离子模式下执行此操作。我试过https://tympanus.net/codrops/2013/04/17/background-slideshow/,但我需要的东西适用于angular.js。 由于离子v1的背景滑块
我目前正在进行离子v1项目,我需要为应用程序添加背景幻灯片,但无法找到如何在离子模式下执行此操作。我试过https://tympanus.net/codrops/2013/04/17/background-slideshow/,但我需要的东西适用于angular.js。 由于离子v1的背景滑块
<ion-content scroll="false" class="padding">
<div class="full">
<div class="half">
<ion-slides options="options" slider="data.slider">
<ion-slide-page>
<center> <i class="ion-android-archive homefont"></i>
<h2>Post a request</h2>
<p></p>
</center>
</ion-slide-page>
<ion-slide-page>
<center> <i class="ion-locked homefont"></i>
<h2>Safe Deposit</h2>
<p></p>
</center>
</ion-slide-page>
<ion-slide-page>
<center> <i class="ion-plane homefont"></i>
<h2>Traveller Fulfills</h2>
<p></p>
</center>
</ion-slide-page>
</ion-slides>
</div>
<div class="2half">
<div class=" padding-top">
<center > <img src="img/logo.jpg" alt="logo" width=80 height=80></center>
</div>
<div class=" padding-vertical">
<button class="button button-block button-positive">
Post Your Request
</button></div>
<button class="button button-block button-positive">
Post Your Trip
</button>
</div>
</div>
</ion-content>
类满将具有100%的高度,而半和2half都将具有50%的高度和显示值是块。
使滑块一个完整的背景滑块类半高度将是100%