112 lines
6.2 KiB
HTML
Executable File
112 lines
6.2 KiB
HTML
Executable File
{{include file="public/header" /}}
|
||
|
||
<!-- right content start -->
|
||
<div class="content-right">
|
||
<div class="content">
|
||
<!-- tips start -->
|
||
<div class="am-alert am-alert-warning am-radius" data-am-alert>
|
||
<button type="button" class="am-close">×</button>
|
||
<p>接口异步通知地址:http://localhost/shopxo/alipay_life_notify.php</p>
|
||
</div>
|
||
<!-- tips end -->
|
||
|
||
<!-- form start -->
|
||
<form class="am-form view-list" action="{{:url('Admin/AlipayLife/Index')}}" method="POST">
|
||
<div class="am-g">
|
||
<input type="text" class="am-radius form-keyword" placeholder="名称" name="keyword" <present name="param['keyword']"> value="{{$param.keyword}}"{{/if}} />
|
||
<button type="submit" class="am-btn am-btn-secondary am-btn-sm am-radius form-submit">查询</button>
|
||
<label class="fs-12 m-l-5 c-p fw-100 more-submit">
|
||
更多筛选
|
||
<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="is_shelves" class="am-radius c-p m-t-10 m-l-5 param-where">
|
||
<option value="-1)}}上下架</option>
|
||
<foreach name="common_goods_is_shelves_list" item="v">
|
||
<option value="{{$v.id}}" {{if isset($param['is_shelves']) and $param['is_shelves'] eq $v['id']">selected{{/if}}>{{$v.name}}</option>
|
||
{{/foreach}}
|
||
</select>
|
||
<select name="alipay_life_category_id" class="am-radius c-p m-t-10 m-l-5 param-where">
|
||
<option value="">生活号分类</option>
|
||
<foreach name="alipay_life_category" item="v">
|
||
<option value="{{$v.id}}" {{if isset($param['alipay_life_category_id']) and $param['alipay_life_category_id'] eq $v['id']">selected{{/if}}>{{$v.name}}</option>
|
||
{{/foreach}}
|
||
</select>
|
||
<div class="param-date param-where m-l-5)}}
|
||
<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}}/>
|
||
<span>~</span>
|
||
<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}}/>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</form>
|
||
<!-- form end -->
|
||
|
||
<!-- operation start -->
|
||
<div class="am-g m-t-15)}}
|
||
<a href="{{:url('Admin/AlipayLife/SaveInfo')}}" class="am-btn am-btn-secondary am-radius am-btn-xs am-icon-plus"> 新增</a>
|
||
</div>
|
||
<!-- operation end -->
|
||
|
||
<!-- list start -->
|
||
<table class="am-table am-table-striped am-table-hover am-text-middle m-t-1)}}
|
||
<thead>
|
||
<tr>
|
||
<th>名称</th>
|
||
<th class="am-hide-sm-only">LOGO</th>
|
||
<th>appid</th>
|
||
<th class="am-hide-sm-only category-row">生活号分类</th>
|
||
<th>上下架</th>
|
||
<th class="am-hide-sm-only">创建时间</th>
|
||
<th>操作</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
{{if !empty($list)}}
|
||
<foreach name="list" item="v">
|
||
<tr id="data-list-{{$v.id}}" {{if $v['is_shelves'] eq 0)}}class="am-active"{{/if}}>
|
||
<td>{{$v.name}}</td>
|
||
<td class="am-hide-sm-only">
|
||
{{if !empty($v['logo'])}}
|
||
<a href="{{$v['logo']}}" target="_blank">
|
||
<img src="{{$v['logo']}}" class="am-radius" width="100" />
|
||
</a>
|
||
{{else /}}
|
||
<span class="cr-ddd">暂无图片</span>
|
||
{{/if}}
|
||
</td>
|
||
<td>{{$v.appid}}</td>
|
||
<td class="am-hide-sm-only">{{:implode(',', $v['alipay_life_category_text'])}}</td>
|
||
<td>
|
||
<a href="javascript:;" class="am-icon-btn am-icon-check submit-state {{if $v['is_shelves'] eq 1)}}am-success{{else /}}am-default{{/if}}" data-url="{{:url('Admin/AlipayLife/StatusUpdate')}}" data-id="{{$v.id}}" data-state="{{$v['is_shelves']}}" data-is-update-status="1)}}</a>
|
||
</td>
|
||
<td class="am-hide-sm-only">{{$v.add_time_text}}</td>
|
||
<td class="view-operation">
|
||
<a href="{{:url('Admin/AlipayLife/SaveInfo', array('id'=>$v['id']))}}">
|
||
<button class="am-btn am-btn-default am-btn-xs am-radius am-icon-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/AlipayLife/Delete')}}" data-id="{{$v.id}}"> 删除</button>
|
||
</td>
|
||
</tr>
|
||
{{/foreach}}
|
||
{{else /}}
|
||
<tr><td colspan="7" class="table-no">没有相关数据</td></tr>
|
||
{{/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 --> |