index.html 5.5 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/PayLog/Index')}}" method="POST">
			<div class="am-g">
				<input type="text" class="am-radius form-keyword" placeholder="{{:lang('paylog_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 31 32 33 34 35 36 37 38
						<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="pay_type" class="am-radius c-p m-t-10 m-l-5 param-where">
						<option value="">{{:lang('paylog_pay_type_name')}}</option>
						<foreach name="common_pay_type_list" item="v">
							{{if !empty($v['id']) && !empty($v['name'])}}
								<option value="{{$v.id}}" {{if isset($param['pay_type']) and $param['pay_type'] eq $v['id']">selected{{/if}}>{{$v.name}}</option>
							{{/if}}
						{{/foreach}}
					</select>
					<select name="business_type" class="am-radius c-p m-t-10 m-l-5 param-where">
						<option value="-1)}}{{:lang('paylog_business_type_name')}}</option>
						<foreach name="common_business_type_list" item="v">
							<option value="{{$v.id}}" {{if isset($param['business_type']) and $param['business_type'] eq $v['id']">selected{{/if}}>{{$v.name}}</option>
						{{/foreach}}
					</select>
					<div class="param-date param-where m-l-5)}}
D
devil_gong 已提交
39
						<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 已提交
40
						<span>~</span>
D
devil_gong 已提交
41
						<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 已提交
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 70 71 72 73 74 75 76 77 78 79 80 81
					</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('paylog_user_name')}}</th>
					<th>{{:lang('paylog_pay_type_name')}}</th>
					<th>{{:lang('paylog_business_type_name')}}</th>
					<th class="am-hide-sm-only">{{:lang('paylog_order_id_name')}}</th>
					<th class="am-hide-sm-only">{{:lang('paylog_trade_no_name')}}</th>
					<th class="am-hide-sm-only">{{:lang('paylog_platform_buyer_user_name')}}</th>
					<th>{{:lang('paylog_pay_price_name')}}</th>
					<th>{{:lang('paylog_total_price_name')}}</th>
					<th class="am-hide-sm-only">{{:lang('paylog_subject_name')}}</th>
					<th class="am-hide-sm-only">{{:lang('paylog_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 已提交
82
								{{if empty($v['payment_name'])}}<span class="cr-ddd">未填写</span>{{else /}}{{$v.payment_name}}{{/if}}
G
gongfuxiang 已提交
83 84
							</td>
							<td>
D
devil_gong 已提交
85
								{{if empty($v['business_type_text'])}}<span class="cr-ddd">未填写</span>{{else /}}{{$v.business_type_text}}{{/if}}
G
gongfuxiang 已提交
86 87
							</td>
							<td class="am-hide-sm-only">
D
devil_gong 已提交
88
								{{if empty($v['order_id'])}}<span class="cr-ddd">未填写</span>{{else /}}{{$v.order_id}}{{/if}}
G
gongfuxiang 已提交
89 90
							</td>
							<td class="am-hide-sm-only">
D
devil_gong 已提交
91
								{{if empty($v['trade_no'])}}<span class="cr-ddd">未填写</span>{{else /}}{{$v.trade_no}}{{/if}}
G
gongfuxiang 已提交
92 93
							</td>
							<td class="am-hide-sm-only">
D
devil_gong 已提交
94
								{{if empty($v['buyer_user'])}}<span class="cr-ddd">未填写</span>{{else /}}{{$v.buyer_user}}{{/if}}
G
gongfuxiang 已提交
95 96
							</td>
							<td>
D
devil_gong 已提交
97
								{{if empty($v['pay_price'])}}<span class="cr-ddd">未填写</span>{{else /}}{{$v.pay_price}}{{/if}}
G
gongfuxiang 已提交
98 99
							</td>
							<td>
D
devil_gong 已提交
100
								{{if empty($v['total_price'])}}<span class="cr-ddd">未填写</span>{{else /}}{{$v.total_price}}{{/if}}
G
gongfuxiang 已提交
101 102
							</td>
							<td class="am-hide-sm-only">
D
devil_gong 已提交
103
								{{if empty($v['subject'])}}<span class="cr-ddd">未填写</span>{{else /}}{{$v.subject}}{{/if}}
G
gongfuxiang 已提交
104 105
							</td>
							<td class="am-hide-sm-only">
D
devil_gong 已提交
106
								{{if empty($v['add_time'])}}<span class="cr-ddd">未填写</span>{{else /}}{{$v.add_time}}{{/if}}
G
gongfuxiang 已提交
107 108 109 110
							</td>
						</tr>
					{{/foreach}}
				{{else /}}
D
devil_gong 已提交
111
					<tr><td colspan="10" class="table-no">没有相关数据</td></tr>
G
gongfuxiang 已提交
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
				{{/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 -->