From cfd6b598e7aa49c16ab9871e442bfba34f86e701 Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 25 Apr 2017 17:39:48 +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/controller/Review.php | 3 +- application/wechat/view/review.index.html | 429 +++++++++++----------- 2 files changed, 214 insertions(+), 218 deletions(-) diff --git a/application/wechat/controller/Review.php b/application/wechat/controller/Review.php index a46faa8e0..eeb586797 100644 --- a/application/wechat/controller/Review.php +++ b/application/wechat/controller/Review.php @@ -1,4 +1,5 @@ redirect($img); } -} \ No newline at end of file +} diff --git a/application/wechat/view/review.index.html b/application/wechat/view/review.index.html index 0c4bd23ab..27ab09a24 100644 --- a/application/wechat/view/review.index.html +++ b/application/wechat/view/review.index.html @@ -1,231 +1,226 @@ - - - Wechat Preview - - - - - - - - - -{if ($type eq 'text') or ($type eq 'image') or ($type eq 'music')} -
-
{:date('H:i')}
-
-
- -
-
- {if $type eq 'text'} -
-
-
- {$content|default=''} -
- {elseif $type eq 'image'} -
-
-
- -
- {elseif $type eq 'music'} -
-
-
- - - - - - - - -
- {$title|default=''} - -
-
- -
-
- {$desc|default=''}           -
-
- {/if} -
-
-
-{elseif $type eq 'article'} -{* 文章显示 *} -
-
- {if $vo.show_cover_pic neq 0} -
- -
- {/if} -
- {$vo.title|default=''} -
-
-
- {:date('Y-m-d',strtotime($vo['create_at']))} - {$vo.author|default=''} -
-
-
- {$vo.content|default=''} -
+ + + Wechat Preview + + + + + + - -
-
-{elseif $type eq 'video'} -
-
{:date('H:i')}
-
-
-
-
-
- {$title|default=''} -
-
{:date('m月d日')}
-
- -
- -
-
-
-
-
+ + -{elseif $type eq 'news'} -
-
{:date('H:i')}
-
-
-
- {if !empty($articles)} - {foreach $articles as $key=>$vo} - {if $articles|count gt 1} - {if $key < 1} -
-
- -
-
- {$vo.title|default=''} -
+ {if ($type eq 'text') or ($type eq 'image') or ($type eq 'music')} +
+
{:date('H:i')}
+
+
+
- {else} - - - - - -
- {$vo.title}{$vo.title}{$vo.title}{$vo.title}{$vo.title}{$vo.title}{$vo.title}{$vo.title}{$vo.title}{$vo.title}{$vo.title}{$vo.title}{$vo.title}{$vo.title}{$vo.title}{$vo.title} - - -
- {/if} - {else} -
-
- {$vo.title|default=''} +
+ {if $type eq 'text'} +
+
+
+ {$content|default=''}
-
- {:date('Y年m月d日')} + {elseif $type eq 'image'} +
+
+
+
-
- -
-
- {$vo.content} + {elseif $type eq 'music'} +
+
+
+ + + + + + + + +
+ {$title|default=''} + +
+
+ +
+
+ {$desc|default=''}           +
+ {/if}
- +
+ {elseif $type eq 'article'} +
+
+ {if $vo.show_cover_pic neq 0} +
+
{/if} - {/foreach} - {/if} -
-
-
-
-{/if} - +
+ {$vo.title|default=''} +
+
+
+ {:date('Y-m-d',strtotime($vo['create_at']))} + {$vo.author|default=''} +
+
+
+ {$vo.content|default=''} +
+ + + + + {elseif $type eq 'video'} +
+
{:date('H:i')}
+
+
+
+
+
+ {$title|default=''} +
+
{:date('m月d日')}
+
+ +
+ +
+
+
+
+
+ + {elseif $type eq 'news'} +
+
{:date('H:i')}
+
+
+
+ {if !empty($articles)} + {foreach $articles as $key=>$vo} + {if count($articles) gt 1} + {if $key < 1} +
+
+ +
+
+ {$vo.title|default=''} +
+
+ {else} + + + + + +
{$vo.title} + +
+ {/if} + {else} +
+
+ {$vo.title|default=''} +
+
+ {:date('Y年m月d日')} +
+
+ +
+
+ {$vo.content} +
+
+ + {/if} + {/foreach} + {/if} +
+
+
+
+ + {/if} + \ No newline at end of file