detail.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. .tab{
  2. width:100%;
  3. height: 1.1rem;
  4. background:#fff;
  5. }
  6. .tab ul{
  7. }
  8. .tab ul li{
  9. float:left;
  10. width:50%;
  11. height:1rem;
  12. line-height:1rem;
  13. text-align:center;
  14. font-size:0.32rem;
  15. color:#969696;
  16. }
  17. .tab ul li .tab_line{
  18. display:none;
  19. width:15%;
  20. height:0.1rem;
  21. margin:0 auto;
  22. border-radius:2px;
  23. }
  24. .tab ul li.on{
  25. color:#323232;
  26. }
  27. .tab ul li.on .tab_line{
  28. display:block;
  29. }
  30. .profit_line{
  31. width:100%;
  32. height: 0.2rem;
  33. background:#f5f5f5;
  34. }
  35. .tab_b{
  36. position:absolute;
  37. top:2.1rem;
  38. left:0;
  39. width: 100%;
  40. height: calc(100% - 2.1rem);
  41. background:#fcfcfc;
  42. }
  43. .profit_ul_t{
  44. position:absolute;
  45. width:100%;
  46. height:0.8rem;
  47. top:0;
  48. left:0;
  49. margin-top:-0.8rem;
  50. background:#fff;
  51. border-bottom:1px solid #f5f5f5;
  52. -moz-box-sizing: border-box; /*Firefox3.5+*/
  53. -webkit-box-sizing: border-box; /*Safari3.2+*/
  54. -o-box-sizing: border-box; /*Opera9.6*/
  55. -ms-box-sizing: border-box; /*IE8*/
  56. box-sizing: border-box;
  57. }
  58. .profit_ul_t span{
  59. display:inline-block;
  60. float:left;
  61. width:25%;
  62. height:0.8rem;
  63. line-height:0.8rem;
  64. text-align:center;
  65. white-space: nowrap;
  66. overflow: hidden;
  67. text-overflow: ellipsis;
  68. font-size:0.3rem;
  69. -moz-box-sizing: border-box; /*Firefox3.5+*/
  70. -webkit-box-sizing: border-box; /*Safari3.2+*/
  71. -o-box-sizing: border-box; /*Opera9.6*/
  72. -ms-box-sizing: border-box; /*IE8*/
  73. box-sizing: border-box;
  74. border-left:1px solid #f5f5f5;
  75. }
  76. .profit_ul_t span:first-child{
  77. border:none;
  78. }
  79. .profit_ul_t span.name{
  80. width:30%;
  81. }
  82. .profit_ul_t span.coin{
  83. }
  84. .profit_ul_t span.nums{
  85. width:17%;
  86. }
  87. .profit_ul_t span.username{
  88. width:28%;
  89. }
  90. .profit_ul{
  91. position:absolute;
  92. width:100%;
  93. height:100%;
  94. top:0;
  95. left:0;
  96. overflow:auto;
  97. }
  98. .profit_ul ul li{
  99. height:0.8rem;
  100. line-height:0.8rem;
  101. border-bottom:1px solid #f5f5f5;
  102. }
  103. .profit_ul ul li span{
  104. display:inline-block;
  105. float:left;
  106. width:25%;
  107. height:0.8rem;
  108. line-height:0.8rem;
  109. text-align:center;
  110. white-space: nowrap;
  111. overflow: hidden;
  112. text-overflow: ellipsis;
  113. color:#969696;
  114. -moz-box-sizing: border-box; /*Firefox3.5+*/
  115. -webkit-box-sizing: border-box; /*Safari3.2+*/
  116. -o-box-sizing: border-box; /*Opera9.6*/
  117. -ms-box-sizing: border-box; /*IE8*/
  118. box-sizing: border-box;
  119. border-left:1px solid #f5f5f5;
  120. }
  121. .profit_ul ul li span:first-child{
  122. border:none;
  123. }
  124. .profit_ul ul li span.name{
  125. width:30%;
  126. }
  127. .profit_ul ul li span.coin{
  128. color:#ff5878;
  129. text-align:left;
  130. font-weight: bold;
  131. }
  132. .profit_ul ul li span.coin img{
  133. width: 0.32rem;
  134. vertical-align: sub;
  135. margin:0 0.1rem;
  136. }
  137. .profit_ul ul li span.nums{
  138. width:17%;
  139. color:#646464;
  140. }
  141. .profit_ul ul li span.username{
  142. width:28%;
  143. }