Compare commits
2 Commits
793e798701
...
13f6295879
Author | SHA1 | Date | |
---|---|---|---|
13f6295879 | |||
3a9afec5ff |
@ -203,12 +203,10 @@ if ($act == 'newevent') {
|
||||
if ($type == 'charts')
|
||||
// we(json_encode($eventCharts));
|
||||
we(json_encode(array('charts' => $eventCharts, 'table' => $eventTable)));
|
||||
elseif ($type == 'count')
|
||||
{
|
||||
we(json_encode($eventTypeCnt));
|
||||
}
|
||||
else
|
||||
else{
|
||||
$json['count'] = $eventTypeCnt;
|
||||
we(json_encode($json));
|
||||
}
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
@ -440,7 +438,7 @@ if ($act == 'newevent') {
|
||||
<div class='data-box'>
|
||||
<img src="assets/images/dabao.png"/>
|
||||
<!-- <p class="data-name">打包</p> -->
|
||||
<p class="data-num" id="dabaonum">17</p>
|
||||
<p class="data-num" id="dabaonum"></p>
|
||||
</div>
|
||||
|
||||
<div class='data-box'>
|
||||
@ -1119,8 +1117,14 @@ if ($act == 'newevent') {
|
||||
game: showGame
|
||||
},
|
||||
success: function (doc) {
|
||||
console.log(doc);
|
||||
callback(doc.calendarData);
|
||||
// console.log(doc);
|
||||
// console.log(doc);\
|
||||
$("#dabaonum").html(doc.count['打包']);
|
||||
$("#gengxinnum").html(doc.count['版本更新']);
|
||||
$("#xiufunum").html(doc.count['修复外网']);
|
||||
$("#jeidiannum").html(doc.count['节点']);
|
||||
|
||||
if (doc.gameInfo && doc.gameInfo.length > 0) {
|
||||
var _html = [];
|
||||
for (var i = 0; i < doc.gameInfo.length; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user