index.html 4.0 KB
Newer Older
G
gongfuxiang 已提交
1 2 3 4 5 6 7 8 9
{{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/UserIntegralLog/Index')}}" method="POST">
			<div class="am-g">
				<input type="text" class="am-radius form-keyword" placeholder="{{:lang('userintegrallog_so_keyword_tips')}}" name="keyword" <present name="param['keyword']"> value="{{$param.keyword}}"{{/if}} />
D
devil_gong 已提交
10
				<button type="submit" class="am-btn am-btn-secondary am-btn-sm am-radius form-submit">查询</button>
G
gongfuxiang 已提交
11
				<label class="fs-12 m-l-5 c-p fw-100 more-submit">
D
devil_gong 已提交
12
					更多筛选
G
gongfuxiang 已提交
13 14 15 16 17 18
					<input type="checkbox" name="is_more" value="1" id="is_more" {{if isset($param['is_more']) and $param['is_more'] eq 1)}}checked{{/if}} />
					<i class="am-icon-angle-down"></i>
				</label>

				<div class="more-where {{if !isset($param['is_more']) or $param['is_more'] neq 1)}}none{{/if}}">
					<select name="gender" class="am-radius c-p m-t-10 m-l-5 param-where">
D
devil_gong 已提交
19
						<option value="-1)}}性别</option>
G
gongfuxiang 已提交
20 21 22 23 24 25 26 27 28 29 30
						<foreach name="common_gender_list" item="v">
							<option value="{{$v.id}}" {{if isset($param['gender']) and $param['gender'] eq $v['id']">selected{{/if}}>{{$v.name}}</option>
						{{/foreach}}
					</select>
					<select name="type" class="am-radius c-p m-t-10 m-l-5 param-where">
						<option value="-1)}}{{:lang('userintegrallog_type_name')}}</option>
						<foreach name="common_integral_log_type_list" item="v">
							<option value="{{$v.id}}" {{if isset($param['type']) and $param['type'] eq $v['id']">selected{{/if}}>{{$v.name}}</option>
						{{/foreach}}
					</select>
					<div class="param-date param-where m-l-5)}}
D
devil_gong 已提交
31
						<input type="text" name="time_start" class="Wdate am-radius m-t-10" placeholder="起始时间" onclick="WdatePicker({firstDayOfWeek:1,dateFmt:'yyyy-MM-dd HH:mm:ss'})" {{if isset($param['time_start'])}}value="{{$param.time_start}}"{{/if}}/>
G
gongfuxiang 已提交
32
						<span>~</span>
D
devil_gong 已提交
33
						<input type="text" class="Wdate am-radius m-t-10" placeholder="结束时间" name="time_end" onclick="WdatePicker({firstDayOfWeek:1,dateFmt:'yyyy-MM-dd HH:mm:ss'})" {{if isset($param['time_end'])}}value="{{$param.time_end}}"{{/if}}/>
G
gongfuxiang 已提交
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
					</div>
				</div>
			</div>
        </form>
        <!-- form 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('userintegrallog_user_name')}}</th>
					<th>{{:lang('userintegrallog_type_name')}}</th>
					<th>{{:lang('userintegrallog_original_integral_name')}}</th>
					<th>{{:lang('userintegrallog_new_integral_name')}}</th>
					<th class="am-hide-sm-only">{{:lang('userintegrallog_msg_name')}}</th>
					<th class="am-hide-sm-only">{{:lang('userintegrallog_add_time_name')}}</th>
				</tr>
			</thead>
			<tbody>
				{{if !empty($list)}}
					<foreach name="list" item="v">
						<tr id="data-list-{{$v.id}}">
							<td>
								{{if !empty($v['username'])}}
									{{$v.username}}
									{{if !empty($v['nickname'])}}
										({{$v.nickname}})
									{{/if}}
									<br />
								{{/if}}
								{{if !empty($v['mobile'])}}
									{{$v.mobile}}<br />
								{{/if}}
								{{$v.gender_text}}
							</td>
							<td>
D
devil_gong 已提交
70
								{{if empty($v['type_text'])}}<span class="cr-ddd">未填写</span>{{else /}}{{$v.type_text}}{{/if}}
G
gongfuxiang 已提交
71 72 73 74
							</td>
							<td>{{$v.original_integral}}</td>
							<td>{{$v.new_integral}}</td>
							<td class="am-hide-sm-only">
D
devil_gong 已提交
75
								{{if empty($v['msg'])}}<span class="cr-ddd">未填写</span>{{else /}}{{$v.msg}}{{/if}}
G
gongfuxiang 已提交
76 77
							</td>
							<td class="am-hide-sm-only">
D
devil_gong 已提交
78
								{{if empty($v['add_time'])}}<span class="cr-ddd">未设置</span>{{else /}}{{$v.add_time}}{{/if}}
G
gongfuxiang 已提交
79 80 81 82
							</td>
						</tr>
					{{/foreach}}
				{{else /}}
D
devil_gong 已提交
83
					<tr><td colspan="6" class="table-no">没有相关数据</td></tr>
G
gongfuxiang 已提交
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
				{{/if}}
			</tbody>
		</table>
		<!-- list end -->

		<!-- page start -->
		{{if !empty($list)}}
			{{$page_html}}
		{{/if}}
		<!-- page end -->
	</div>
</div>
<!-- right content end  -->
		
<!-- footer start -->
{{include file="public/footer" /}}
<!-- footer end -->