index.html 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_btn"}
  3. <a class="dssc-btn dssc-btn-green" ds_type="dialog" dialog_title="{$Think.lang.sellermoney_withdraw_member}" uri="{:url('Sellermoney/withdraw_member')}"> <i class="iconfont">&#xe6a1;</i>{$Think.lang.sellermoney_withdraw_member} </a>
  4. <a class="dssc-btn dssc-btn-blue" ds_type="dialog" dialog_title="{$Think.lang.sellermoney_rechargew}" uri="{:url('Sellermoney/add')}"> <i class="iconfont">&#xe6a1;</i>{$Think.lang.sellermoney_rechargew} </a>
  5. {/block}
  6. {block name="seller_main"}
  7. <div class="alert"><span class="mr30">{$Think.lang.sellermoney_avaliable_money}{$Think.lang.ds_colon}<strong class="mr5 red" style="font-size: 18px;">{$store_info.store_avaliable_money}</strong>{$Think.lang.ds_yuan}</span><span>{$Think.lang.sellermoney_freeze_money}{$Think.lang.ds_colon}<strong class="mr5 blue" style="font-size: 18px;">{$store_info.store_freeze_money}</strong>{$Think.lang.ds_yuan}</span></div>
  8. <form method="get" target="_self">
  9. <table class="dsm-search-table">
  10. <input type="hidden" name= "recycle" value="{$Request.param.recycle}" />
  11. <tr>
  12. <td>&nbsp;</td>
  13. <th>{$Think.lang.sellermoney_changetime}</th>
  14. <td class="w240">
  15. <input type="text" class="text w70" name="query_start_date" id="query_start_date" value="{$Request.param.query_start_date}"/>
  16. <label class="add-on"><i class="iconfont">&#xe8d6;</i></label>&nbsp;&#8211;&nbsp;
  17. <input type="text" class="text w70" name="query_end_date" id="query_end_date" value="{$Request.param.query_end_date}"/>
  18. <label class="add-on"><i class="iconfont">&#xe8d6;</i></label>
  19. </td>
  20. <th>{$Think.lang.sellermoney_log_desc}</th>
  21. <td class="w160"><input type="text" class="text w150" name="storemoneylog_desc" value="{$Request.param.storemoneylog_desc}"></td>
  22. <td class="w70 tc">
  23. <input type="submit" class="submit" value="{$Think.lang.ds_search}"/>
  24. </td>
  25. </tr>
  26. </table>
  27. </form>
  28. <table class="dssc-default-table">
  29. <thead>
  30. <tr>
  31. <th>{$Think.lang.sellermoney_changetime}</th>
  32. <th class="tl">{$Think.lang.sellermoney_avaliable_money}({$Think.lang.ds_yuan})</th>
  33. <th class="tl">{$Think.lang.sellermoney_freeze_money}({$Think.lang.ds_yuan})</th>
  34. <th class="tl">{$Think.lang.sellermoney_log_desc}</th>
  35. </tr>
  36. </thead>
  37. <tbody>
  38. {notempty name="list_log"}
  39. {foreach name="list_log" item="v" key="k" }
  40. <tr class="bd-line">
  41. <td>{notempty name="$v.storemoneylog_add_time"}{$v.storemoneylog_add_time|date='Y-m-d H:i:s'}{/notempty}</td>
  42. <td class="tl"><?php echo floatval($v['store_avaliable_money']) ? (floatval($v['store_avaliable_money']) > 0 ? '+' : null ).$v['store_avaliable_money'] : null;?></td>
  43. <td class="tl"><?php echo floatval($v['store_freeze_money']) ? (floatval($v['store_freeze_money']) > 0 ? '+' : null ).$v['store_freeze_money'] : null;?></td>
  44. <td class="tl">{$v.storemoneylog_desc}
  45. </td>
  46. </tr>
  47. {/foreach}
  48. {else /}
  49. <tr>
  50. <td colspan="4" class="norecord"><div class="warning-option"><i>&nbsp;</i><span>{$Think.lang.no_record}</span></div></td>
  51. </tr>
  52. {/notempty}
  53. </tbody>
  54. <tfoot>
  55. {notempty name="list_log"}
  56. <tr>
  57. <td colspan="4"><div class="pagination">{$show_page|raw}</div></td>
  58. </tr>
  59. {/notempty}
  60. </tfoot>
  61. </table>
  62. <script type="text/javascript">
  63. $(function(){
  64. $('#query_start_date').datepicker({dateFormat: 'yy-mm-dd'});
  65. $('#query_end_date').datepicker({dateFormat: 'yy-mm-dd'});
  66. });
  67. </script>
  68. {/block}