Commit 3dfd069e by libai

测试

parent 75588eb1
...@@ -78,7 +78,6 @@ ...@@ -78,7 +78,6 @@
} }
.down-webp-box { .down-webp-box {
width: 7.8rem; width: 7.8rem;
background: yellow;
height: 13.1rem; height: 13.1rem;
position: absolute; position: absolute;
bottom: 1rem; bottom: 1rem;
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
} }
.down-webp-box{ .down-webp-box{
width: 7.8rem; width: 7.8rem;
background: yellow; // background: yellow;
height: 13.1rem; height: 13.1rem;
position: absolute; position: absolute;
bottom: 1rem; bottom: 1rem;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<script src="../lib/fsize.js"></script> <script src="../lib/fsize.js"></script>
<link rel="stylesheet" href="../css/base.css"> <link rel="stylesheet" href="../css/base.css">
<link rel="stylesheet" href="../css/layer.css"> <link rel="stylesheet" href="../css/layer.css">
<link rel="stylesheet" href="css/index.css?v=20220531"> <link rel="stylesheet" href="css/index.css?v=20220602">
<style> <style>
</style> </style>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<body style="background: #FBEFF7"> <body style="background: #FBEFF7">
<div class="new-bg"> <div class="new-bg">
<img class="video-bg" src="images/video-bg.png" alt=""> <img class="video-bg" src="images/video-bg.png" alt="">
<div class="down-webp-box"><img class="down-webp" src="images/down.webp" alt=""></div> <div class="down-webp-box"></div>
<!-- --> <!-- -->
</div> </div>
...@@ -31,6 +31,11 @@ ...@@ -31,6 +31,11 @@
<script src="../layer-v3.1.0/layer/layer.js"></script> <script src="../layer-v3.1.0/layer/layer.js"></script>
<script> <script>
$(function(){ $(function(){
var videoNum=Math.ceil(Math.random()*7)
console.log(videoNum)
var html=[];
html+='<img class="down-webp" src="images/down'+videoNum+'.webp" alt="">'
$(".down-webp-box").html(html)
$(".down-btn2").on("click",function(){ $(".down-btn2").on("click",function(){
var ua = window.navigator.userAgent.toLowerCase(); var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) { if (/iphone|ipad|ipod/.test(ua)) {
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta content="telephone=no" name="format-detection">
<meta name="wap-font-scale" content="no">
<title></title>
<script src="../lib/fsize.js"></script>
<link rel="stylesheet" href="../css/base.css">
<link rel="stylesheet" href="../css/layer.css">
<link rel="stylesheet" href="css/index.css?v=20220602">
<style>
.new-bg{
background: url(images/bg-new2.png)no-repeat;
background-size: 100% 100%;
background-position-y: -0.7rem;
}
</style>
</head>
<body style="background: #EFEBEF">
<div class="new-bg">
<img class="video-bg" src="images/video-bg.png" alt="">
<div class="down-webp-box"></div>
<!-- -->
</div>
<div class="down-btn2"></div>
</body>
<script src="../lib/jquery-3.1.1.min.js"></script>
<script src="../lib/default.js?v='20220407'"></script>
<script src="../layer-v3.1.0/layer/layer.js"></script>
<script>
$(function(){
var videoNum=Math.ceil(Math.random()*7)
console.log(videoNum)
var html=[];
html+='<img class="down-webp" src="images/down'+videoNum+'.webp" alt="">'
$(".down-webp-box").html(html)
$(".down-btn2").on("click",function(){
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
layer.msg("ios開發中,請使用安卓手機下載")
} else if (/android/.test(ua)) {
window.location.href="ftsBH5SP.apk"
}
})
})
</script>
</html>
\ No newline at end of file
...@@ -201,7 +201,7 @@ $(function(){ ...@@ -201,7 +201,7 @@ $(function(){
html+='<div class="grap-like">追蹤</div>'; html+='<div class="grap-like">追蹤</div>';
$(".grap-name-box").html(html); $(".grap-name-box").html(html);
$(".bottom-nav-btn,.grap-like").unbind("click").on("click",function(){ $(".bottom-nav-btn,.grap-like").unbind("click").on("click",function(){
window.location.href='download/down2.html?qd=ftsBH5SP' window.location.href='download/download2.html'
}) })
var html=[]; var html=[];
html+='<h1 class="grap-title">'+details.title+'</h1>'; html+='<h1 class="grap-title">'+details.title+'</h1>';
......
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