prediction.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta charset="utf8">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>预测管理</title>
  7. <link href="/css/hj.ui.css" rel="stylesheet" type="text/css" />
  8. <link href="css/them.css" rel="stylesheet" type="text/css" />
  9. <script type="text/javascript" src="/js/jquery.js"></script>
  10. <script type="text/javascript" src="/js/util.js"></script>
  11. <script type="text/javascript" src="js/function.js"></script>
  12. <script type="text/javascript" src="js/prediction.js"></script>
  13. <script type="text/javascript" src="js/datetimepicker.js"></script>
  14. <script type="text/javascript">
  15. $(function(){
  16. $.resetText();
  17. $(".text").input();
  18. getList();
  19. $("#begin_time, #end_time").datetimepicker();
  20. });
  21. </script>
  22. </head>
  23. <body>
  24. <script type="text/javascript" src="js/top.js"></script>
  25. <div class="wrap">
  26. <script type="text/javascript" src="js/menu.js"></script>
  27. <div class="mainWrap">
  28. <script type="text/javascript" src="js/guid.js" data-info="预测管理"></script>
  29. <div class="mainContent">
  30. <form id="saerchFrm">
  31. 股票代码:<input type="text" class="text {text:'请输入股票代码'}" name="" size="20" />
  32. 发布人:<input type="text" class="text {text:'请输入发布人'}" name="" size="20" />
  33. 预测ID:<input type="text" class="text {text:'请输入预测ID'}" name="" size="20" />
  34. 发布时间:<input type="text" icon="date" class="text {text:'开始日期'}" name="begin_time" id="begin_time" size="12" /> - <input type="text" icon="date" class="text {text:'结束日期'}" name="end_time" id="end_time" size="12" />
  35. <input type="button" class="btn" value="搜索" onclick="getList(1);" />
  36. </form>
  37. <table cellpadding="0" cellspacing="0" border="0" class="table mTop10">
  38. <thead>
  39. <tr>
  40. <th>预测ID<br />发布人</th>
  41. <th>发布时间</th>
  42. <th>到期时间</th>
  43. <th>预测状态</th>
  44. <th>股票代码</th>
  45. <th>多/空</th>
  46. <th>预测投注额</th>
  47. <th>投票人数</th>
  48. <th>投票下注额</th>
  49. <th width="18%">操作</th>
  50. </tr>
  51. </thead>
  52. <tbody id="list"></tbody>
  53. </table>
  54. <script type="text/html" id="tempaltelist">
  55. {{#each this}}
  56. <tr>
  57. <td>{{id}}<br />{{name}}</td>
  58. <td>{{crtTime}}</td>
  59. <td>{{endDate}}</td>
  60. <td>{{js "this.status == 1 ? '预测成功':(this.status == 2 ? '预测失败' : (this.status == -1 ? '删除':'预测进行中'))"}}</td>
  61. <td>{{stockCode}}</td>
  62. <td>{{js "this.expect == 1 ? '空':'多'"}}</td>
  63. <td>{{bet}}</td>
  64. <td>{{vnum}}</td>
  65. <td>{{voteBet}}</td>
  66. <td><a href="javascript:void(0);" onclick="updateStatus(this, {{Id}});" data-status="{{on_frame}}" class="btn">{{js "this.onFrame == -1 ? '上架':(this.onFrame == 0 ? '下架':'')"}}</a> <a href="prediction_vote.html?id={{id}}" class="btn" target="_blank">投票列表</a> <a href="prediction_detail.html?id={{id}}" class="btn" target="_blank">详情</a></td>
  67. </tr>
  68. {{/each}}
  69. </script>
  70. <div class="mTop10" id="page"></div>
  71. </div>
  72. </div>
  73. </div>
  74. </body>
  75. </html>