12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <!-- header start -->
- <include file="Public/Header" />
- <!-- header end -->
- <!-- right content start -->
- <div class="content-right">
- <div class="content">
- <!-- form start -->
- <div class="am-g m-t-15">
- <a href="{{:U('Admin/SelectActivity/Index')}}" class="am-btn am-btn-secondary am-radius am-btn-xs am-icon-plus"> {{:L('common_operation_add')}}</a>
- </div>
- <table class="am-table am-table-striped am-table-hover am-text-middle m-t-10">
- <thead>
- <tr>
- <th>序号</th>
- <th>活动ID</th>
- <th class="am-hide-sm-only">活动名称</th>
- <th class="am-hide-sm-only">开始时间</th>
- <th class="am-hide-sm-only">结束时间</th>
- <th class="am-hide-sm-only">创建时间</th>
- <th>{{:L('common_operation_name')}}</th>
- </tr>
- </thead>
- <tbody>
- <if condition="!empty($List)">
- <foreach name="List" item="v">
- <tr id="data-list-{{$v.id}}">
- <input type="hidden" value="{{$v.id}}" />
- <td class="am-hide-sm-only">{{$key+1}}</td>
- <td class="am-hide-sm-only">{{$v.id}}</td>
- <td class="am-hide-sm-only">{{$v.activity_name}}</td>
- <td class="am-hide-sm-only">{{$v.start_at}}</td>
- <td class="am-hide-sm-only">{{$v.end_at}}</td>
- <td class="am-hide-sm-only">{{$v.created_at}}</td>
- <td class="view-operation">
- <a href="{{:U('Admin/ActivityV2/SaveInfo', array('id'=>$v['id']))}}">
- <button class="am-btn am-btn-default am-btn-xs am-radius am-icon-edit" data-am-popover="{content: '{{:L('common_operation_edit')}}', trigger: 'hover focus'}"></button>
- </a>
- <button class="am-btn am-btn-default am-btn-xs am-radius am-icon-trash-o submit-delete" data-url="{{:U('Admin/ActivityV2/Delete')}}" data-am-popover="{content: '{{:L('common_operation_delete')}}', trigger: 'hover focus'}" data-id="{{$v.id}}"></button>
- </td>
- </tr>
- </foreach>
- <else />
- <tr><td colspan="10" class="table-no">{{:L('common_not_data_tips')}}</td></tr>
- </if>
- </tbody>
- </table>
- <!-- list end -->
- <!-- page start -->
- <if condition="!empty($List)">
- {{$page_html}}
- </if>
- <!-- page end -->
- </div>
- </div>
- <!-- right content end -->
-
- <!-- footer start -->
- <include file="Public/Footer" />
- <!-- footer end
|