From a4fd65ca4a9e222f3d70e6824fc133dad844e22f Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 25 Apr 2017 15:58:32 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E5=9B=BE=E6=96=87=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/view/news.index.html | 101 +++++++++++++++--------- 1 file changed, 63 insertions(+), 38 deletions(-) diff --git a/application/wechat/view/news.index.html b/application/wechat/view/news.index.html index c0bc3dad4..ad1d49ed5 100644 --- a/application/wechat/view/news.index.html +++ b/application/wechat/view/news.index.html @@ -1,43 +1,15 @@ {extend name='extra@admin/content' /} +{block name="button"} +
+ +
+{/block} + {block name='content'} {foreach $list as $key=>$vo} - - - - - - @@ -84,11 +56,64 @@ {/foreach} -{/block} + +
+ {foreach $list as $vo} +
+ {foreach $vo.articles as $k => $v} + {if $k < 1} +
+ {if $v.title}

{$v.title}

{/if} +
+
+ {else} +
+
+
{$v.title}
+
+
+ {/if} + {/foreach} +
+ {/foreach} +
+
+ +{/block} {block name='script'} -{/block} - -{block name="style"} + {/block} \ No newline at end of file