168 lines
8.3 KiB
HTML
Executable File
168 lines
8.3 KiB
HTML
Executable File
{{include file="public/header" /}}
|
|
|
|
<!-- right content start -->
|
|
<div class="content-right">
|
|
<div class="content">
|
|
<!-- form start -->
|
|
<form class="am-form view-list" action="{{:url('admin/user/Index')}}" method="POST">
|
|
<div class="am-g">
|
|
<input type="text" autocomplete="off" class="am-radius form-keyword" placeholder="{{:lang('user_so_keyword_tips')}}" name="keywords" {{if !empty($params['keywords'])}} value="{{$params.keywords}}"{{/if}} />
|
|
<button type="submit" class="am-btn am-btn-secondary am-btn-sm am-radius form-submit">{{:lang('common_operation_query')}}</button>
|
|
<label class="fs-12 m-l-5 c-p fw-100 more-submit">
|
|
{{:lang('common_more_screening')}}
|
|
<input type="checkbox" name="is_more" value="1" id="is_more" {{if isset($params['is_more']) and $params['is_more'] eq 1}}checked{{/if}} />
|
|
<i class="am-icon-angle-down"></i>
|
|
</label>
|
|
|
|
<div class="more-where {{if !isset($params['is_more']) or $params['is_more'] neq 1}} none{{/if}}">
|
|
<select name="gender" class="am-radius c-p m-t-10 m-l-5 param-where">
|
|
<option value="-1">{{:lang('common_view_gender_name')}}</option>
|
|
{{foreach $common_gender_list as $v}}
|
|
<option value="{{$v.id}}" {{if isset($params['gender']) and $params['gender'] eq $v['id']}}selected{{/if}}>{{$v.name}}</option>
|
|
{{/foreach}}
|
|
</select>
|
|
<div class="param-date param-where m-l-5">
|
|
<input type="text" autocomplete="off" name="time_start" class="Wdate am-radius m-t-10" placeholder="{{:lang('common_time_start_name')}}" onclick="WdatePicker({firstDayOfWeek:1,dateFmt:'yyyy-MM-dd HH:mm:ss'})" {{if isset($params['time_start'])}}value="{{$params.time_start}}"{{/if}}/>
|
|
<span>~</span>
|
|
<input type="text" autocomplete="off" class="Wdate am-radius m-t-10" placeholder="{{:lang('common_time_end_name')}}" name="time_end" onclick="WdatePicker({firstDayOfWeek:1,dateFmt:'yyyy-MM-dd HH:mm:ss'})" {{if isset($params['time_end'])}}value="{{$params.time_end}}"{{/if}}/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<!-- form end -->
|
|
|
|
<!-- operation start -->
|
|
<div class="am-g m-t-15">
|
|
<a href="{{:url('admin/user/saveinfo')}}" class="am-btn am-btn-secondary am-radius am-btn-xs am-icon-plus"> {{:lang('common_operation_add')}}</a>
|
|
{{if !IsMobile()}}
|
|
<a href="{{$excel_url}}" class="am-btn am-btn-success am-btn-xs m-l-10 am-icon-file-excel-o am-radius"> {{:lang('common_operation_excel_export_name')}}</a>
|
|
{{/if}}
|
|
</div>
|
|
<!-- operation end -->
|
|
|
|
<!-- list start -->
|
|
<table class="am-table am-table-striped am-table-hover am-text-middle m-t-10 m-l-5">
|
|
<thead>
|
|
<tr>
|
|
<th>{{:lang('user_avatar_name')}}</th>
|
|
<th>{{:lang('user_username_name')}}</th>
|
|
<th class="am-hide-sm-only">{{:lang('common_mobile_name')}}</th>
|
|
<th class="am-hide-sm-only">{{:lang('user_integral_name')}}</th>
|
|
<th class="am-hide-sm-only">{{:lang('common_view_gender_name')}}</th>
|
|
<th class="am-hide-sm-only">{{:lang('user_birthday_name')}}</th>
|
|
<th>{{:lang('common_more_name')}}</th>
|
|
<th>{{:lang('common_operation_name')}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{if !empty($data)}}
|
|
{{foreach $data as $v}}
|
|
<tr id="data-list-{{$v.id}}">
|
|
<td>
|
|
{{if !empty($v['avatar'])}}
|
|
<img src="{{$v['avatar']}}" class="am-img-thumbnail am-radius" width="60" height="60" />
|
|
{{else /}}
|
|
<span class="cr-ddd">{{:lang('common_on_fill_in_images')}}</span>
|
|
{{/if}}
|
|
</td>
|
|
<td>
|
|
{{if empty($v['username'])}}<span class="cr-ddd">{{:lang('common_on_fill_in_the_text')}}</span>{{else /}}{{$v.username}}{{/if}}
|
|
</td>
|
|
<td class="am-hide-sm-only">
|
|
{{if empty($v['mobile'])}}<span class="cr-ddd">{{:lang('common_on_fill_in_the_text')}}</span>{{else /}}{{$v.mobile}}{{/if}}
|
|
</td>
|
|
<td class="am-hide-sm-only">
|
|
{{if empty($v['integral'])}}<span class="cr-ddd">{{:lang('common_on_fill_in_the_text')}}</span>{{else /}}{{$v.integral}}{{/if}}
|
|
</td>
|
|
<td class="am-hide-sm-only">
|
|
{{if empty($v['gender_text'])}}<span class="cr-ddd">{{:lang('common_not_set_text')}}</span>{{else /}}{{$v.gender_text}}{{/if}}
|
|
</td>
|
|
<td class="am-hide-sm-only">
|
|
{{if empty($v['birthday_text'])}}<span class="cr-ddd">{{:lang('common_on_fill_in_the_text')}}</span>{{else /}}{{$v.birthday_text}}{{/if}}
|
|
</td>
|
|
<td>
|
|
<span class="am-icon-caret-down c-p" data-am-modal="{target: '#my-popup{{$v.id}}'}"> {{:lang('common_see_more_name')}}</span>
|
|
<div class="am-popup am-radius" id="my-popup{{$v.id}}">
|
|
<div class="am-popup-inner">
|
|
<div class="am-popup-hd">
|
|
<h4 class="am-popup-title">{{:lang('common_detail_content')}}</h4>
|
|
<span data-am-modal-close class="am-close">×</span>
|
|
</div>
|
|
<div class="am-popup-bd">
|
|
<dl class="dl-content">
|
|
<dt>{{:lang('user_username_name')}}</dt>
|
|
<dd>{{if empty($v['username'])}}<span class="cr-ddd">{{:lang('common_on_fill_in_the_text')}}</span>{{else /}}{{$v.username}}{{/if}}</dd>
|
|
|
|
<dt>{{:lang('user_nickname_name')}}</dt>
|
|
<dd>{{if empty($v['nickname'])}}<span class="cr-ddd">{{:lang('common_on_fill_in_the_text')}}</span>{{else /}}{{$v.nickname}}{{/if}}</dd>
|
|
|
|
<dt>{{:lang('common_mobile_name')}}</dt>
|
|
<dd>{{if empty($v['mobile'])}}<span class="cr-ddd">{{:lang('common_on_fill_in_the_text')}}</span>{{else /}}{{$v.mobile}}{{/if}}</dd>
|
|
|
|
<dt>{{:lang('common_email_name')}}</dt>
|
|
<dd>{{if empty($v['email'])}}<span class="cr-ddd">{{:lang('common_on_fill_in_the_text')}}</span>{{else /}}{{$v.email}}{{/if}}</dd>
|
|
|
|
<dt>{{:lang('common_view_gender_name')}}</dt>
|
|
<dd>{{if empty($v['gender_text'])}}<span class="cr-ddd">{{:lang('common_not_set_text')}}</span>{{else /}}{{$v.gender_text}}{{/if}}</dd>
|
|
|
|
<dt>{{:lang('user_birthday_name')}}</dt>
|
|
<dd>{{if empty($v['birthday_text'])}}<span class="cr-ddd">{{:lang('common_on_fill_in_the_text')}}</span>{{else /}}{{$v.birthday_text}}{{/if}}</dd>
|
|
|
|
<dt>{{:lang('user_province_name')}}</dt>
|
|
<dd>{{if empty($v['province'])}}<span class="cr-ddd">{{:lang('common_on_fill_in_the_text')}}</span>{{else /}}{{$v.province}}{{/if}}</dd>
|
|
|
|
<dt>{{:lang('user_city_name')}}</dt>
|
|
<dd>{{if empty($v['city'])}}<span class="cr-ddd">{{:lang('common_on_fill_in_the_text')}}</span>{{else /}}{{$v.city}}{{/if}}</dd>
|
|
|
|
<dt>{{:lang('common_address_text')}}</dt>
|
|
<dd>{{if empty($v['address'])}}<span class="cr-ddd">{{:lang('common_on_fill_in_the_text')}}</span>{{else /}}{{$v.address}}{{/if}}</dd>
|
|
|
|
<dt>{{:lang('user_integral_name')}}</dt>
|
|
<dd>{{if empty($v['integral'])}}<span class="cr-ddd">{{:lang('common_on_fill_in_the_text')}}</span>{{else /}}{{$v.integral}}{{/if}}</dd>
|
|
|
|
<dt>{{:lang('user_avatar_name')}}</dt>
|
|
<dd>
|
|
{{if !empty($v['avatar'])}}
|
|
<img src="{{$v['avatar']}}" class="am-img-thumbnail am-radius" width="100" height="100" />
|
|
{{else /}}
|
|
<span class="cr-ddd">{{:lang('common_on_fill_in_images')}}</span>
|
|
{{/if}}
|
|
</dd>
|
|
|
|
<dt>{{:lang('common_reg_time_name')}}</dt>
|
|
<dd>{{$v.add_time}}</dd>
|
|
|
|
<dt>{{:lang('common_upd_time_name')}}</dt>
|
|
<dd>{{$v.upd_time}}</dd>
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td class="view-operation">
|
|
<a href="{{:url('admin/user/saveinfo', array_merge($params,array('id'=>$v['id'])))}}">
|
|
<button class="am-btn am-btn-default am-btn-xs am-radius am-icon-edit"> {{:lang('common_operation_edit')}}</button>
|
|
</a>
|
|
<button class="am-btn am-btn-default am-btn-xs am-radius am-icon-trash-o submit-delete" data-url="{{:url('admin/user/delete')}}" data-id="{{$v.id}}"> {{:lang('common_operation_delete')}}</button>
|
|
</td>
|
|
</tr>
|
|
{{/foreach}}
|
|
{{else /}}
|
|
<tr><td colspan="20" class="table-no">{{:lang('common_not_data_tips')}}</td></tr>
|
|
{{/if}}
|
|
</tbody>
|
|
</table>
|
|
<!-- list end -->
|
|
|
|
<!-- page start -->
|
|
{{if !empty($data)}}
|
|
{{$page_html|raw}}
|
|
{{/if}}
|
|
<!-- page end -->
|
|
</div>
|
|
</div>
|
|
<!-- right content end -->
|
|
|
|
<!-- footer start -->
|
|
{{include file="public/footer" /}}
|
|
<!-- footer end --> |