落地页测试

master
liuweiwen 5 years ago
parent 3b23c0c5cf
commit b608f8587b

@ -77,7 +77,7 @@
<video id="shakeVideo" src="{$game['flooring_page_video']}" autoplay controls muted webkit-playsinline="true" playsinline="true"></video> <video id="shakeVideo" src="{$game['flooring_page_video']}" autoplay controls muted webkit-playsinline="true" playsinline="true"></video>
</div> </div>
<?php endif;?> <?php endif;?>
<div class="fiexd-heard" style="width: 100%;position: fixed;top: 0; left: 0;background: rgba(255, 255, 255,0);display: none;z-index: 10001;"> <div class="fiexd-heard" style="width: 100%;position: fixed;top: 0; left: 0;background:#fff;display: none;z-index: 10001;">
<div class="fiexd-heardBox"> <div class="fiexd-heardBox">
<img src="{$game['icon']}" alt="" style=""> <img src="{$game['icon']}" alt="" style="">
<div class="download">下载</div> <div class="download">下载</div>
@ -87,7 +87,7 @@
<?php endif;?> <?php endif;?>
<div class="home-box"> <div class="home-box" style="overflow-y:scroll;">
<div class="heard"> <div class="heard">
<div style="height: 2.5rem;width: 2.5rem"> <div style="height: 2.5rem;width: 2.5rem">
<img src="{$game['icon']}" alt=""> <img src="{$game['icon']}" alt="">
@ -359,7 +359,7 @@
<?php if ($game['ios_video_top'] == 1):?> <?php if ($game['ios_video_top'] == 1):?>
var v=($(this).scrollTop())/100; var v=($(this).scrollTop())/100;
$(".fiexd-heardBox").show(); $(".fiexd-heardBox").show();
$('.home-fiexd .fiexd-heard').css('backgroundColor','rgba(255, 255, 255,'+v+')'); // $('.home-fiexd .fiexd-heard').css('backgroundColor','rgba(255, 255, 255,'+v+')');
var t = $(window).scrollTop(); var t = $(window).scrollTop();
if(t<10){ if(t<10){
@ -372,7 +372,7 @@
if(t>h){ if(t>h){
var v=($(this).scrollTop())/100; var v=($(this).scrollTop())/100;
$(".home-fiexd-two .fiexd-heard").show(); $(".home-fiexd-two .fiexd-heard").show();
$('.home-fiexd-two .fiexd-heard').css('backgroundColor','rgba(255, 255, 255,'+v+')'); // $('.home-fiexd-two .fiexd-heard').css('backgroundColor','rgba(255, 255, 255,'+v+')');
}else{ }else{
if(t<h){ if(t<h){
$(".home-fiexd-two .fiexd-heard").hide(); $(".home-fiexd-two .fiexd-heard").hide();

@ -30,7 +30,7 @@
.fiexd-heard{ .fiexd-heard{
width: 100%; width: 100%;
height: 1.2rem; height: 1.2rem;
background: rgba(255, 255, 255, 0); background: #fff;
} }
.fiexd-heardBox{ .fiexd-heardBox{
padding: 0 0.3rem; padding: 0 0.3rem;

Loading…
Cancel
Save