diff --git a/Application/Admin/View/Game/edit.html b/Application/Admin/View/Game/edit.html index 49f205480..9bfe4fbee 100644 --- a/Application/Admin/View/Game/edit.html +++ b/Application/Admin/View/Game/edit.html @@ -384,6 +384,31 @@ + + ios视频是否置顶: + + + + + + + + + + + + + + + diff --git a/Application/Home/Controller/HomeController.class.php b/Application/Home/Controller/HomeController.class.php index aab22d5cf..c709b6208 100644 --- a/Application/Home/Controller/HomeController.class.php +++ b/Application/Home/Controller/HomeController.class.php @@ -179,7 +179,8 @@ class HomeController extends Controller 'game_size', 'introduction', 'flooring_page_video', - 'supersign_status' + 'supersign_status', + 'ios_video_top' ]; $map = ['id' => intval($gameId)]; $game = M('game', 'tab_')->field($columns)->where($map)->find(); diff --git a/Application/Home/View/default/Home/landingPage.html b/Application/Home/View/default/Home/landingPage.html index fab68793e..0dce88c12 100644 --- a/Application/Home/View/default/Home/landingPage.html +++ b/Application/Home/View/default/Home/landingPage.html @@ -45,6 +45,8 @@
+ +
style="height: 0" >
@@ -57,17 +59,29 @@
+ + +
+
+ +
+ +
+ +
@@ -335,17 +349,30 @@ @@ -355,6 +382,7 @@ var video = document.getElementById("shakeVideo"); + console.log(video) video.play(); document.addEventListener('WeixinJSBridgeReady',function(){ video.play(); diff --git a/Data/update.sql b/Data/update.sql index 21e61074f..c4b7e0a93 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -656,3 +656,4 @@ VALUES ('ServerNotice', '游戏区服预告', '0', '', '1', '{\"1\":[\"289\",\"2 --游戏表新增字段-落地页视频 liuweiwen 2019-12-09 ALTER TABLE tab_game ADD `flooring_page_video` varchar(150) NOT NULL DEFAULT '' COMMENT '落地页视频'; ALTER TABLE tab_game ADD `supersign_status` tinyint(1) DEFAULT '1' COMMENT '超级签开关:1-开启;0-关闭'; +ALTER TABLE tab_game ADD `ios_video_top` tinyint(1) DEFAULT '1' COMMENT 'ios落地页视频是否置顶:1-置顶;0-不置顶'; diff --git a/Public/Home/css/index2.css b/Public/Home/css/index2.css index 9cef35936..3a43af57a 100644 --- a/Public/Home/css/index2.css +++ b/Public/Home/css/index2.css @@ -40,6 +40,7 @@ font-size: 0.32rem; color: #007AFF; line-height: 1.2rem; + height: 100%; } .fiexd-heardBox>img{ width: 0.6rem; @@ -55,7 +56,7 @@ font-size: 0.2rem; margin-right: 0.14rem; } -.fiexd-pay>div{ +.download{ width: 1.5rem; height: 0.6rem; background-color: #007AFF; @@ -65,7 +66,6 @@ line-height: 0.6rem; color: #fff; font-weight: 500; - margin-top: 0.3rem; } .heard{ width: 100%;