• 品牌
  • 产品
  • 商城
  • 服务

    最新内容

    • 产品新闻

    服务支持

    更多..

    通知公告

    更多..

    置顶

    ' + title + "" + newLogo + "" ); dl.append(dt); dl.append(dd); }); $("#product-news").append(dl); $(".latest-contents").each(function (i) { i = i + 1; var latestAttr = $(this).find("dt").first().text().split("."); if (Number(latestAttr[1]) !== 01) { latestNum = Number( latestAttr[0] + latestAttr[1] + latestAttr[2] ); latestLast = latestNum - 100; } else { var lastYear = String(Number(latestAttr[0]) - 1); var lastMonth = "12"; latestLast = Number(lastYear + lastMonth + latestAttr[2]); } $(this) .find("dt") .each(function () { var thisAttr = $(this).text().split("."); var thisNum = Number(thisAttr[0] + thisAttr[1] + thisAttr[2]); if (thisNum > latestLast) { $(this).addClass("is-display"); $(this).next("dd").addClass("is-display"); } }); var newNum = Number($(this).find("dd.is-display").length); if (newNum <= 15) { $(this).find("dt").slice(0, 15).addClass("is-display"); $(this).find("dd").slice(0, 15).addClass("is-display"); } else { } }); }, }); // 活动/服务新闻 $.ajax({ type: "get", url: R_HOST + "/news/list_category_news", data: { category: "Event/Service", limit: 15, page: 1 }, success: function (data) { var list = data.data.results || []; var dl = $("

    "); list.forEach(function (item) { var title = item.title || ""; var createTime = item.createTime || ""; var showTime = createTime.split(" ")[0]; var dt = $("
    " + showTime + ""); var url = "/china/news.html?id=" + item.id; var newLogo = item.newLogo ? 'NEW!' : ""; var dd = $( '

    ' + title + "" + newLogo + "" ); dl.append(dt); dl.append(dd); }); $("#event-news").append(dl).tile(); }, }); // 服务支持新闻 $.ajax({ type: "get", url: R_HOST + "/news/list_category_news", data: { category: "Support", limit: 15, page: 1 }, success: function (data) { var list = data.data.results || []; var dl = $("

    "); list.forEach(function (item) { var title = item.title || ""; var createTime = item.createTime || ""; var showTime = createTime.split(" ")[0]; var dt = $("
    " + showTime + ""); var url = "/china/news.html?id=" + item.id; var newLogo = item.newLogo ? 'NEW!' : ""; var dd = $( '

    ' + title + "" + newLogo + "" ); dl.append(dt); dl.append(dd); }); $("#support-news").append(dl).tile(); }, }); });