index.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. <style type="text/css">
  2. .sm-st {
  3. background: #fff;
  4. padding: 20px;
  5. -webkit-border-radius: 3px;
  6. -moz-border-radius: 3px;
  7. border-radius: 3px;
  8. margin-bottom: 20px;
  9. }
  10. .sm-st-icon {
  11. width: 60px;
  12. height: 60px;
  13. display: inline-block;
  14. line-height: 60px;
  15. text-align: center;
  16. font-size: 30px;
  17. background: #eee;
  18. -webkit-border-radius: 5px;
  19. -moz-border-radius: 5px;
  20. border-radius: 5px;
  21. float: left;
  22. margin-right: 10px;
  23. color: #fff;
  24. }
  25. .sm-st-info {
  26. padding-top: 2px;
  27. }
  28. .sm-st-info span {
  29. display: block;
  30. font-size: 24px;
  31. font-weight: 600;
  32. }
  33. .orange {
  34. background: #fa8564 !important;
  35. }
  36. .tar {
  37. background: #45cf95 !important;
  38. }
  39. .sm-st .green {
  40. background: #86ba41 !important;
  41. }
  42. .pink {
  43. background: #AC75F0 !important;
  44. }
  45. .yellow-b {
  46. background: #fdd752 !important;
  47. }
  48. .stat-elem {
  49. background-color: #fff;
  50. padding: 18px;
  51. border-radius: 40px;
  52. }
  53. .stat-info {
  54. text-align: center;
  55. background-color: #fff;
  56. border-radius: 5px;
  57. margin-top: -5px;
  58. padding: 8px;
  59. -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
  60. box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
  61. font-style: italic;
  62. }
  63. .stat-icon {
  64. text-align: center;
  65. margin-bottom: 5px;
  66. }
  67. .st-red {
  68. background-color: #F05050;
  69. }
  70. .st-green {
  71. background-color: #27C24C;
  72. }
  73. .st-violet {
  74. background-color: #7266ba;
  75. }
  76. .st-blue {
  77. background-color: #23b7e5;
  78. }
  79. .stats .stat-icon {
  80. color: #28bb9c;
  81. display: inline-block;
  82. font-size: 26px;
  83. text-align: center;
  84. vertical-align: middle;
  85. width: 50px;
  86. float: left;
  87. }
  88. .stat {
  89. white-space: nowrap;
  90. overflow: hidden;
  91. text-overflow: ellipsis;
  92. display: inline-block;
  93. }
  94. .stat .value {
  95. font-size: 20px;
  96. line-height: 24px;
  97. overflow: hidden;
  98. text-overflow: ellipsis;
  99. font-weight: 500;
  100. }
  101. .stat .name {
  102. overflow: hidden;
  103. text-overflow: ellipsis;
  104. margin: 5px 0;
  105. }
  106. .stat.lg .value {
  107. font-size: 26px;
  108. line-height: 28px;
  109. }
  110. .stat-col {
  111. margin: 0 0 10px 0;
  112. }
  113. .stat.lg .name {
  114. font-size: 16px;
  115. }
  116. .stat-col .progress {
  117. height: 2px;
  118. }
  119. .stat-col .progress-bar {
  120. line-height: 2px;
  121. height: 2px;
  122. }
  123. .item {
  124. padding: 30px 0;
  125. }
  126. #statistics .panel {
  127. min-height: 150px;
  128. }
  129. #statistics .panel h5 {
  130. font-size: 14px;
  131. }
  132. </style>
  133. <div class="panel panel-default panel-intro">
  134. <div class="panel-heading">
  135. {:build_heading(null, false)}
  136. <ul class="nav nav-tabs">
  137. <li class="active">
  138. <a href="/backstage.php/dashboard/index?addtabs=1">待办事项</a>
  139. </li>
  140. {if in_array($admin_type, ["platform","agency"])}
  141. <li>
  142. <a href="/backstage.php/dashboard/wait?addtabs=1">汇总报表</a>
  143. </li>
  144. {/if}
  145. {if in_array($admin_type, ["platform","agency"])}
  146. <li>
  147. <a href="/backstage.php/dashboard/massager?addtabs=1">助教报表</a>
  148. </li>
  149. {/if}
  150. {if in_array($admin_type, ["platform","agency"])}
  151. <li>
  152. <a href="/backstage.php/dashboard/order?addtabs=1">订单报表</a>
  153. </li>
  154. {/if}
  155. {if in_array($admin_type, ["platform"])}
  156. <li>
  157. <a href="/backstage.php/dashboard/finance?addtabs=1">财务报表</a>
  158. </li>
  159. {/if}
  160. </ul>
  161. </div>
  162. <div class="panel-body">
  163. <div id="myTabContent" class="tab-content">
  164. <div class="tab-pane fade active in" id="one">
  165. <div class="row">
  166. <div class="card sameheight-item stats">
  167. <div class="card-block">
  168. <div class="row row-sm stats-container">
  169. {volist name="rows" id="row"}
  170. {if in_array($admin_type, $row.available)}
  171. <div class="col-xs-3 stat-col">
  172. <div class="stat-icon"><i class="fa fa-calendar"></i></div>
  173. <div class="stat">
  174. <div class="value"> {$row.title}</div>
  175. <div class="name">
  176. <a href="{$row.url}" target="_blank">{$row.num}</a>
  177. </div>
  178. </div>
  179. <div class="progress">
  180. <div class="progress-bar progress-bar-success" style="width: 20%"></div>
  181. </div>
  182. </div>
  183. {/if}
  184. {/volist}
  185. </div>
  186. </div>
  187. </div>
  188. </div>
  189. </div>
  190. </div>
  191. </div>
  192. </div>