Commit 9ce8d66e authored by clone's avatar clone

Merge branch 'test'

parents 826e71ae 376d338b
...@@ -249,7 +249,7 @@ class Member extends Basic{ ...@@ -249,7 +249,7 @@ class Member extends Basic{
$where['a.first_login_time'] = ['between time', [$params['first_login_start'] . ' 00:00:00', $where['a.first_login_time'] = $params['first_login_end'] . ' 23:59:59']]; $where['a.first_login_time'] = ['between time', [$params['first_login_start'] . ' 00:00:00', $where['a.first_login_time'] = $params['first_login_end'] . ' 23:59:59']];
} }
$fields = 'a.id,a.user_nick,a.user_name,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,a.registration_time,a.user_name,a.last_login_ip,a.status'; $fields = 'a.id,a.user_nick,a.user_name,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,a.registration_time,a.user_name,a.last_login_ip,a.status,a.first_login_time';
try { try {
$data['list'] = $this->user->getUserAgent($pageNo, $pageSize, 'a.id DESC', $fields, $where, $type); $data['list'] = $this->user->getUserAgent($pageNo, $pageSize, 'a.id DESC', $fields, $where, $type);
......
{layout name="global/frame_tpl" /} {layout name="global/frame_tpl" /}
<!--关联js元素--> <!--关联js元素-->
<input type="hidden" class="page-load" id="auth_rule_index" /> <input type="hidden" class="page-load" id="auth_rule_index" />
<style>
.title-0{
font-weight: bold;
font-size: 15px;
}
</style>
<div id="page-content-wrapper"> <div id="page-content-wrapper">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
......
{layout name="global/frame_tpl" /} {layout name="global/frame_tpl" /}
<!--角色管理页面--> <!--角色管理页面-->
<input type="hidden" class="page-load" id="auth" /> <input type="hidden" class="page-load" id="auth" />
<style>
.title-0{
font-weight: bold;
font-size: 15px;
}
</style>
<div id="page-content-wrapper"> <div id="page-content-wrapper">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
......
...@@ -38,9 +38,10 @@ ...@@ -38,9 +38,10 @@
[% for(var item in it){ %] [% for(var item in it){ %]
[% if(it[item]['pid']!=0){ %] [% if(it[item]['pid']!=0){ %]
<option value="[%= it[item]['id'] %]">[%= it[item]["title_show"] %]</option>
<option value="[%= it[item]['id'] %]" class="[%= 'title-' + it[item]['level'] %]">[%= it[item]["title_show"] %]</option>
[% }else{ %] [% }else{ %]
<option value="[%= it[item]['id'] %]">[%= it[item]["title_show"] %]</option> <option value="[%= it[item]['id'] %]" class="[%= 'title-' + it[item]['level'] %]">[%= it[item]["title_show"] %]</option>
[% } %] [% } %]
[% } %] [% } %]
......
...@@ -37,11 +37,16 @@ ...@@ -37,11 +37,16 @@
[% } %] [% } %]
[% if(it[item]['is']!=0){ %] [% if(it[item]['is']!=0){ %]
<input type="checkbox" name="rules" value="[%= it[item]['id'] %]" checked="checked"> <input type="checkbox" name="rules" value="[%= it[item]['id'] %]" checked="checked">
[%= it[item]["title_show"] %]<br> <!--[%= it[item]["title_show"] %]<br>-->
<span class="[%= 'title-' + it[item]['level'] %]">[%= it[item]["title_show"] %]</span><br>
[% }else{ %] [% }else{ %]
<input type="checkbox" name="rules" value="[%= it[item]['id'] %]" > <input type="checkbox" name="rules" value="[%= it[item]['id'] %]" >
[%= it[item]["title_show"] %]<br> <!--[%= it[item]["title_show"] %]<br>-->
<span class="[%= 'title-' + it[item]['level'] %]">[%= it[item]["title_show"] %]</span><br>
[% } %] [% } %]
[% } %] [% } %]
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
[% } %] [% } %]
</td> </td>
<td> <td>
[% if (it[item]['last_login_ip'] == null){ %] [% if (it[item]['first_login_time'] == null){ %]
[% }else{ %] [% }else{ %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment