作者 李洪娟
1 个管道 的构建 通过 耗费 1 秒

修改

... ... @@ -78,7 +78,7 @@
<include file="public@footer"/>
<script src="__TMPL__/public/mobile/js/common.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
alert($(document).height())
// alert($(document).height())
if($(document).height()==455){
// $(".index_swiper").css("height","95%");
// $(".swiper-container").css("height","95%");
... ... @@ -88,6 +88,12 @@
$(".video_lool").css("height","2.54rem");
$(".video_text_wrap").css("top","0.6rem")
}else if($(document).height()==554){
$(".index_swiper img").css("height","102%");
$(".video_lool").css("padding-top","2rem");
$(".video_lool").css("margin-top","0");
$(".video_lool").css("height","2.54rem");
$(".video_text_wrap").css("top","0.6rem")
}
// alert( $(".video_lool").css("height"))
var swiper = new Swiper('.swiper-container', {
... ...