134 lines
6.7 KiB
HTML
Executable File
134 lines
6.7 KiB
HTML
Executable File
<include file="Public/Header" />
|
||
|
||
<!-- header top nav -->
|
||
<include file="Public/HeaderTopNav" />
|
||
|
||
<!-- search -->
|
||
<include file="Public/NavSearch" />
|
||
|
||
<!-- header nav -->
|
||
<include file="Public/HeaderNav" />
|
||
|
||
<!-- goods category -->
|
||
<include file="Public/GoodsCategory" />
|
||
|
||
<!-- content -->
|
||
<div class="am-container user-main">
|
||
|
||
<!-- user menu start -->
|
||
<include file="Public/UserMenu" />
|
||
<!-- user menu end -->
|
||
|
||
<!-- content start -->
|
||
<div class="user-content">
|
||
<div class="user-content-body">
|
||
<form class="am-form form-validation" method="post" action="{{:U('Home/Message/Index')}}" request-type="form">
|
||
<div class="thin">
|
||
<div class="am-input-group am-input-group-sm am-fl so">
|
||
<input type="text" name="keywords" class="am-radius" placeholder="其实搜索很简单 ^_^!" value="<notempty name="params.keywords">{{$params.keywords}}</notempty>" />
|
||
<span class="am-input-group-btn">
|
||
<button class="am-btn am-btn-default am-radius" type="submit" data-am-loading="{spinner:'circle-o-notch', loadingText:'搜索中...'}">搜索</button>
|
||
</span>
|
||
</div>
|
||
<label class="am-fl thin_sub more-submit">
|
||
更多筛选条件
|
||
<input type="checkbox" name="is_more" value="1" class="none am-field-valid" <if condition="isset($params['is_more'])">checked</if> />
|
||
<i class="am-icon-angle-up"></i>
|
||
</label>
|
||
</div>
|
||
<table class="so-list more-where <if condition="!isset($params['is_more'])">none</if>">
|
||
<tbody>
|
||
<tr>
|
||
<td>
|
||
<span>类型:</span>
|
||
<select name="type" class="chosen-select" data-placeholder="消息类型...">
|
||
<option value="-1">消息类型...</option>
|
||
<notempty name="common_message_type_list">
|
||
<foreach name="common_message_type_list" item="v">
|
||
<option value="{{$v.id}}" <if condition="isset($params['type']) and $params['type'] eq $v['id']">selected</if>>{{$v.name}}</option>
|
||
</foreach>
|
||
</notempty>
|
||
</select>
|
||
</td>
|
||
<td>
|
||
<span>业务:</span>
|
||
<select name="business_type" class="chosen-select" data-placeholder="业务类型...">
|
||
<option value="-1">业务类型...</option>
|
||
<notempty name="common_business_type_list">
|
||
<foreach name="common_business_type_list" item="v">
|
||
<option value="{{$v.id}}" <if condition="isset($params['business_type']) and $params['business_type'] eq $v['id']">selected</if>>{{$v.name}}</option>
|
||
</foreach>
|
||
</notempty>
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td>
|
||
<span>状态:</span>
|
||
<select name="is_read" class="chosen-select" data-placeholder="消息状态...">
|
||
<option value="-1">消息状态...</option>
|
||
<notempty name="common_is_read_list">
|
||
<foreach name="common_is_read_list" item="v">
|
||
<option value="{{$v.id}}" <if condition="isset($params['is_read']) and $params['is_read'] eq $v['id']">selected</if>>{{$v.name}}</option>
|
||
</foreach>
|
||
</notempty>
|
||
</select>
|
||
</td>
|
||
<td>
|
||
<button type="submit" class="am-btn am-btn-primary am-radius am-btn-xs btn-loading-example" data-am-loading="{spinner:'circle-o-notch', loadingText:'搜索中...'}">搜索</button>
|
||
<a href="{{:U('Home/Message/Index')}}" class="am-btn am-btn-warning am-radius am-btn-sm reset-submit">清除条件</a>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</form>
|
||
|
||
<!-- 消息列表 -->
|
||
<div class="data-list">
|
||
<table class="am-table">
|
||
<thead>
|
||
<tr>
|
||
<th>标题</th>
|
||
<th class="am-hide-sm-only">类型</th>
|
||
<th class="am-hide-sm-only">业务</th>
|
||
<th>详情</th>
|
||
<th class="am-hide-sm-only">状态</th>
|
||
<th class="am-hide-sm-only">时间</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<notempty name="data_list">
|
||
<foreach name="data_list" item="v">
|
||
<tr>
|
||
<td>{{$v.title}}</td>
|
||
<td class="am-hide-sm-only">{{$v.type_name}}</td>
|
||
<td class="am-hide-sm-only">{{$v.business_type_name}}</td>
|
||
<td>{{$v.detail}}</td>
|
||
<td class="am-hide-sm-only">{{$v.is_read_name}}</td>
|
||
<td class="am-hide-sm-only">{{$v.add_time_time}}</td>
|
||
</tr>
|
||
</foreach>
|
||
</notempty>
|
||
<empty name="data_list">
|
||
<tr>
|
||
<td colspan="5">
|
||
<div class="table-no"><i class="am-icon-warning"></i> {{:L('common_not_data_tips')}}</div>
|
||
</td>
|
||
</tr>
|
||
</empty>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<!-- 分页 -->
|
||
<notempty name="data_list">
|
||
{{$page_html}}
|
||
</notempty>
|
||
</div>
|
||
</div>
|
||
<!-- content end -->
|
||
</div>
|
||
|
||
<!-- footer start -->
|
||
<include file="Public/Footer" />
|
||
<!-- footer end --> |