coin.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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" style="height:70px;line-height:70px;">
  9. <div class="search-form fl cf">
  10. <div class="sleft">
  11. <span class="h1-title">币种管理</span>
  12. </div>
  13. </div>
  14. <div class="fr">
  15. <a class="btn btn-success" href="{:U('Config/coinEdit')}">新 增</a>
  16. <button class="btn ajax-post btn-info" url="{:U('Config/coinStatus',array('type'=>'resume'))}" target-form="ids">启 用</button>
  17. <button class="btn ajax-post btn-warning" url="{:U('Config/coinStatus',array('type'=>'forbid'))}" target-form="ids">禁 用</button>
  18. <button class="btn ajax-post confirm btn-danger" url="{:U('Config/coinStatus',array('type'=>'delt'))}" target-form="ids">删 除</button>
  19. </div>
  20. </div>
  21. <div class="data-table table-striped">
  22. <table class="">
  23. <thead>
  24. <tr>
  25. <th class="row-selected"><input class="check-all" type="checkbox"/></th>
  26. <th width="5%" class="">ID</th>
  27. <th class="">代码</th>
  28. <th class="">名称</th>
  29. <th class="">类型</th>
  30. <th class="">合约地址</th>
  31. <th class="">状态</th>
  32. <th class="">充币</th>
  33. <th class="">提币</th>
  34. <th class="">手续费类型</th>
  35. <th class="">币币手续费</th>
  36. <th class="">合约手续费</th>
  37. <th class="">操作</th>
  38. </tr>
  39. </thead>
  40. <tbody>
  41. <notempty name="list">
  42. <volist name="list" id="vo">
  43. <tr>
  44. <td><input class="ids" type="checkbox" name="id[]" value="{$vo.id}"/></td>
  45. <td>{$vo.id}</td>
  46. <td style="text-transform:uppercase">{$vo.name}</td>
  47. <td style="text-transform:uppercase">{$vo.title}</td>
  48. <td>
  49. <if condition="$vo.type eq 1">
  50. <span>钱包币</span>
  51. <elseif condition="$vo.type eq 2" />
  52. <span>平台币</span>
  53. <elseif condition="$vo.type eq 3" />
  54. <span>认购币</span>
  55. </if>
  56. </td>
  57. <td>{$vo.czaddress}</td>
  58. <td>
  59. <eq name="vo.status" value="1">
  60. <b style="color: #028E16;">可用</b>
  61. <else/>
  62. <b style="color: #F70408">禁用</b>
  63. </eq>
  64. </td>
  65. <td>
  66. <eq name="vo.czstatus" value="1">
  67. <b style="color: #028E16;">正常</b>
  68. <else/>
  69. <b style="color: #F70408">禁用</b>
  70. </eq>
  71. </td>
  72. <td>
  73. <eq name="vo.txstatus" value="1">
  74. <b style="color: #028E16;">正常</b>
  75. <else/>
  76. <b style="color: #F70408">禁用</b>
  77. </eq>
  78. </td>
  79. <td>
  80. <?php if($vo['sxftype'] == 1){ ?>
  81. <span>按比例:<?php echo $vo['txsxf']."%";?></span>
  82. <?php }elseif($vo['sxftype'] == 2){?>
  83. <span>按数量:<?php echo $vo['txsxf_n'];?></span>
  84. <?php }?>
  85. </td>
  86. <td><span><?php echo $vo['bbsxf']."%";?></span></td>
  87. <td><span><?php echo $vo['hysxf']."%";?></span></td>
  88. <td>
  89. <neq name="vo.name" value="cny">
  90. <a href="{:U('Config/coinEdit?id='.$vo['id'])}" class="btn btn-primary btn-xs">编辑</a>
  91. </neq>
  92. </td>
  93. </tr>
  94. </volist>
  95. <else/>
  96. <td colspan="12" class="text-center empty-info">Oh! 暂时还没有内容!</td>
  97. </notempty>
  98. </tbody>
  99. </table>
  100. <div class="page">
  101. <div>{$page}</div>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. <include file="Public:footer"/>
  107. <block name="script">
  108. <script type="text/javascript" charset="utf-8">
  109. //导航高亮
  110. highlight_subnav("{:U('Config/coin')}");
  111. </script>
  112. </block>