upgrade_index.htm 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. {include file="public/layout" /}
  2. <body class="bodystyle">
  3. <div id="append_parent"></div>
  4. <div id="ajaxwaitid"></div>
  5. <div class="page">
  6. {include file="member/bar" /}
  7. <div class="flexigrid">
  8. <div class="mDiv">
  9. <div class="ftitle">
  10. <h3>会员业务记录</h3>
  11. <h5>(共{$pager->totalRows}条数据)</h5>
  12. </div>
  13. <div title="刷新数据" class="pReload"><i class="fa fa-refresh"></i></div>
  14. <form class="navbar-form form-inline" action="{:url('Level/upgrade_index')}" method="get" onsubmit="layer_loading('正在处理');">
  15. {$searchform.hidden|default=''}
  16. <div class="sDiv">
  17. <div class="sDiv2 fl" style="margin-right: 6px;">
  18. <input type="text" size="30" name="order_number" value="{$Request.param.order_number}" class="qsbox" placeholder="搜索订单号...">
  19. <input type="submit" class="btn" value="搜索">
  20. </div>
  21. {include file="level/level_bar" /}
  22. </div>
  23. </form>
  24. </div>
  25. <div class="bDiv" style="height: auto;">
  26. <div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
  27. <table style="width: 100%">
  28. <thead style="background-color: #f7f7f7; height: 40px;line-height: 40px;">
  29. <tr>
  30. <th class="sign w10" axis="col0">
  31. </th>
  32. <th abbr="ac_id" axis="col4">
  33. <div class="">订单号</div>
  34. </th>
  35. <th abbr="ac_id" axis="col4">
  36. <div class="tc">产品名称</div>
  37. </th>
  38. <th abbr="article_title" axis="col3" >
  39. <div class="tc">升级时间</div>
  40. </th>
  41. <th abbr="ac_id" axis="col4" >
  42. <div class="tc">金额</div>
  43. </th>
  44. <th abbr="ac_id" axis="col4" >
  45. <div class="tc">支付方式</div>
  46. </th>
  47. <th abbr="ac_id" axis="col4" >
  48. <div class="tc">状态</div>
  49. </th>
  50. <th abbr="ac_id" axis="col4" >
  51. <div class="tc">会员</div>
  52. </th>
  53. </tr>
  54. </thead>
  55. <tbody>
  56. {empty name="list"}
  57. <tr>
  58. <td class="no-data" align="center" axis="col0" colspan="50">
  59. <i class="fa fa-exclamation-circle"></i>没有符合条件的记录
  60. </td>
  61. </tr>
  62. {else/}
  63. {foreach name="list" item="vo" key="k" }
  64. <tr>
  65. <td class="sign">
  66. <div class="w10 tc"></div>
  67. </td>
  68. <td >
  69. <div style="">
  70. {$vo.order_number}
  71. </div>
  72. </td>
  73. <td>
  74. <div class="tc">
  75. {$vo.cause.type_name}
  76. </div>
  77. </td>
  78. <td class="sort">
  79. <div class="tc">
  80. {$vo.add_time|date='Y-m-d H:i:s',###}
  81. </div>
  82. </td>
  83. <td>
  84. <div class="tc">
  85. ¥{$vo.money}
  86. </div>
  87. </td>
  88. <td class="">
  89. <div class="tc">
  90. {notempty name="$pay_method_arr[$vo['pay_method']]"}
  91. {$pay_method_arr[$vo['pay_method']]}
  92. {else /}
  93. ————
  94. {/notempty}
  95. </div>
  96. </td>
  97. <td class="">
  98. <div class="tc">
  99. {$pay_status_arr[$vo['status']]}
  100. </div>
  101. </td>
  102. <td class="">
  103. <div class="tc ">
  104. <a href="{:url('Member/users_edit', ['id'=>$vo.users_id,'from'=>'money_index'])}">{$vo.username}</a>
  105. </div>
  106. </td>
  107. </tr>
  108. {/foreach}
  109. {/empty}
  110. </tbody>
  111. </table>
  112. </div>
  113. <div class="iDiv" style="display: none;"></div>
  114. </div>
  115. <!--分页位置-->
  116. {$pageStr}
  117. </div>
  118. </div>
  119. <script>
  120. $(document).ready(function(){
  121. // 表格行点击选中切换
  122. $('#flexigrid > table>tbody >tr').click(function(){
  123. $(this).toggleClass('trSelected');
  124. });
  125. // 点击刷新数据
  126. $('.fa-refresh').click(function(){
  127. location.href = location.href;
  128. });
  129. });
  130. </script>
  131. {include file="public/footer" /}