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