<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<link rel="stylesheet" href="css/weui.css"/>
<link rel="stylesheet" href="css/weuix.css"/>
<script src="js/zepto.min.js"></script>
<script src="js/zepto.fullpage.js"></script>
<script src="js/PxLoader.js" ></script>
<script src="js/app.js" ></script>
<style>
.page{
font-size: 72px;
line-height: 200px;
text-align: center;
}
.page1{
background: red;
}
.page2{
background: blue;
}
.page3{
background: #de21c8;
}
.page4{
background: green;
}
.indicator{
position: fixed;
right: 10px;
top: 50%;
margin-top: -40px;
}
.indicator li{
margin-top: 10px;
width: 10px;
height: 10px;
border-radius: 100px;
background: rgba(0,0,0,0.5);
text-indent: -9999px;
list-style: none;
}
.indicator li.cur{
background: rgba(255,255,255,0.5);
}
</style>
</head>
<body ontouchstart>
<div id="a0" class="page0 v-center middle" style="width: 100%;height: 100%;">
<b>0</b>%
</div>
<div class="fullpage hide">
<div id="fullpage">
<div class="page page1">1</div>
<div class="page page2">2</div>
<div class="page page3">
<a href="javascript:;" class="weui-btn weui-btn_primary" onclick="$.fn.fullpage.movePrev(true);">下一页</a>
</div>
<div class="page page4">4</div>
</div>
<!-- <ul class="indicator">
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
</ul> -->
</div>
<span class="start"><b></b></span>
</body>
</html>
评论1