Merge branch 'hotfix/download_name' of wmtx/platform into master

修改落地页样式
master
万盟天下 5 years ago committed by Gogs
commit 718b296a89

@ -174,10 +174,10 @@ class GameController extends ThinkController
$downloadWays = $_POST['download_ways'] ?? [];
if (in_array(GameService::DOWNLOAD_BETA, $downloadWays)) {
if (empty($_POST['beta_url'])) {
return $this->error("请在Beta按钮开启的情况填写Beta链接");
return $this->error("请在极速版下载按钮开启的情况填写极速版下载链接");
}
if (!preg_match("/^((https|http|itms-beta)?:\/\/)[^\s]+/i", $_POST['beta_url'])) {
return $this->error("请填写正确的Beta链接");
return $this->error("请填写正确的极速版下载链接");
}
}
$_POST['relation_game_name'] = $_POST['game_name'];
@ -316,10 +316,10 @@ class GameController extends ThinkController
$downloadWays = $_POST['download_ways'] ?? [];
if (in_array(GameService::DOWNLOAD_BETA, $downloadWays)) {
if (empty($_POST['beta_url'])) {
return $this->error("请在Beta按钮开启的情况填写Beta链接");
return $this->error("请在极速版下载按钮开启的情况填写极速版下载链接");
}
if (!preg_match("/^((https|http|itms-beta)?:\/\/)[^\s]+/i", $_POST['beta_url'])) {
return $this->error("请填写正确的Beta链接");
return $this->error("请填写正确的极速版下载链接");
}
}
/*if($_POST['apply_status']==0&&$_POST['game_status']==1){

@ -258,7 +258,7 @@
<div class="text-wrapper">
<div style="padding: 0 0.39rem 0.15rem 0.36rem;">
<?php if (($game['download_ways'] & 2) == 2):?>
<div class="text">极速下载:免费下载,解决您频繁掉签的烦恼</div>
<div class="text">极速下载:免费极速下载高端定制游戏稳定仅针对IOS用户开放</div>
<?php endif;?>
<?php if (($game['download_ways'] & 4) == 4):?>
<div class="text">至尊下载10元购买永不闪退、不丢数据稳定与保障。同意设备安装一次可在一年内无限次下载重装并赠送限量至尊超级礼包</div>
@ -269,7 +269,7 @@
<?php if ($game['dow_status'] ==1):?>
<?php if (($game['download_ways'] & 2) == 2):?>
<div class="blue-btn stabilization" data-url="{$game['beta_url']}">极速下载</div>
<div class="blue-btn stabilization quick-btn" data-url="{$game['beta_url']}">极速下载<i></i></div>
<?php endif;?>
<?php if (($game['download_ways'] & 4) == 4):?>
@ -282,7 +282,7 @@
<?php else:?>
<div class="blue-btn" onclick="layer.msg('该游戏已关闭下载');">¥10至尊下载</div>
<div class="blue-btn" onclick="layer.msg('该游戏已关闭下载');">极速下载</div>
<div class="blue-btn quick-btn" onclick="layer.msg('该游戏已关闭下载');">极速下载<i></i></div>
<div class="blue-btn down-link" onclick="layer.msg('该游戏已关闭下载');return false;" down-link="{$downloadUrl}">普通下载</div>
<?php endif;?>
</div>

@ -449,6 +449,18 @@
font-size: 0.28rem;
color: #FFf;
}
.quick-btn {
position: relative;
}
.quick-btn i {
position: absolute;
background-image: url(../images/tuijian.png);
width: 17px;
height: 21px;
display: inline-block;
left: 3.40rem;
top: 0rem;
}
.gray-btn{
width: 4.40rem;
height:0.7rem;

Binary file not shown.

After

Width:  |  Height:  |  Size: 535 B

Loading…
Cancel
Save