recollect.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0,user-scalable=no">
  6. <meta name="format-detection" content="telephone=no">
  7. <meta name="apple-mobile-web-app-capable" content="yes">
  8. <meta charset="UTF-8">
  9. <title>赏金统计</title>
  10. <style type="text/css">
  11. .table_list_box{
  12. overflow: hidden;
  13. margin: 16px;
  14. }
  15. .table_list_box table{
  16. margin: 0;
  17. padding: 0;
  18. width: 100%;
  19. text-align: center;
  20. background-color: #cdcdcd;
  21. }
  22. .table_list_box table th{
  23. margin: 0;
  24. padding: 0;
  25. height: 40px;
  26. font-size: 16px;
  27. color: #333;
  28. line-height: 40px;
  29. background-color: #efefef;
  30. border: 1px solid #ccc;
  31. text-align: center;
  32. }
  33. .table_list_box table td{
  34. margin: 0;
  35. padding: 0;
  36. height: 40px;
  37. font-size: 16px;
  38. color: #333;
  39. line-height: 40px;
  40. background-color: #fff;
  41. border: 1px solid #ccc;
  42. }
  43. .table_tit{
  44. margin: 16px 6px;
  45. overflow: hidden;
  46. background-color: #e5e5e5;
  47. }
  48. .table_tit div{
  49. float: left;
  50. width: 50%;
  51. padding: 30px 20px;
  52. background-color: #fff;
  53. border-left: 10px #fff solid;
  54. border-right: 10px #f1f4f6 solid;
  55. box-sizing: border-box;
  56. }
  57. .table_tit div strong{
  58. display: block;
  59. padding: 0;
  60. margin: 10px 0 0;
  61. font-size: 14px;
  62. color: #333;
  63. font-weight: normal;
  64. line-height: 24px;
  65. }
  66. .table_tit div span{
  67. display: block;
  68. padding: 0;
  69. margin: 6px 0 10px;
  70. font-size: 24px;
  71. color: #333;
  72. font-weight: normal;
  73. line-height: 30px;
  74. }
  75. .table_head_box{
  76. overflow: hidden;
  77. margin: 20px 16px;
  78. }
  79. .table_head_box strong{
  80. float: left;
  81. padding: 6px 10px 6px 0;
  82. font-size: 18px;
  83. color: #333;
  84. font-weight: normal;
  85. line-height: 24px;
  86. }
  87. .table_head_box a{
  88. float: right;
  89. padding: 0 60px;
  90. height: 36px;
  91. background-color: #d7d7d7;
  92. font-size: 16px;
  93. color: #333;
  94. text-decoration: none;
  95. line-height: 36px;
  96. }
  97. </style>
  98. </head>
  99. <body>
  100. {if condition="$type neq 1"}
  101. <div class="table_head_box">
  102. <strong>代理商:{$nickname}&nbsp;的赏金统计</strong>
  103. <a href="javascript:history.back(-1)">返回</a>
  104. </div>
  105. {/if}
  106. <div class="table_tit">
  107. <div>
  108. <strong>今日赏金金额</strong>
  109. <span>¥{empty name="$resToday.reward"}0.00{else}{$resToday.reward}{/empty}</span>
  110. </div>
  111. <div>
  112. <strong>累计赏金金额</strong>
  113. <span>¥{empty name="$resAll.reward"}0.00{else /}{$resAll.reward}{/empty}</span>
  114. </div>
  115. </div>
  116. <div class="table_list_box">
  117. {empty name="$res"}
  118. <table border="0" cellpadding="0" cellspacing="1">
  119. <tr>
  120. <td>暂无赏金记录</td>
  121. </tr>
  122. </table>
  123. {else /}
  124. <table border="0" cellpadding="0" cellspacing="1">
  125. <tr>
  126. <th>日期</th>
  127. <th>赏金</th>
  128. </tr>
  129. {volist name="$res" id="vo"}
  130. <tr>
  131. <td>{$vo.createtime|date="Y-m-d",###}</td>
  132. <td>{$vo.reward}</td>
  133. </tr>
  134. {/volist}
  135. </table>
  136. {$res->render()}
  137. {/empty}
  138. </div>
  139. </body>
  140. </html>