orderinfo.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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.coinname}</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.hyzd eq 1">
  32. <span style="color:#0ecb81;">买涨</span>
  33. <elseif condition="$info.hyzd 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.num}USDT</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. <if condition="$info.status eq 1">
  48. <span style="color:#707A8A;">待结算</span>
  49. <elseif condition="$info.status eq 2" />
  50. <span style="color:#0ecb81;">已完成</span>
  51. <elseif condition="$info.status eq 3" />
  52. <span style="color:#f5465c;">无效</span>
  53. </if>
  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.buyprice}</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.buytime}</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. <if condition="$info.is_win eq 0">
  72. <span style="color:#707A8A;">{$info.sellprice}</span>
  73. <elseif condition="$info.is_win eq 1" />
  74. <span style="color:#0ecb81;">{$info.sellprice}</span>
  75. <elseif condition="$info.is_win eq 2" />
  76. <span style="color:#f5465c;">{$info.sellprice}</span>
  77. </if>
  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.selltime}</span>
  84. </td>
  85. </tr>
  86. <tr class="controls" style="height: 40px;line-height:40px;">
  87. <td class="item-label" style="width:100px;">盈亏额度 :</td>
  88. <td style="width:200px;">
  89. <if condition="$info.is_win eq 0">
  90. <span style="color:#707A8A;">{$info.ploss}</span>
  91. <elseif condition="$info.is_win eq 1" />
  92. <span style="color:#0ecb81;">+{$info.ploss}</span>
  93. <elseif condition="$info.is_win eq 2" />
  94. <span style="color:#f5465c;">-{$info.ploss}</span>
  95. </if>
  96. </td>
  97. </tr>
  98. <tr class="controls">
  99. <td class="item-label"></td>
  100. <td>
  101. <div class="form-item cf">
  102. <a class="btn btn-return" href="{$Think.server.HTTP_REFERER}">返 回</a>
  103. </div>
  104. </td>
  105. </tr>
  106. </table>
  107. </div>
  108. </div>
  109. <script type="text/javascript">
  110. //提交表单
  111. $('#submit').click(function(){
  112. $('#form').submit();
  113. });
  114. </script>
  115. </div>
  116. </div>
  117. </div>
  118. </div>
  119. <include file="Public:footer" />
  120. <block name="script">
  121. <script type="text/javascript" charset="utf-8">
  122. //导航高亮
  123. highlight_subnav("{:U('Trade/index')}");
  124. </script>
  125. </block>