Index.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <!-- header start -->
  2. <include file="Public/Header" />
  3. <!-- header end -->
  4. <!-- right content start -->
  5. <div class="content-right">
  6. <div class="content">
  7. <!-- form start -->
  8. <form class="am-form view-list" action="{{:U('Admin/CultureSceneBackground/Index')}}" method="POST">
  9. <div class="am-g">
  10. <input type="text" class="am-radius form-keyword" placeholder="{{:L('scene_background_so_keyword_tips')}}" name="keyword" <present name="param['keyword']"> value="{{$param.keyword}}"</present> />
  11. <button type="submit" class="am-btn am-btn-secondary am-btn-sm am-radius form-submit">{{:L('common_operation_query')}}</button>
  12. <label class="fs-12 m-l-5 c-p fw-100 more-submit">
  13. {{:L('common_more_screening')}}
  14. <input type="checkbox" name="is_more" value="1" id="is_more" <if condition="isset($param['is_more']) and $param['is_more'] eq 1">checked</if> />
  15. <i class="am-icon-angle-down"></i>
  16. </label>
  17. <div class="more-where <if condition="!isset($param['is_more']) or $param['is_more'] neq 1">none</if>">
  18. <div class="param-date param-where m-l-5">
  19. <input type="text" name="time_start" readonly="readonly" class="am-radius m-t-10" placeholder="{{:L('scene_background_time_start_text')}}" id="time_start" <if condition="isset($param['time_start'])">value="{{$param.time_start}}"</if>/>
  20. <span>~</span>
  21. <input type="text" readonly="readonly" class="am-radius m-t-10" placeholder="{{:L('scene_background_time_end_text')}}" name="time_end" id="time_end" <if condition="isset($param['time_end'])">value="{{$param.time_end}}"</if>/>
  22. </div>
  23. </div>
  24. </div>
  25. </form>
  26. <!-- form end -->
  27. <!-- operation start -->
  28. <div class="am-g m-t-15">
  29. <a href="{{:U('Admin/CultureSceneBackground/SaveInfo')}}" class="am-btn am-btn-secondary am-radius am-btn-xs am-icon-plus"> {{:L('common_operation_add')}}</a>
  30. </div>
  31. <!-- operation end -->
  32. <!-- list start -->
  33. <table class="am-table am-table-striped am-table-hover am-text-middle m-t-10 m-l-5">
  34. <thead>
  35. <tr>
  36. <th>{{:L('scene_background_id')}}</th>
  37. <th>{{:L('scene_background_name')}}</th>
  38. <th>{{:L('thumb')}}</th>
  39. <th>{{:L('description')}}</th>
  40. <th>{{:L('sale_price')}}</th>
  41. <th>{{:L('created_at')}}</th>
  42. <th>{{:L('updated_at')}}</th>
  43. <th>{{:L('common_operation_name')}}</th>
  44. </tr>
  45. </thead>
  46. <tbody>
  47. <if condition="!empty($list)">
  48. <foreach name="list" item="v">
  49. <tr id="data-list-{{$v.scene_background_id}}">
  50. <td><if condition="empty($v['scene_background_id'])"><span class="cr-ddd">{{:L('common_on_fill_in_the_text')}}</span><else />{{$v.scene_background_id}}</if></td>
  51. <td><if condition="empty($v['scene_background_name'])"><span class="cr-ddd">{{:L('common_on_fill_in_the_text')}}</span><else />{{$v.scene_background_name}}</if></td>
  52. <td><img style="width: 160px;height: 90px;" src="{{$v.thumb}}" onerror="this.src='__PUBLIC__/Common/images/imgerror.png';this.onerror=null"></td>
  53. <td class="am-hide-sm-only">{{$v.description}}</td>
  54. <td class="am-hide-sm-only">{{$v.sale_price}}</td>
  55. <td class="am-hide-sm-only">{{$v.created_at}}</td>
  56. <td class="am-hide-sm-only">{{$v.updated_at}}</td>
  57. <td class="view-operation">
  58. <a href="{{:U('Admin/CultureSceneBackground/SaveInfo', array('scene_background_id'=>$v['scene_background_id']))}}">
  59. <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>
  60. </a>
  61. <button class="am-btn am-btn-default am-btn-xs am-radius am-icon-trash-o submit-delete" data-url="{{:U('Admin/CultureSceneBackground/Delete')}}" data-am-popover="{content: '{{:L('common_operation_delete')}}', trigger: 'hover focus'}" data-id="{{$v.scene_background_id}}"></button>
  62. </td>
  63. </tr>
  64. </foreach>
  65. <else />
  66. <tr><td colspan="10" class="table-no">{{:L('common_not_data_tips')}}</td></tr>
  67. </if>
  68. </tbody>
  69. </table>
  70. <!-- list end -->
  71. <!-- page start -->
  72. <if condition="!empty($list)">
  73. {{$page_html}}
  74. </if>
  75. <!-- page end -->
  76. </div>
  77. </div>
  78. <!-- right content end -->
  79. <!-- footer start -->
  80. <include file="Public/Footer" />
  81. <!-- footer end -->