Commit 3f9d16f3 by liubai

ios審核

parent 7fb5da27
Showing with 45 additions and 22 deletions
......@@ -153,37 +153,17 @@
</head>
<body>
<div class="main">
<span class="langTitle"><img src="img/down.png"/><font></font></span>
<span class="langTitle"><img src="img/down.png"/><font>English</font></span>
<div class="langList">
<p data-lang="1">English</p>
<p data-lang="7">العربية</p>
</div>
<a class="topUp L_Ar">شحن</a>
<a class="topUp L_En">Top-up</a>
<div class="swiper-container swiper-container1 L_Ar">
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="swiperImg swiperImg1"></div>
</div>
<div class="swiper-slide">
<div class="swiperImg swiperImg2"></div>
</div>
<div class="swiper-slide">
<div class="swiperImg swiperImg3"></div>
</div>
</div>
</div>
<div class="swiper-container swiper-container2 L_En">
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="swiperImg swiperImg4"></div>
</div>
<div class="swiper-slide">
<div class="swiperImg swiperImg5"></div>
</div>
<div class="swiper-slide">
<div class="swiperImg swiperImg6"></div>
</div>
</div>
</div>
<div class="iosText">
......@@ -199,6 +179,49 @@
</body>
<script src="js/jquery-3.1.1.min.js"></script>
<script src="js/swiper.min.js"></script>
<script type="text/javascript" src="js/lang.js?v=201911251528" ></script>
<script src='layer-v3.1.0/layer/layer.js'></script>
<script type="text/javascript">
$('.L_En').show();
var swiper2 = new Swiper('.swiper-container2', {
speed:300,
observer: true,
observerParents: true,
autoplayDisableOnInteraction: false,
onSlideChangeEnd: function(swipers){
swipers.update(); //swiper更新
}
});
$(function(){
$('.langTitle').on('click',function(){
$('.langList').show();
$('.langTitle img').attr('src','https://footseen.com/img/up.png');
})
$('.langList p').on('click',function(e){
$('.langTitle font').html($(this).html());
$('.langList').hide();
$('.langTitle img').attr('src','https://footseen.com/img/down.png');
sessionStorage.lang = $(this).attr('data-lang');
lang();
e.stopPropagation();
})
})
function lang(){
this.swiper2.destroy(false);
this.swiper2 = new Swiper('.swiper-container2', {
speed:300,
observer: true,
observerParents: true,
autoplayDisableOnInteraction: false,
onSlideChangeEnd: function(swipers){
swipers.update(); //swiper更新
}
});
$('.L_En').show();
$('.langTitle font').html('English');
}
</script>
</html>
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