Commit 6fff2803 by agan

修改ios下載

parent 3cbe5acc
......@@ -91,7 +91,7 @@
mData = data.iOSChannel
}
copyText(mData);
window.location.href = 'http://www.app9.pw/app/1609398203';
window.location.href = 'http://www.app6.cam/app_merge/163';
});
// window.location.href = 'https://apps.apple.com/us/app/firefly-live-live-video-chat/id1473568058'
......
body,ul,p,h1,h2,h3,h4,ol,li,table,tr,td{padding: 0;margin: 0;font-family: "微软雅黑"; color: #666 }
h1,h2,h3,h4{font-weight: normal}
ul,li,ol{list-style: none;}
a{text-decoration: none;color:#666;}
a:active{text-decoration: none;color:#666;}
.dis{display:none}
img{border:0px;}
/*页面公共区域*/
#pro {
position: absolute;
width: 10rem;
height: 100%;
overflow: hidden;
left: 0;
top: 0;
background: #bb2677;
}
.page {
width: 10rem;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
.page .p {
width: 10rem;
height: 100%;
position: relative;
overflow: hidden;
}
.page0{
background: url(../../img/new3/bg1.jpg) no-repeat;
background-size: cover;
background-position: center;
}
.page1{
background: url(../../img/new3/bg2.jpg) no-repeat;
background-size: cover;
background-position: center;
}
.page2{
background: url(../../img/new3/bg3.jpg) no-repeat;
background-size: cover;
background-position: center;
}
.mPhone{
width: 5.347rem;
height: 10.68rem;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.phoneBorder{
width: 100%;
height: 100%;
background: url(../../img/new3/phone.png) no-repeat;
background-size: contain;
position: absolute;
top: 0;
left: 0;
}
#video{
width: 100%;
height: 100%;
border-radius: 1rem;
padding-top: 0.35rem;
}
.wipeUp {
width: 1.227rem;
height: 1.173rem;
background: url("../../img/new3/imageSprites.png") no-repeat;
background-size: 100% 100%;
position: fixed;
bottom: 0.6rem;
left: 90%;
animation: upWard 1s linear 0s infinite alternate;
-webkit-transform: translateX(-50%);
-webkit-animation: upWard 1s linear 0s infinite alternate;
}
@-webkit-keyframes upWard {
from {
bottom: 0.6rem;
}
to {
bottom: 0.2rem;
}
}
\ No newline at end of file
......@@ -87,7 +87,7 @@
}
copyText(mData);
window.location.href = 'http://www.app9.pw/app/1609398203';
window.location.href = 'http://www.app6.cam/app_merge/163';
});
// window.location.href = 'https://apps.apple.com/us/app/firefly-live-live-video-chat/id1473568058'
......
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>touch.js适配手机端整屏滑动</title>
<script>
var phoneWidth = parseInt(window.screen.width);
var phoneScale = phoneWidth / 640;
var ua = navigator.userAgent;//判断浏览器类型
if (/Android (\d+\.\d+)/.test(ua)) {
var version = parseFloat(RegExp.$1);
if (version > 2.3) {
document.write('<meta name="viewport" content="width=640, minimum-scale = ' + phoneScale + ', maximum-scale = ' + phoneScale + ', target-densitydpi=device-dpi">');
} else {
document.write('<meta name="viewport" content="width=640, target-densitydpi=device-dpi">');
}
} else {
document.write('<meta name="viewport" content="width=640, user-scalable=no, target-densitydpi=device-dpi">');
}
</script>
<meta name="viewport" content="width=640, user-scalable=no, target-densitydpi=device-dpi">
<meta name="format-detection" content="telephone=no" />
<script src="https://www.footseen.com/js/fsize.js"></script>
<link rel="stylesheet" href="https://www.footseen.com/css/base2.css">
<link rel="stylesheet" href="https://www.footseen.com/css/newIndex.css?v=202104061611111111111111">
<link rel="stylesheet" href="css/new/common.css">
<link rel="stylesheet" href="css/new/index.css">
<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<script src="js/new/touch-0.2.14.min.js"></script>
</head>
<body>
<div id="pro">
<span class="langTitle"><img src="https://www.footseen.com/img/down2.png" />
<font></font>
</span>
<div class="langList">
<p data-lang="2">繁體中文</p>
<p data-lang="1">English</p>
<p data-lang="7">العربية</p>
</div>
<div id="box" class="page curpage">
<div class="page0 p">
<div class="iosDown heartbeat"></div>
<div class="only18"></div>
</div>
<div class="page1 p">
<div class="mPhone">
<div class="phoneBorder"></div>
<div class="videoCon">
<video id="video" autoplay="autoplay" muted loop="loop">
<source src="video/video.mp4" type="video/mp4"></source>
</video>
</div>
</div>
</div>
<div class="page2 p">
<h1>第三页</h1>
</div>
</div>
</div>
<!--箭头-->
<div class="wipeUp"></div>
<script src="https://www.footseen.com/js/new/lang.js"></script>
<script>
$(function () {
var touchB = true;
var curpage = $('.curpage');
var scrollH = $('#pro').height();
parr = curpage.find('.p');
var curp = 0;
touch.on(document, 'swipeup swipedown', function (ev) {
if (!touchB) {
return;
}
if (ev.type == 'swipeup') {
if (curp == parr.length - 1) {
return;
}
curp++;
$('.curpage').animate({ top: -(scrollH * curp) + 'px'});
return;
}
if (ev.type == 'swipedown') {
if (curp == 0) {
$(".page0 ul li").css({ "opacity": "0" })
return;
}
curp--;
$('.curpage').animate({ top: -(scrollH * curp) + 'px'});
return;
}
});
})
</script>
</body>
</html>
\ No newline at end of file
File added
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment