index.module.less 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. body {
  2. -ms-overflow-style: none;
  3. scrollbar-width: none;
  4. &::-webkit-scrollbar {
  5. display: none;
  6. }
  7. }
  8. .reportDetail {
  9. width: 100%;
  10. min-height: 100vh;
  11. --header-height: 62px;
  12. }
  13. .reportHead {
  14. position: fixed;
  15. left: 0;
  16. top: 0;
  17. z-index: 99;
  18. width: 100%;
  19. display: flex;
  20. align-items: center;
  21. background: #fff;
  22. padding: 0 22px;
  23. height: var(--header-height);
  24. .backIcon {
  25. width: 32px;
  26. height: 32px;
  27. }
  28. .content {
  29. flex: 1;
  30. margin: 0 12px;
  31. .title {
  32. display: flex;
  33. align-items: center;
  34. .titleName {
  35. font-size: 16px;
  36. color: #131415;
  37. font-weight: 600;
  38. margin-right: 6px;
  39. }
  40. .titleLevel {
  41. border: 1px solid #01C1B5;
  42. border-radius: 2px;
  43. padding: 0 3px;
  44. line-height: 16px;
  45. font-size: 12px;
  46. color: #01C1B5;
  47. font-weight: normal;
  48. transform: scale(0.9);
  49. }
  50. }
  51. .score {
  52. margin-top: 4px;
  53. display: flex;
  54. align-items: center;
  55. span {
  56. font-size: 12px;
  57. color: #777777;
  58. }
  59. .total {
  60. font-weight: 500;
  61. color: #FF2F0E;
  62. }
  63. }
  64. }
  65. .right {
  66. display: flex;
  67. align-items: center;
  68. .fItem {
  69. color: #1A1A1A;
  70. font-size: 13px;
  71. display: flex;
  72. align-items: center;
  73. i {
  74. width: 16px;
  75. height: 16px;
  76. border-radius: 4px;
  77. border: 1px solid #88974C;
  78. background: rgba(253, 255, 171, 0.41);
  79. margin-right: 6px;
  80. }
  81. }
  82. .sItem {
  83. display: flex;
  84. align-items: center;
  85. color: #1A1A1A;
  86. font-size: 13px;
  87. margin-left: 20px;
  88. i {
  89. width: 16px;
  90. height: 16px;
  91. border-radius: 4px;
  92. background: rgba(16, 216, 203, 0.6);
  93. margin-right: 6px;
  94. }
  95. }
  96. .videoIcon {
  97. width: 71px;
  98. height: 28px;
  99. margin-left: 20px;
  100. cursor: pointer;
  101. }
  102. :global{
  103. .van-switch{
  104. margin-left: 6px;
  105. width: 25px;
  106. height: 13px;
  107. background-color: transparent!important;
  108. background-image: url("./image/guan.png");
  109. background-repeat: no-repeat;
  110. background-size: 100% 100%;
  111. border-radius: 0;
  112. &.van-switch--on{
  113. background-image: url("./image/kai.png");
  114. }
  115. .van-switch__node{
  116. display: none;
  117. }
  118. }
  119. }
  120. }
  121. }
  122. .scoreTable {
  123. padding-top: calc(var(--header-height) + 1px);
  124. background: #EFF7FF;
  125. .stContent {
  126. position: relative;
  127. &::before {
  128. content: "";
  129. position: absolute;
  130. left: 0;
  131. top: 0;
  132. width: 47px;
  133. height: 100%;
  134. background: linear-gradient( 90deg, #D4F5EE 0%, rgba(212,244,237,0) 100%);
  135. z-index: 0;
  136. }
  137. border: 1px solid rgba(120, 211, 205, 0.58);
  138. display: flex;
  139. flex-wrap: nowrap;
  140. overflow-x: scroll;
  141. -ms-overflow-style: none;
  142. scrollbar-width: none;
  143. &::-webkit-scrollbar {
  144. display: none;
  145. }
  146. :global {
  147. .note-line {
  148. position: absolute;
  149. width: 100%;
  150. height: 1px;
  151. background: rgba(120, 211, 205, 0.25);
  152. }
  153. .measure-list {
  154. display: flex;
  155. align-items: center;
  156. }
  157. .time-marker {
  158. position: absolute;
  159. top: 0;
  160. font-size: 12px;
  161. color: #666;
  162. }
  163. .note {
  164. position: absolute;
  165. height: 30PX;
  166. line-height: 30PX;
  167. padding-left: 2px;
  168. background: rgba(253, 255, 171, 0.41);
  169. border: 1px solid rgba(136, 151, 76, 1);
  170. color: #000;
  171. font-size: 12px;
  172. font-weight: normal;
  173. }
  174. }
  175. }
  176. .stMeasure {
  177. // width: 160px;
  178. height: 30PX;
  179. border-bottom: 1px solid rgba(120, 211, 205, 0.25);
  180. border-right: 1px solid rgba(120, 211, 205, 0.58);
  181. display: flex;
  182. align-items: center;
  183. padding: 0 5px;
  184. overflow: hidden;
  185. .mBeat {
  186. display: flex;
  187. flex-direction: column;
  188. align-items: center;
  189. background: #C9E4EB;
  190. width: 16px;
  191. transform: scale(0.72);
  192. font-size: 12px;
  193. margin-right: 2px;
  194. span {
  195. font-size: 12px;
  196. color: #007C74;
  197. &:first-child {
  198. border-bottom: 1px solid #007C74;
  199. }
  200. }
  201. }
  202. .mNumber {
  203. font-size: 12px;
  204. color: #007C74;
  205. }
  206. }
  207. .stBeat {
  208. display: flex;
  209. align-items: center;
  210. border-bottom: 1px solid rgba(120, 211, 205, 0.25);
  211. border-right: 1px solid rgba(120, 211, 205, 0.58);
  212. width: 160px;
  213. &:last-child {
  214. border-bottom: none;
  215. }
  216. li {
  217. position: relative;
  218. width: 40px;
  219. height: 15px;
  220. border-right: 1px dashed;
  221. /* 利用 repeating-linear-gradient 自定义 dash 长度 */
  222. border-image: repeating-linear-gradient(
  223. 180deg,
  224. rgba(120, 211, 205, 0.3) 0,
  225. rgba(120, 211, 205, 0.3) 4px,
  226. transparent 4px,
  227. transparent 6px
  228. ) 1;
  229. &:last-child {
  230. border-right: none;
  231. }
  232. }
  233. }
  234. }
  235. .reportContainer {
  236. width: 1000px;
  237. //height: 400px;
  238. overflow: auto;
  239. background: #EFF7FF;
  240. border: 1px solid #aaa;
  241. position: relative;
  242. margin: 20px auto;
  243. :global {
  244. .note-line {
  245. position: absolute;
  246. width: 100%;
  247. height: 1px;
  248. background: #ddd;
  249. }
  250. .time-marker {
  251. position: absolute;
  252. top: 0;
  253. font-size: 12px;
  254. color: #666;
  255. }
  256. .note {
  257. position: absolute;
  258. height: 20PX;
  259. background: #98c;
  260. color: white;
  261. text-align: center;
  262. line-height: 20PX;
  263. border-radius: 4px;
  264. padding: 2px;
  265. }
  266. }
  267. }
  268. .rcTable {
  269. position: relative;
  270. width: 2000px; /* 适应长时间序列 */
  271. }