From 58e549aa3be0ae4c5fbbbab6235da8dfe707592d Mon Sep 17 00:00:00 2001 From: yin5th <541304803@qq.com> Date: Tue, 18 Oct 2022 16:36:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8F=8B=E9=82=BB=E9=9B=86?= =?UTF-8?q?=E5=B8=82=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/model/Category.php | 3 +++ view/manager/article/add.html | 6 +++--- view/manager/article/edit.html | 6 +++--- view/manager/content/article.html | 13 ++++++------- view/page/market.html | 14 ++++++-------- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/app/model/Category.php b/app/model/Category.php index 95b5353..2213969 100755 --- a/app/model/Category.php +++ b/app/model/Category.php @@ -35,6 +35,9 @@ class Category extends Base //新闻碎片 public const CATEGORY_SERVE_BLOCK = 16; + //集市服务 + public const CATEGORY_SERVE_LIST = 42; + // 案例模版 public const TEMPLATE_NEWS = 'news_list'; diff --git a/view/manager/article/add.html b/view/manager/article/add.html index 896f301..0f42bc6 100755 --- a/view/manager/article/add.html +++ b/view/manager/article/add.html @@ -11,7 +11,7 @@ - {if in_array($category['id'], [9,10,23,24,25,40])} + {if in_array($category['id'], [9,10,23,24,25,40,42])}
{$service.desc ?? ''}
+{$service.title_en ?? ''}
{/foreach} - {/if}