diff --git a/application/wechat/view/news.index.html b/application/wechat/view/news.index.html index 6c88646ff..60bee58e8 100644 --- a/application/wechat/view/news.index.html +++ b/application/wechat/view/news.index.html @@ -18,16 +18,16 @@ {foreach $vo.articles as $k => $v} {if $k < 1} -
+
{if $v.title}

{$v.title}

{/if}
-
+
{else}
{$v.title}
-
+
{/if} {/foreach}
@@ -47,7 +47,7 @@ $(this).find('.news_tools').addClass('hide'); }); - require(['jquery.masonry', 'template'], function (Masonry, tpl) { + require(['jquery.masonry'], function (Masonry, tpl) { var container = document.querySelector('#news_box'); var msnry = new Masonry(container, {itemSelector: '.news_item', columnWidth: 0}); msnry.layout(); @@ -58,6 +58,7 @@ {block name="style"} {/block} \ No newline at end of file