Jimy 6 lat temu
rodzic
commit
ae3814192c
1 zmienionych plików z 13 dodań i 13 usunięć
  1. 13 13
      resources/views/admin/sportsfoot/outcome.blade.php

+ 13 - 13
resources/views/admin/sportsfoot/outcome.blade.php

@@ -272,7 +272,7 @@
         </div>
     </div>
 	
-	 <!-- 弹窗隐藏区域 -->
+	<!-- 弹窗隐藏区域 -->
     <div id="myModal" class="modal">
             <input type="hidden" id="match_id" name="match_id" value="@{{d.match_id}}">
             <div class="modal-content">
@@ -293,34 +293,34 @@
                             <li> 获 &nbsp;胜&nbsp; 球&nbsp; 队&nbsp;:</li><input type="text" id="matchwiner" name="matchwiner" value="">
                         </div>
                         <div style="display: flex;">
-                            <li>上主队进球数:</li><input type="text" id="uhomescore" AUTOCOMPLETE="off" name="uhomescore" value="">
+                            <li>上主队进球数:</li><input type="text" id="uhomescore" name="uhomescore" value=""  autocomplete="off">
                         </div>
                         <div style="display: flex;">
-                            <li>上客队进球数:</li><input type="text" id="uguestscore" AUTOCOMPLETE="off" name="uguestscore" value="">
+                            <li>上客队进球数:</li><input type="text" id="uguestscore" name="uguestscore" value="" autocomplete="off">
                         </div>
                         <div style="display: flex;">
-                            <li>主队全场角球:</li><input type="text" id="homeallcard" AUTOCOMPLETE="off" name="homeallcard" value="">
+                            <li>主队全场角球:</li><input type="text" id="homeallcard" name="homeallcard" value="" autocomplete="off">
                         </div>
                         <div style="display: flex;">
-                            <li>客队全场角球:</li><input type="text" id="guestallcard" AUTOCOMPLETE="off" name="guestallcard" value="">
+                            <li>客队全场角球:</li><input type="text" id="guestallcard" name="guestallcard" value="" autocomplete="off">
                         </div>
                         <div style="display: flex;">
-                            <li>主队半场角球:</li><input type="text" id="homehalfcard" AUTOCOMPLETE="off" name="homehalfcard" value="">
+                            <li>主队半场角球:</li><input type="text" id="homehalfcard" name="homehalfcard" value="" autocomplete="off">
                         </div>
                         <div style="display: flex;">
-                            <li>客队半场角球:</li><input type="text" id="guesthalfcard" AUTOCOMPLETE="off" name="guesthalfcard" value="">
+                            <li>客队半场角球:</li><input type="text" id="guesthalfcard" name="guesthalfcard" value="" autocomplete="off">
                         </div>
                         <div style="display: flex;"> 
-                            <li>主队全场罚牌:</li><input type="text" id="homeallcorner" AUTOCOMPLETE="off" name="homeallcorner" value="">
+                            <li>主队全场罚牌:</li><input type="text" id="homeallcorner" name="homeallcorner" value="" autocomplete="off">
                         </div>
                         <div style="display: flex;">
-                            <li>客队全场罚牌:</li><input type="text" id="guestallcorner" AUTOCOMPLETE="off" name="guestallcorner" value="">
+                            <li>客队全场罚牌:</li><input type="text" id="guestallcorner" name="guestallcorner" value="" autocomplete="off">
                         </div>
                         <div style="display: flex;">
-                            <li>主队半场罚牌:</li><input type="text" id="homehalfcorner" AUTOCOMPLETE="off" name="homehalfcorner" value="">
+                            <li>主队半场罚牌:</li><input type="text" id="homehalfcorner" name="homehalfcorner" value="" autocomplete="off">
                         </div>
                         <div style="display: flex;">
-                            <li>客队半场罚牌:</li><input type="text" id="guesthalfcorner" AUTOCOMPLETE="off" name="guesthalfcorner" value="">
+                            <li>客队半场罚牌:</li><input type="text" id="guesthalfcorner" name="guesthalfcorner" value="" autocomplete="off">
                         </div>
                     </div>
                 </div>
@@ -449,8 +449,8 @@
                 url: '/setSports',
                 data: {game_code:game_code},
                 success: function(data) {
-                    // alert(data);
-                    if(data.status==1){
+                    var data = JSON.stringify(data);
+                    if(data){
                         layer.msg(data.msg);
                         location. reload()//刷新当前页面
                     }