index.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <style type="text/css" media="all">
  2. #table .btn{
  3. display: flex;
  4. align-items: center;
  5. justify-content: center;
  6. height: 36px;
  7. border-radius: 18px;
  8. margin-bottom: 10px;
  9. width: 100px;
  10. color: #fff;
  11. }
  12. #table .btn-detail{
  13. background: #62CB81;
  14. }
  15. #table .btn-change{
  16. background: #1677FF;
  17. }
  18. #table .btn-status{
  19. background: #FFA600;
  20. }
  21. #table .btn-cancel{
  22. background: #F7F7F7;
  23. color: #666666;
  24. }
  25. #table .btn-down{
  26. background: #7B65FB;
  27. }
  28. .icon{
  29. width: 18px;
  30. height: 18px;
  31. margin-right: 10px;
  32. }
  33. .notice{
  34. display: flex;
  35. align-items: center;
  36. background: #CEEBD8;
  37. padding: 0 18px;
  38. color: #4C9A63;
  39. height: 68px;
  40. border-radius: 10px;
  41. margin-bottom: 10px;
  42. }
  43. </style>
  44. <div class="notice">
  45. <img src="__CDN__/assets/addons/service/image/notice.png" alt="" class="icon" />
  46. 温馨提示:只有开启到店功能的商家到店核销项目
  47. </div>
  48. <div class="panel panel-default panel-intro">
  49. <div class="panel-heading">
  50. {:build_heading(null,FALSE)}
  51. <ul class="nav nav-tabs" data-field="status">
  52. <li class="{:$Think.get.status === null ? 'active' : ''}"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
  53. {foreach name="statusList" item="vo"}
  54. <li class="{:$Think.get.status === (string)$key ? 'active' : ''}"><a href="#t-{$key|htmlentities}" data-value="{$key|htmlentities}" data-toggle="tab">{$vo|htmlentities}</a></li>
  55. {/foreach}
  56. </ul>
  57. </div>
  58. <div class="panel-body">
  59. <div id="myTabContent" class="tab-content">
  60. <div class="tab-pane fade active in" id="one">
  61. <div class="widget-body no-padding">
  62. <div id="toolbar" class="toolbar">
  63. <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
  64. <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('service/goods/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
  65. </div>
  66. <table id="table" class="table table-bordered table-hover table-nowrap"
  67. data-operate-edit="{:$auth->check('service/goods/edit')}"
  68. data-operate-del="{:$auth->check('service/goods/del')}"
  69. width="100%">
  70. </table>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. </div>