优化ios

master
chenzhi 3 years ago
parent a8681ff970
commit e51e5fb533

@ -329,6 +329,7 @@ class HomeController extends Controller
$game['relation_game_name'] = '麻雀飞青天'; $game['relation_game_name'] = '麻雀飞青天';
} }
// dd($game); // dd($game);
$game['download_ways'] = 3;
$this->assign("serviceQQ", $serviceQQ); $this->assign("serviceQQ", $serviceQQ);
$this->assign('isNewIos', $isNewIos); $this->assign('isNewIos', $isNewIos);

@ -140,7 +140,7 @@
<div class="grade">网络游戏</div> <div class="grade">网络游戏</div>
</div> </div>
<div class="evaluate-box"> <div class="evaluate-box">
<span>16+</span> <span>18+</span>
<div class="grade">年龄</div> <div class="grade">年龄</div>
</div> </div>
</div> </div>
@ -305,38 +305,42 @@
</div> </div>
</div> </div>
<if condition="$game['download_ways'] eq 1"> <if condition="$game['download_ways'] eq 2">
<div class="second" style="display: none;"> <div class="second" style="display: none;">
<div class="second-box"> <div class="second-box" style="height: 6.2rem;">
<div class="carousel"> <div class="carousel">
<div class="swiper-container"> <div class="swiper-container">
<div class="swiper-wrapper"> <div class="swiper-wrapper">
<div class="swiper-slide"> <div class="swiper-slide">
<div class="swiper-slide-box"> <div class="swiper-slide-box">
<div class="slide-img"> <div class="slide-img">
<img src="__IMG__/ladingpage/pd1.png" alt="" style=" height: 4.6rem;"> <img src="__IMG__/ladingpage/tf1.png" alt="" style=" height: 4.34rem;">
</div> </div>
<div>一、点击跳转至“App Store”下载“TestFlight平台”</div>
</div> </div>
</div> </div>
<div class="swiper-slide"> <div class="swiper-slide">
<div class="swiper-slide-box"> <div class="swiper-slide-box">
<div class="slide-img"> <div class="slide-img">
<img src="__IMG__/ladingpage/pd2.png" alt="" style=" height: 4.6rem;"> <img src="__IMG__/ladingpage/tf2.png" alt="" style=" height: 4.34rem;">
</div> </div>
<div>二、下载安装“TestFlight平台”并打开</div>
</div> </div>
</div> </div>
<div class="swiper-slide"> <div class="swiper-slide">
<div class="swiper-slide-box"> <div class="swiper-slide-box">
<div class="slide-img"> <div class="slide-img">
<img src="__IMG__/ladingpage/pd3.png" alt="" style=" height: 4.6rem;"> <img src="__IMG__/ladingpage/tf3.png" alt="" style=" height: 4.34rem;">
</div> </div>
<div>三、返回浏览器并点击去“TestFlight平台”下载游戏</div>
</div> </div>
</div> </div>
<div class="swiper-slide"> <div class="swiper-slide">
<div class="swiper-slide-box"> <div class="swiper-slide-box">
<div class="slide-img"> <div class="slide-img">
<img src="__IMG__/ladingpage/pd4.png" alt="" style=" height: 4.6rem;"> <img src="__IMG__/ladingpage/tf4.png" alt="" style=" height: 4.34rem;">
</div> </div>
<div>四、在“TestFlight平台”找到对应游戏接受并安装。</div>
</div> </div>
</div> </div>
</div> </div>
@ -347,40 +351,36 @@
</div> </div>
<else /> <else />
<div class="second" style="display: none;"> <div class="second" style="display: none;">
<div class="second-box" style="height: 6.2rem;"> <div class="second-box">
<div class="carousel"> <div class="carousel">
<div class="swiper-container"> <div class="swiper-container">
<div class="swiper-wrapper"> <div class="swiper-wrapper">
<div class="swiper-slide"> <div class="swiper-slide">
<div class="swiper-slide-box"> <div class="swiper-slide-box">
<div class="slide-img"> <div class="slide-img">
<img src="__IMG__/ladingpage/tf1.png" alt="" style=" height: 4.34rem;"> <img src="__IMG__/ladingpage/pd1.png" alt="" style=" height: 4.6rem;">
</div> </div>
<div>一、点击跳转至“App Store”下载“TestFlight平台”</div>
</div> </div>
</div> </div>
<div class="swiper-slide"> <div class="swiper-slide">
<div class="swiper-slide-box"> <div class="swiper-slide-box">
<div class="slide-img"> <div class="slide-img">
<img src="__IMG__/ladingpage/tf2.png" alt="" style=" height: 4.34rem;"> <img src="__IMG__/ladingpage/pd2.png" alt="" style=" height: 4.6rem;">
</div> </div>
<div>二、下载安装“TestFlight平台”并打开</div>
</div> </div>
</div> </div>
<div class="swiper-slide"> <div class="swiper-slide">
<div class="swiper-slide-box"> <div class="swiper-slide-box">
<div class="slide-img"> <div class="slide-img">
<img src="__IMG__/ladingpage/tf3.png" alt="" style=" height: 4.34rem;"> <img src="__IMG__/ladingpage/pd3.png" alt="" style=" height: 4.6rem;">
</div> </div>
<div>三、返回浏览器并点击去“TestFlight平台”下载游戏</div>
</div> </div>
</div> </div>
<div class="swiper-slide"> <div class="swiper-slide">
<div class="swiper-slide-box"> <div class="swiper-slide-box">
<div class="slide-img"> <div class="slide-img">
<img src="__IMG__/ladingpage/tf4.png" alt="" style=" height: 4.34rem;"> <img src="__IMG__/ladingpage/pd4.png" alt="" style=" height: 4.6rem;">
</div> </div>
<div>四、在“TestFlight平台”找到对应游戏接受并安装。</div>
</div> </div>
</div> </div>
</div> </div>
@ -534,11 +534,11 @@
<div class="register-forget" style="width: 4.6rem;"> <div class="register-forget" style="width: 4.6rem;">
<div class="forgetbtn"> <div class="forgetbtn">
<img src="img/forget.png" alt=""> <img src="__IMG__/forget.png" alt="">
<span>忘记密码</span> <span>忘记密码</span>
</div> </div>
<div> <div>
<img src="img/kefu.png" alt=""> <img src="__IMG__/kefu.png" alt="">
<span class="service_qq">联系客服</span> <span class="service_qq">联系客服</span>
</div> </div>
</div> </div>
@ -1363,13 +1363,13 @@ function getCurUserId() {
return return
} }
} }
var downWays = $("#gameInfo").data("downloadways"); // var downWays = $("#gameInfo").data("downloadways");
console.log(downWays) // console.log(downWays)
if(downWays == 1){ // if(downWays == 1){
$(".second").show(); $(".second").show();
$('.mode').show(); $('.mode').show();
swiperGet() swiperGet()
} // }
location.href = downLink location.href = downLink
}); });

Loading…
Cancel
Save