From 12362190e685e7dff5515e519e4a21dc956856e1 Mon Sep 17 00:00:00 2001 From: yulingwei <2436953959@qq.com> Date: Fri, 22 Nov 2019 18:10:29 +0800 Subject: [PATCH 1/5] upt --- .../Admin/Controller/MemberController.class.php | 10 +++++++--- Application/Admin/View/Member/user_info.html | 8 ++++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Application/Admin/Controller/MemberController.class.php b/Application/Admin/Controller/MemberController.class.php index 3e09faff6..737e73e07 100644 --- a/Application/Admin/Controller/MemberController.class.php +++ b/Application/Admin/Controller/MemberController.class.php @@ -790,12 +790,16 @@ class MemberController extends ThinkController * @param $id * @param $lock_status */ - public function lock_status($id, $lock_status) + public function lock_status($id="", $lock_status, $accounts = "") { - $map['id'] = ['in', array_unique(explode(',', $id))]; + if ($accounts) $map['account'] = ['in', array_unique(explode(',', $accounts))]; + if ($id) $map['id'] = ['in', array_unique(explode(',', $id))]; + $users = M('user', 'tab_')->where($map)->field('id')->select(); $res = M('user', 'tab_')->where($map)->setField(['lock_status' => $lock_status]); if ($res) { - \Think\Log::actionLog('Member/lock_status', 'Member', $id); + foreach ($users as $item) { + \Think\Log::actionLog('Member/lock_status', 'Member', $item['id']); + } $this->success('操作成功!'); } else { $this->error('操作失败!'); diff --git a/Application/Admin/View/Member/user_info.html b/Application/Admin/View/Member/user_info.html index 4e2a714fb..c3c0b959e 100644 --- a/Application/Admin/View/Member/user_info.html +++ b/Application/Admin/View/Member/user_info.html @@ -239,7 +239,7 @@ - + {$data.id} {:get_registertype($data['register_type'])} @@ -490,8 +490,8 @@ $(function(){ layer.prompt({ formType: 2, value: text, - placeholder : '账户ID(英文逗号隔开)', - title: '请输入要'+desc+'的账户ID(英文逗号隔开)', + placeholder : '玩家账号(英文逗号隔开)', + title: '请输入要'+desc+'的玩家账号(英文逗号隔开)', area: ['800px', '350px'] //自定义文本域宽高 }, function(value, index, elem){ if(value=='') { @@ -503,7 +503,7 @@ $(function(){ cache: true, type: "POST", url:"{:U('Member/lock_status')}", - data:{id:value, lock_status:status},// 你的formid + data:{accounts:value, lock_status:status},// 你的formid async: false, error: function(data) { layer.alert("服务器故障,请稍后重试!",{icon: 2}); From 4a73f4668df21329871b5261bc2424b32cd47fa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C=E7=94=A8lww?= <“529520975@qq.com> Date: Fri, 22 Nov 2019 20:13:09 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E5=AE=98=E7=BD=91-?= =?UTF-8?q?=E8=90=BD=E5=9C=B0=E9=A1=B5=E5=9B=9E=E6=BB=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/View/default/Home/landingPage.html | 403 ++++++------------ 1 file changed, 121 insertions(+), 282 deletions(-) diff --git a/Application/Home/View/default/Home/landingPage.html b/Application/Home/View/default/Home/landingPage.html index ee34e36d6..abebc7b7d 100644 --- a/Application/Home/View/default/Home/landingPage.html +++ b/Application/Home/View/default/Home/landingPage.html @@ -1,294 +1,133 @@ - - - - - - - - - - home + + + + + + + + + + {$game['relation_game_name']} + + + + - -
-
-
- -
-
{$game['relation_game_name']}
-
{$game['features']}
-
- -
免费安装
- -
免费安装
- - -
-
-
-
-
-
- {$game['game_score']} -
- - - - - -
-
-
14.48K个评分
-
-
- #{$game['recommend_level']} -
网络游戏
-
-
- 16+ -
年龄
-
-
-
-
    - -
  • - -
  • -
    -
-
-
-
简介
-
{$game['features']}
-
-
-
查看更多
-
-
-
-
评分及评论
-
-
- {$game['game_score']} - 满分5分 -
-
-
-
- - - - - -
-
-
-
-
-
-
- - - - -
-
-
-
-
-
-
- - - -
-
-
-
-
-
-
- - -
-
-
-
-
-
-
- -
-
-
-
-
-
14.48K个评分
-
-
-
-
-
新功能
-
更新说明:
-
1、优化用户体验
-
-
-
信息
-
- 大小 -
{$game['game_size']}MB
-
-
- 类别 -
游戏
-
-
- 语言 -
英语,简体中文
-
-
- 年龄分级 -
限16岁以上
-
-
- 价格 -
免费
-
-
隐私政策
-
-
-
-
-
闽ICP备19000000号-0
-
闽网文{2019}1554-099号
-
-
抵制不良游戏,拒绝盗版游戏。注意自我保护,谨防受骗上当。
-
适度游戏益脑,沉迷游戏伤身。合理安排时间,享受健康生活。
-
-
+ + + + + + + + + + + + -