index.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <style>
  2. /* body{overflow: hidden;}
  3. #table>tbody>tr>td:last-child{width: 100px;}
  4. #table>tbody>tr>td:last-child>a{width: 100px;display: block;margin: 5px 0;}
  5. .bootstrap-table{position: relative;}
  6. .commonsearch-table{}
  7. .fixed-table-container{}
  8. .fixed-columns-right{height: 100%!important;}
  9. .fixed-table-body{height: 100%!important;}
  10. #table thead{z-index: 10}
  11. .th-inner{width: 100%!important;}
  12. #table thead th{text-align: center!important;}*/
  13. #table>tbody>tr>td:last-child>a{width: 100px;display: block;margin: 5px 0;}
  14. .nav li a{position: relative;padding-right: 35px;}
  15. .nav li small{position: absolute;top: 0;right: 5px;color: #fff;background-color: red;border-radius: 30px;padding: 2px 5px}
  16. .label-daifukuan {background-color: #e46005;}
  17. </style>
  18. <div class="panel panel-default panel-intro">
  19. {:build_heading()}
  20. <div class="panel-heading">
  21. {:build_heading(null,FALSE)}
  22. <!--<ul class="nav nav-tabs" data-field="status">
  23. <li class="active"><a href="#t-all" data-toggle="tab" data-value="">{:__('All')}</a></li>
  24. {foreach name="status" item="vo"}
  25. <li><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>
  26. {/foreach}
  27. </ul>-->
  28. <ul class="nav nav-tabs" data-field="status">
  29. <li class="active"><a href="#t-all" data-toggle="tab" data-value="" >{:__('All')}</a>
  30. <small class="nav_id_all">0</small>
  31. </li>
  32. {foreach name="status" item="vo"}
  33. <li ><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a>
  34. <small class="nav_id_{$key}">0</small>
  35. </li>
  36. {/foreach}
  37. </ul>
  38. </div>
  39. <div class="panel-body">
  40. <div id="myTabContent" class="tab-content">
  41. <div class="tab-pane fade active in" id="one">
  42. <div class="widget-body no-padding">
  43. <div id="toolbar" class="toolbar">
  44. <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
  45. <a target="_blank" class="btn btn-info btn-export" title="{:__('导出')}" style="display: none"> 导出</a>
  46. {eq name="is_proxy" value="0"}
  47. <a href="javascript:;" class="btn btn-default" style="font-size:14px;color:dodgerblue;">
  48. <i class="fa fa-dollar"></i>
  49. <span class="extend" id="orderAmount"></span>
  50. </a>
  51. {/eq}
  52. </div>
  53. <table id="table" class="table table-bordered table-hover table-nowrap"
  54. data-operate-edit="{:$auth->check('mobile_order/edit')}"
  55. data-operate-del="{:$auth->check('mobile_order/del')}"
  56. data-add_operation="{:$auth->check('mobile_order/add_operation')}"
  57. data-mobile_order_refund="{:$auth->check('mobile_order/refund')}"
  58. data-mobile_order_send="{:$auth->check('mobile_order/send')}"
  59. data-see_logistics="{:$auth->check('mobile_order/see_logistics')}"
  60. data-url-sub-remark="{:url('mobile_order/sub_remark')}"
  61. data-auth-url-sub-remark="{:$auth->check('mobile_order/sub_remark')}"
  62. data-auth-set_anchor="{:$auth->check('mobile_order/set_anchor')}"
  63. data-url-set_anchor="{:url('mobile_order/set_anchor')}"
  64. data-auth-mobile_up="{:url('mobile_order/mobile_up')}"
  65. data-auth-dy_settle="{:url('mobile_order/dy_settle')}"
  66. width="100%">
  67. </table>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. <script>
  74. let admins ={:json_encode($admins)};
  75. let adminInfo = {$adminInfo|json_encode};
  76. let subs = {$subs|json_encode};
  77. var showAmountDi={:$auth->check('mobile/_show_amount_di')?1:0};
  78. var showAmountProxy={:$auth->check('mobile/_show_amount_proxy')?1:0};
  79. </script>
  80. <script id="anchor-subs" type="text/html">
  81. <div class="row">
  82. <div class="col-xs-12">
  83. <input type="hidden" class="operate" data-name="mobile_anchor_id_subs" value="=" />
  84. <input
  85. id="c-anchor_subs"
  86. data-field="name"
  87. data-source="mobile_anchor/index"
  88. class="form-control selectpage"
  89. name="mobile_anchor_id_subs"
  90. type="text">
  91. </div>
  92. </div>
  93. </script>
  94. <script id="anchor-search" type="text/html">
  95. <div class="row">
  96. <div class="col-xs-12">
  97. <input type="hidden" class="operate" data-name="mobile_anchor_id" value="=" />
  98. <input
  99. id="c-anchor"
  100. data-field="name"
  101. data-source="mobile_anchor/index"
  102. class="form-control selectpage"
  103. name="mobile_anchor_id"
  104. type="text">
  105. </div>
  106. </div>
  107. </script>
  108. <script id="anchor-sub-search" type="text/html">
  109. <div class="row">
  110. <div class="col-xs-12">
  111. <input type="hidden" class="operate" data-name="sub_mobile_anchor_id" value="=" />
  112. <input
  113. id="c-anchor-sub"
  114. data-field="name"
  115. data-source="mobile_anchor/index"
  116. class="form-control selectpage"
  117. name="sub_mobile_anchor_id"
  118. type="text">
  119. </div>
  120. </div>
  121. </script>