切换导航条
此项目
正在载入...
登录
景龙
/
xingqiu
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
景龙
6 years ago
提交
818832563b2b393211f45b1982acc23b084f8067
1 个父辈
be0d8931
1 个管道 的构建
通过
耗费 2 秒
修改后台用户数据
变更
3
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
11 行增加
和
9 行删除
app/user/controller/AdminIndexController.php
public/themes/admin_simpleboot3/user/admin_index/index.html
public/themes/simpleboot3_mobile/portal/login/login.html
app/user/controller/AdminIndexController.php
查看文件 @
8188325
...
...
@@ -76,11 +76,11 @@ class AdminIndexController extends AdminBaseController
if
(
!
empty
(
$data
[
'keyword'
]))
{
$keyword
=
$data
[
'keyword'
];
$query
->
where
(
'user_
login|user_nickname|user_email|mobil
e'
,
'like'
,
"%
$keyword
%"
);
$query
->
where
(
'user_
nickname|mobile|sourc
e'
,
'like'
,
"%
$keyword
%"
);
}
})
->
order
(
"create_time DESC"
)
->
order
(
"create_time DESC"
)
->
paginate
(
10
);
// 获取分页显示
$page
=
$list
->
render
();
...
...
public/themes/admin_simpleboot3/user/admin_index/index.html
查看文件 @
8188325
...
...
@@ -11,7 +11,7 @@
placeholder=
"请输入用户ID"
>
关键字:
<input
class=
"form-control"
type=
"text"
name=
"keyword"
style=
"width: 200px;"
value=
"{:input('request.keyword')}"
placeholder=
"
用户名/昵称/邮箱/手机
"
>
placeholder=
"
昵称/手机/来源
"
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"搜索"
/>
<a
class=
"btn btn-danger"
href=
"{:url('user/adminIndex/index')}"
>
清空
</a>
</form>
...
...
@@ -34,6 +34,7 @@
<th>
{:lang('AVATAR')}
</th>
<!--<th>{:lang('EMAIL')}</th>-->
<th>
手机号
</th>
<th>
来源
</th>
<th>
{:lang('REGISTRATION_TIME')}
</th>
<th>
{:lang('LAST_LOGIN_TIME')}
</th>
<th>
{:lang('LAST_LOGIN_IP')}
</th>
...
...
@@ -64,6 +65,7 @@
</td>
<!--<td>{$vo.user_email}</td>-->
<td>
{$vo.mobile}
</td>
<td>
{$vo.source}
</td>
<td>
{:date('Y-m-d H:i:s',$vo['create_time'])}
</td>
<td>
{:date('Y-m-d H:i:s',$vo['last_login_time'])}
</td>
<td>
{$vo.last_login_ip}
</td>
...
...
public/themes/simpleboot3_mobile/portal/login/login.html
查看文件 @
8188325
...
...
@@ -44,11 +44,9 @@
<div
class=
"index_tenth_seconds"
>
<div
class=
"index_tenth_second"
>
<div
class=
"index_tenth_second_one"
>
<a
href=
"https://open.weixin.qq.com/connect/qrconnect?appid=wx9cfa880272f186bf&redirect_uri=http://www.starplanet.cn/portal/login/wx_login&response_type=code&scope=snsapi_login&state=STATE#wechat_redirect"
>
<div
class=
"index_tenth_second_img"
>
<img
src=
"__TMPL__/public/assets/images/cicon_71@2x.png"
alt=
""
/>
</div>
</a>
<div
class=
"index_tenth_second_img"
id=
"login"
>
<img
src=
"__TMPL__/public/assets/images/cicon_71@2x.png"
alt=
""
/>
</div>
<div
class=
"index_tenth_second_title"
>
微信登录
</div>
...
...
@@ -80,11 +78,14 @@
</p>
</div>
</div>
<div
id=
"login_container"
>
</div>
</body>
<script
src=
"__TMPL__/public/assets/js/base.js"
></script>
<script
src=
"__TMPL__/public/assets/js/jquery-2.1.0.js"
></script>
<script
src=
"__TMPL__/public/assets/js/swiper.min.js"
></script>
<script
src=
"__TMPL__/public/assets/js/public.js"
></script>
<script
src=
"http://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"
></script>
<script>
$
(
".login"
).
click
(
function
()
{
$
(
this
).
addClass
(
"index_tenth_right"
);
...
...
@@ -140,5 +141,4 @@
});
});
</script>
</html>
\ No newline at end of file
...
...
请
注册
或
登录
后发表评论