prediction_vote.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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">
  14. $(function(){
  15. getVote();
  16. });
  17. </script>
  18. </head>
  19. <body>
  20. <script type="text/javascript" src="js/top.js"></script>
  21. <div class="wrap">
  22. <script type="text/javascript" src="js/menu.js"></script>
  23. <div class="mainWrap">
  24. <script type="text/javascript" src="js/guid.js" data-info="预测管理|投票列表"></script>
  25. <div class="mainContent">
  26. <script type="text/html" id="tempalteVote">
  27. <ul class="ulFrmTwo">
  28. <li>
  29. <span class="label">预测ID:</span>
  30. <span class="middle">{{id}}</span>
  31. </li>
  32. <li>
  33. <span class="label">发布人:</span>
  34. <span class="middle">{{name}}</span>
  35. </li>
  36. <li>
  37. <span class="label">股票代码:</span>
  38. <span class="middle">{{stockCode}}</span>
  39. </li>
  40. <li>
  41. <span class="label">多/空:</span>
  42. <span class="middle">{{js "this.expect == 1 ? '看空':'看多'"}}</span>
  43. </li>
  44. <li>
  45. <span class="label">投票总人数:</span>
  46. <span class="middle">{{voteNum}}</span>
  47. </li>
  48. <li>
  49. <span class="label">投票下注额:</span>
  50. <span class="middle">{{voteBet}}</span>
  51. </li>
  52. </ul>
  53. <table cellpadding="0" cellspacing="0" border="0" class="table mTop10">
  54. <thead>
  55. <tr>
  56. <th>投票时间</th>
  57. <th>投票人</th>
  58. <th>赞成/反对</th>
  59. <th>投票下注额</th>
  60. <th>输/赢</th>
  61. <th>投票状态</th>
  62. </tr>
  63. </thead>
  64. <tbody>
  65. {{#each voteList}}
  66. <tr>
  67. <td>{{crtTime}}</td>
  68. <td>{{name}}</td>
  69. <td>{{js "this.vtype == 0 ? '赞成':'反对'"}}</td>
  70. <td>{{voteBet}}</td>
  71. <td>{{harvest}}</td>
  72. <td>{{js "this.status == 1 ? '投票成功':(this.status == 2 ? '投票失败':(this.status == 0 ? '正常':(this.status == -1 ? '删除':'')))"}}</td>
  73. </tr>
  74. {{/each}}
  75. </tbody>
  76. </table>
  77. </script>
  78. </div>
  79. </div>
  80. </div>
  81. </body>
  82. </html>