From 28b8c65153dfea47a7add3547a0c45c32c45e381 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 9 Dec 2019 18:54:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BE=AE=E4=BF=A1=E6=A8=A1?= =?UTF-8?q?=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/wechat/view/news/form.html | 4 +- app/wechat/view/news/index.html | 4 ++ app/wechat/view/news/push.html | 108 +++++++++++++++++++++++++++----- 3 files changed, 100 insertions(+), 16 deletions(-) diff --git a/app/wechat/view/news/form.html b/app/wechat/view/news/form.html index 4e3d5eb11..d3816dc88 100644 --- a/app/wechat/view/news/form.html +++ b/app/wechat/view/news/form.html @@ -1,6 +1,6 @@ -{extend name='admin@main'} +{extend name="../../admin/view/main"} -{block name="style"}{include file='wechat@news/form-style'}{/block} +{block name="style"}{include file='news/form-style'}{/block} {block name='content'}
diff --git a/app/wechat/view/news/index.html b/app/wechat/view/news/index.html index da13f5a6b..cce2873f3 100644 --- a/app/wechat/view/news/index.html +++ b/app/wechat/view/news/index.html @@ -1,7 +1,11 @@ {extend name="../../admin/view/main"} {block name="button"} + +{if auth('add')} +{/if} + {/block} {block name='content'} diff --git a/app/wechat/view/news/push.html b/app/wechat/view/news/push.html index 15d4bf15e..19b282686 100644 --- a/app/wechat/view/news/push.html +++ b/app/wechat/view/news/push.html @@ -95,18 +95,98 @@ \ No newline at end of file