跳到主内容
切换导航菜单
English (US)
日本語
한국어(대한민국)
联系我们
登录
产品更新
查看 Moloco Ads 功能的最新动态
搜索
Moloco Ads更新日志
Moloco Ads 更新日志 (24.8.22)
Moloco Ads 更新日志 (2024.8.8)
Moloco Ads 更新日志 (2024.7.25)
Moloco Ads 更新日志 (2024.7.18)
Moloco Ads 更新日志 (2024.7.11)
Moloco Ads 更新日志 (2024.6.27)
查看所有 45 篇文章
<% if (style === 'banner') { %> <% var isOnBottom = locations.indexOf('home-top') === -1 && locations.indexOf('home-middle') === -1; %>
<% if (heading) { %>
<%= heading %>
<% } %> <% if (body) { %>
<%= body %>
<% } %>
<%= label %>
<% } else if (style === 'boxed') { %>
<% if (heading) { %>
<%= heading %>
<% } %> <% if (body) { %>
<%= body %>
<% } %>
<%= label %>
<% } else if (style === 'boxed-image') { %>
<% if (heading) { %>
<%= heading %>
<% } %> <% if (body) { %>
<%= body %>
<% } %>
<%= label %>
<% } %>
<% categories.forEach(function(category) { %>
<% var categoryName = window.categoryNames && window.categoryNames.hasOwnProperty(category.name) ? window.categoryNames[category.name] : category.name %> <% if (category.id === activeCategoryId) { %>
<%= categoryName %>
<% } else { %>
<%= categoryName %>
<% } %> <% if (category.sections.length) { %>
<% category.sections.forEach(function(section) { %>
<%= section.name %>
<% }); %>
<% } %>
<% }); %>
类别
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-article-list-sections', { id: 'category-' + category.id, parentId: '#sidebar-navigation', sections: category.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %>
<% }); %>
<% var activeCategory = categories.filter(function(category) { return category.isActive; })[0] || null; %> <% if (typeof maxArticles === 'undefined' || !maxArticles) maxArticles = 5; %> <% if (activeCategory && activeCategory.sections.length) { %>
切换导航菜单
<% activeCategory.sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { id: 'section-' + section.id, parentId: 'section-' + section.id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, maxArticles: maxArticles, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.slice(0, maxArticles).forEach(function(article) { %>
<%= article.title %>
<% }); %> <% if (section.articles.length > maxArticles) { %>
查看全部 篇文章
<% } %>
<% } %>
<% }); %>
<% } %>
类别
类别
<% categories.forEach(function(category) { %>
<%= category.name %>
<% }); %>
<% if (sections.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-article-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.forEach(function(article) { %>
<%= article.title %>
<% }); %>
<% } %>
<% }); %>
<% } %>
<% if (sections.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, maxArticles: maxArticles, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.slice(0, maxArticles).forEach(function(article) { %>
<%= article.title %>
<% }); %> <% if (section.articles.length > maxArticles) { %>
查看所有 篇文章
<% } %>
<% } %>
<% }); %>
<% } %>