ccinfo.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <include file="Public:header" />
  2. <div id="main-content">
  3. <div id="top-alert" class="fixed alert alert-error" style="display: none;">
  4. <button class="close fixed" style="margin-top: 4px;">&times;</button>
  5. <div class="alert-content">警告内容</div>
  6. </div>
  7. <div id="main" class="main">
  8. <div class="main-title-h">
  9. <span class="h1-title">永续合约持仓详情</span>
  10. </div>
  11. <div class="tab-wrap">
  12. <div class="tab-content">
  13. <div id="tab" class="tab-pane in tab">
  14. <div class="form-item cf">
  15. <table>
  16. <tr class="controls" style="height: 40px;line-height:40px;">
  17. <td class="item-label" style="width:100px;">会员账号 :</td>
  18. <td style="width:200px;">
  19. <span>{$info.username}</span>
  20. </td>
  21. </tr>
  22. <tr class="controls" style="height: 40px;line-height:40px;">
  23. <td class="item-label" style="width:100px;">合约交易对 :</td>
  24. <td style="width:200px;">
  25. <span>{$info.symbol}</span>
  26. </td>
  27. </tr>
  28. <tr class="controls" style="height: 40px;line-height:40px;">
  29. <td class="item-label" style="width:100px;">合约交易方向 :</td>
  30. <td style="width:200px;">
  31. <if condition="$info.direction eq 1">
  32. <span style="color:#0ecb81;">做多</span>
  33. <elseif condition="$info.direction eq 2" />
  34. <span style="color:#f5465c;">做空</span>
  35. </if>
  36. </td>
  37. </tr>
  38. <tr class="controls" style="height: 40px;line-height:40px;">
  39. <td class="item-label" style="width:100px;">委托单价 :</td>
  40. <td style="width:200px;">
  41. <span>{$info.wt_price}</span>
  42. </td>
  43. </tr>
  44. <tr class="controls" style="height: 40px;line-height:40px;">
  45. <td class="item-label" style="width:100px;">开仓单价 :</td>
  46. <td style="width:200px;">
  47. <span>{$info.price}</span>
  48. </td>
  49. </tr>
  50. <tr class="controls" style="height: 40px;line-height:40px;">
  51. <td class="item-label" style="width:100px;">止盈止损单价 :</td>
  52. <td style="width:200px;">
  53. <span>{$info.zyprice}/{$info.zsprice}</span>
  54. </td>
  55. </tr>
  56. <tr class="controls" style="height: 40px;line-height:40px;">
  57. <td class="item-label" style="width:100px;">合约手数 :</td>
  58. <td style="width:200px;">
  59. <span>{$info.num}</span>
  60. </td>
  61. </tr>
  62. <tr class="controls" style="height: 40px;line-height:40px;">
  63. <td class="item-label" style="width:100px;">杠杆倍数 :</td>
  64. <td style="width:200px;">
  65. <span>{$info.ggan}</span>
  66. </td>
  67. </tr>
  68. <tr class="controls" style="height: 40px;line-height:40px;">
  69. <td class="item-label" style="width:100px;">手续费 :</td>
  70. <td style="width:200px;">
  71. <span>{$info.fee}</span>
  72. </td>
  73. </tr>
  74. <tr class="controls" style="height: 40px;line-height:40px;">
  75. <td class="item-label" style="width:100px;">委托时间 :</td>
  76. <td style="width:200px;">
  77. <span>{$info.wttime}</span>
  78. </td>
  79. </tr>
  80. <tr class="controls" style="height: 40px;line-height:40px;">
  81. <td class="item-label" style="width:100px;">开仓时间 :</td>
  82. <td style="width:200px;">
  83. <span>{$info.addtime}</span>
  84. </td>
  85. </tr>
  86. <tr class="controls">
  87. <td class="item-label"></td>
  88. <td>
  89. <div class="form-item cf">
  90. <a class="btn btn-return" href="{$Think.server.HTTP_REFERER}">返 回</a>
  91. </div>
  92. </td>
  93. </tr>
  94. </table>
  95. </div>
  96. </div>
  97. <script type="text/javascript">
  98. //提交表单
  99. $('#submit').click(function(){
  100. $('#form').submit();
  101. });
  102. </script>
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. <include file="Public:footer" />
  108. <block name="script">
  109. <script type="text/javascript" charset="utf-8">
  110. //导航高亮
  111. highlight_subnav("{:U('Levertade/ccinfo')}");
  112. </script>
  113. </block>