diff --git a/Application/Home/View/default/Home/landingPage.html b/Application/Home/View/default/Home/landingPage.html
index 51577addd..1604aab3a 100644
--- a/Application/Home/View/default/Home/landingPage.html
+++ b/Application/Home/View/default/Home/landingPage.html
@@ -254,8 +254,10 @@
-
-
+

+
+
+
beta版下载:免费下载,解决您频繁掉签的烦恼!
@@ -264,27 +266,29 @@
普通下载:免费下载,畅游手游世界!
+
+
+
+
beta版下载
+
+
+
+
¥10至尊下载
+
+
+
+
普通下载
+
+
+
+
¥10至尊下载
+
beta版下载
+
普通下载
+
+
-
-
-
-
beta版下载
-
-
-
-
¥10至尊下载
-
-
-
-
普通下载
-
-
-
-
¥10至尊下载
-
beta版下载
-
普通下载
-
+
diff --git a/Application/Mobile/Controller/SsgController.class.php b/Application/Mobile/Controller/SsgController.class.php
index 7ea5eb241..e674fcb59 100644
--- a/Application/Mobile/Controller/SsgController.class.php
+++ b/Application/Mobile/Controller/SsgController.class.php
@@ -5,6 +5,7 @@ use Org\WeixinSDK\Weixin;
use User\Api\MemberApi;
use Base\Tool\TaskClient;
use Think\Log;
+use Base\Service\GameService;
class SsgController extends BaseController {
const USER_NOT_ILLEGAL = -1; //用户名不合法
@@ -326,13 +327,15 @@ class SsgController extends BaseController {
$map["sdk_version"] = 2;
$map["game_status"] = 1;
$game_list = M("game", "tab_")->field("*, id as game_id")->where($map)->select();
- for ($i=0; $i < count($game_list); $i++) {
- if ($game_list[$i]['download_ways'] & GameService::DOWNLOAD_SUPER != GameService::DOWNLOAD_SUPER) {
+ $games = [];
+ foreach ($game_list as $game) {
+ if (($game['download_ways'] & GameService::DOWNLOAD_SUPER) != GameService::DOWNLOAD_SUPER) {
continue;
}
- $game_list[$i]["game_icon"] = get_cover($game_list[$i]["icon"], 'path');
+ $game["game_icon"] = get_cover($game["icon"], 'path');
+ $games[] = $game;
}
- $res = array("list"=>$game_list);
+ $res = array("list"=>$games);
if($type == 1){
$map['user_id']= $user['user_id'];
$map['pay_status'] = 1;
diff --git a/Public/Home/css/index2.css b/Public/Home/css/index2.css
index 106091815..b6b7d07b3 100644
--- a/Public/Home/css/index2.css
+++ b/Public/Home/css/index2.css
@@ -405,19 +405,31 @@
}
.containner{
width: 5.50rem;
- height: 9.20rem;
- background: url(../images/landing_bg.png) no-repeat;
- background-size: 100% 100%;
- display: flex;
- justify-content: flex-end;
+ /* height: 9.20rem; */
+ /* background: url(../images/landing_bg.png) no-repeat; */
+ /* background-size: 100% 100%; */
+ /* background-color: #fff; */
+ /* display: flex;
+ justify-content: flex-end; */
}
.containner-box{
- padding: 0 0.39rem 0.15rem 0.36rem;
+ /* padding: 0 0.39rem 0.15rem 0.36rem; */
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
}
+.containner-box .text-wrapper {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ justify-content: center;
+ background-color: #fff;
+ width: 100%;
+ border-bottom-left-radius: 0.2rem;
+ border-bottom-right-radius: 0.2rem;
+}
+
.containner-box .text{
font-size:0.24rem;
font-weight:400;
diff --git a/Public/Home/images/landing_bg2.png b/Public/Home/images/landing_bg2.png
new file mode 100644
index 000000000..7c868c0a1
Binary files /dev/null and b/Public/Home/images/landing_bg2.png differ