pai_record.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {// 引入标签库 }
  2. <tagLib name="html" />
  3. <include file="Public:header" />
  4. <load href='__TMPL__Common/js/paigoods.js' />
  5. <script type="text/javascript" src="__TMPL__Common/js/calendar/calendar.php?lang=zh-cn" ></script>
  6. <load href='__TMPL__Common/js/calendar/calendar.css' />
  7. <load href='__TMPL__Common/js/calendar/calendar.js' />
  8. <div class="main">
  9. <php>
  10. function get_istrue($pai_status,$pai_record){
  11. switch ($pai_status) {
  12. case '0':
  13. if($pai_record['pai_diamonds']==$pai_record['max']){
  14. return '领先';
  15. }
  16. return '落后';
  17. case '1':
  18. return '待付款';
  19. case '2':
  20. return '排队中';
  21. case '3':
  22. return '超时出局';
  23. case '4':
  24. return '竞拍完成';
  25. default:
  26. return '超时出局';
  27. }
  28. }
  29. </php>
  30. <div class="main_title">参拍记录 <a href="{:u("PaiGoods/index")}" class="back_list">{%BACK_LIST}</a></div>
  31. <html:list
  32. id="dataTable"
  33. style="dataTable"
  34. name="pai_record"
  35. checkbox="true"
  36. action="true"
  37. datasource="list"
  38. show="id:{%ID}|90px,podcast_name:主播名称,user_name:竞拍人,consignee:收货人姓名,consignee_mobile:收货人手机号,bz_diamonds:参与保证金,create_time:参与时间,pai_diamonds:最终出价,pai_number:出价次数,pai_status|get_istrue=$pai_record:出价状态"/>
  39. <div class="page">{$page}</div>
  40. </div>
  41. <include file="Public:footer" />
  42. <script>
  43. $(function(){
  44. $("input[type='checkbox']").each(function(){
  45. $(this).hide();
  46. })
  47. $('th:last').hide();
  48. });
  49. </script>