Browse Source

异常处理

彭俊 6 years ago
parent
commit
373ea241d7

+ 2 - 1
app/Http/Controllers/Admin/SportsbqController.php

@@ -29,7 +29,8 @@ class SportsbqController extends Controller {
         $dt->addColsFields('home_team', array('templet' => '#home_team', 'sort' => false, 'width' => 80));
         $dt->addColsFields('guest_team', array('templet' => '#guest_team', 'sort' => false, 'width' => 80));
         $dt->addColsFields('dsnum', array('templet' => '#dsnum', 'sort' => false, 'width' => 80));
-        $dt->addColsFields('csnum', array('templet' => '#home_rate', 'sort' => false, 'width' => 80));
+		// $dt->addColsFields('csnum', array('templet' => '#home_rate', 'sort' => false, 'width' => 80));
+		$dt->addColsFields('csnum', array('templet' => '#csnum', 'sort' => false, 'width' => 110));		
         $dt->addColsFields('match_score', array('templet' => '#match_score', 'sort' => false, 'width' => 220));
         $dt->addColsFields('statusmatch', array('templet' => '#statusmatch', 'sort' => false, 'width' => 80));
         $dt->addColsFields('operation', array('templet' => '#operation', 'sort' => false, 'width' => 300));

+ 2 - 1
app/Http/Controllers/Admin/SportswqController.php

@@ -36,7 +36,8 @@ class SportswqController extends Controller {
         $dt->addColsFields('home_player_name', array('templet' => '#home_team', 'sort' => false, 'width' => 130));
         $dt->addColsFields('guest_player_name', array('templet' => '#guest_team', 'sort' => false, 'width' => 130));
         $dt->addColsFields('dsnum', array('templet' => '#dsnum', 'sort' => false, 'width' => 80));
-        $dt->addColsFields('csnum', array('templet' => '#home_rate', 'sort' => false, 'width' => 80));
+		// $dt->addColsFields('csnum', array('templet' => '#home_rate', 'sort' => false, 'width' => 80));
+		$dt->addColsFields('csnum', array('templet' => '#csnum', 'sort' => false, 'width' => 110));
         $dt->addColsFields('match_score', array('templet' => '#matchscore', 'sort' => false, 'width' => 160));
         $dt->addColsFields('statusmatch', array('templet' => '#statusmatch', 'sort' => false, 'width' => 80));
         $dt->addColsFields('operation', array('templet' => '#operation', 'sort' => false, 'width' => 300));

+ 15 - 3
public/admin/css/rewrite.css

@@ -56,8 +56,20 @@
     background-color: #FF5722;
     color: white;
 }
-.layui-form{
-    margin-top: 0px;
+
+.container .layui-col-xs12 .layui-row{
+    position: fixed;
+    width: 100%;
+    height: 60px;
+    z-index: 2;
+    top: 0px;
+    padding-top: 5px;
+    background: white;
+}
+.container .layui-border-box{
+    margin-top: 62px;
     width: fit-content;
     width: -moz-fit-content;
-}
+}
+
+