分类计数
This commit is contained in:
parent
3a9afec5ff
commit
13f6295879
@ -438,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'>
|
||||
@ -1117,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