西甲联赛官方合作伙伴40999红宝石网站官宣 - 40999红宝石网站

' + newHtml + '

' + item.title + '

' + formattedDate + '

' + '
' + tagHtml + '
' + '
' + ''; $('.caseList').append(html); } var limitHtml = ''; for (var j = 1; j <= 10; j++) { var activeClass = j == PageSize ? 'active' : ''; limitHtml += '
' + j + '条
'; } $('.select_item').html(limitHtml); $('.select_val').text(PageSize + '条'); $('.total').text('共' + data.total + '条记录'); var pageHtml = ''; var startPage = Math.max(1, data.pageIndex - 2); var endPage = Math.min(data.pageCount, startPage + 4); if (endPage - startPage < 4) { startPage = Math.max(1, endPage - 4); } for (var k = startPage; k <= endPage; k++) { var activeClass = k == data.pageIndex ? 'active' : ''; pageHtml += '
' + k + '
'; } if (startPage > 1) { pageHtml = '
1
' + pageHtml; } if (endPage < data.pageCount) { pageHtml += '
...
' + data.pageCount + '
'; } $('.limit').html(pageHtml); $('.prev_icon').off('click').on('click', function () { if (data.pageIndex > 1) { showlist(data.pageIndex - 1, PageSize); } }); $('.next_icon').off('click').on('click', function () { if (data.pageIndex < data.pageCount) { showlist(data.pageIndex + 1, PageSize); } }); $('.select_item .option').off('click').on('click', function () { $(this).addClass('active').siblings('.option').removeClass('active'); $(this).parents('.limit_select').find('.select_val').text($(this).text()); $(this).parents('.select_item').toggleClass('hide'); var newPageSize = parseInt($(this).text()); showlist(1, newPageSize); }); } }) } function convertJavaDateToDate(javaDateObj) { if (!javaDateObj || typeof javaDateObj !== 'object') { return null; } const year = javaDateObj.year + 1900; const month = javaDateObj.month; const day = javaDateObj.date; const hours = javaDateObj.hours || 0; const minutes = javaDateObj.minutes || 0; const seconds = javaDateObj.seconds || 0; console.log(year, month, day, hours, minutes, seconds) return new Date(year, month, day, hours, minutes, seconds); } function isToday(javaDateObj) { if (!javaDateObj) { return false; } const convertedDate = convertJavaDateToDate(javaDateObj); if (!convertedDate) { return false; } const today = new Date(); return convertedDate.getFullYear() === today.getFullYear() && convertedDate.getMonth() === today.getMonth() && convertedDate.getDate() === today.getDate(); } function formatDate(javaDateObj) { if (!javaDateObj) { return ''; } const date = convertJavaDateToDate(javaDateObj); if (!date) { return ''; } const year = date.getFullYear(); const month = String(date.getMonth() + 1).padStart(2, '0'); const day = String(date.getDate()).padStart(2, '0'); return year + '-' + month + '-' + day; } function toCxjtinfo(id) { window.open("/djWeb/djweb/web/djweb/newestindex/newinfo.action?articleid=" + id) }

栏目速览

以下内容与「西甲联赛官方合作伙伴40999红宝石网站官宣」同属公开资讯,可按栏目继续浏览相关条目。

本站按公开材料组织页面。需要原文时请核对应栏目发布页。

列表适合快速定位,正文适合核对表述。两者都保留在站内即可形成完整阅读路径。

站点导览

ztxxlydj / djWeb / djweb / web

页面按栏目组织。可先看导读,再进入相关篇目或返回列表。