From 621776246abd76c9878a3cbf9aa29e877d5995b0 Mon Sep 17 00:00:00 2001 From: zhanglingsheng Date: Mon, 16 Dec 2019 13:58:45 +0800 Subject: [PATCH] =?UTF-8?q?SDK=E8=8F=9C=E5=8D=95=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/SdkMenuController.class.php | 1 + Application/Admin/View/SdkMenu/add.html | 24 +++++++++++++++++++ Application/Admin/View/SdkMenu/lists.html | 12 ++++++---- 3 files changed, 32 insertions(+), 5 deletions(-) diff --git a/Application/Admin/Controller/SdkMenuController.class.php b/Application/Admin/Controller/SdkMenuController.class.php index 09c6ea401..74e88e56f 100644 --- a/Application/Admin/Controller/SdkMenuController.class.php +++ b/Application/Admin/Controller/SdkMenuController.class.php @@ -28,6 +28,7 @@ class SdkMenuController extends ThinkController $config[$k]['icon'] = (substr($v['icon'], 0, 7) == "http://" || substr($v['icon'], 0, 8) == "https://" ) ? $v['icon'] : (is_https() ? 'https://' : 'http://' . $_SERVER['HTTP_HOST'] . $v['icon']); $config[$k]['type'] = $this->but_type[$v['type']]; $config[$k]['menu_version'] = $this->menu_version[$v['menu_version']]; + $config[$k]['status'] = ((!isset($v['status']) || $v['status']) == 1) ? '显示':'隐藏'; } } $this->assign('list', $config); diff --git a/Application/Admin/View/SdkMenu/add.html b/Application/Admin/View/SdkMenu/add.html index 172d71f96..6e00d0d33 100644 --- a/Application/Admin/View/SdkMenu/add.html +++ b/Application/Admin/View/SdkMenu/add.html @@ -91,6 +91,30 @@ + + 游戏隐藏 + + + 针对游戏id隐藏,多个用,隔开 + + + + 状态 + + + + + + 菜单图标 diff --git a/Application/Admin/View/SdkMenu/lists.html b/Application/Admin/View/SdkMenu/lists.html index cc7003278..7d9fca365 100644 --- a/Application/Admin/View/SdkMenu/lists.html +++ b/Application/Admin/View/SdkMenu/lists.html @@ -42,6 +42,7 @@ 跳转目标 IOS链接 排序 + 状态 操作 @@ -60,10 +61,11 @@ {$channel.act} {$channel.ios_url} -
- {$channel.sort} -
- +
+ {$channel.sort} +
+ + {$channel.status} 编辑 删除 @@ -71,7 +73,7 @@ - aOh! 暂时还没有内容! + aOh! 暂时还没有内容!