index.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. .table {
  2. width: 100vw;
  3. background-color: #ffffff;
  4. box-sizing: border-box;
  5. margin-top: 30rpx;
  6. .label {
  7. display: flex;
  8. align-items: center;
  9. height: 80rpx;
  10. padding: 0 20rpx;
  11. font-weight: bold;
  12. font-size: 26rpx;
  13. color: #666;
  14. .text {
  15. display: inline-block;
  16. width: 14rpx;
  17. height: 26rpx;
  18. background: #31A7FF;
  19. margin-right: 14rpx;
  20. }
  21. }
  22. .scroll {
  23. width: 100vw;
  24. .row,
  25. .row-label {
  26. display: flex;
  27. align-items: center;
  28. font-weight: bold;
  29. padding-left: 30rpx;
  30. width: 100%;
  31. background-color: #F2F2F2;
  32. .line-1 {
  33. height: 70rpx;
  34. line-height: 70rpx;
  35. background-color: #F2F2F2;
  36. width: 240rpx;
  37. flex-shrink: 0;
  38. }
  39. //排行的样式
  40. .line-1:first-child {
  41. width: 100rpx !important;
  42. position: relative;
  43. .tag {
  44. position: absolute;
  45. top: 12rpx;
  46. left: 4rpx;
  47. width: 45rpx;
  48. height: 45rpx;
  49. text-align: center;
  50. color: #fff;
  51. font-weight: bold;
  52. line-height: 45rpx;
  53. border-radius: 6rpx;
  54. }
  55. }
  56. }
  57. .row:nth-child(odd) {
  58. background-color: #fff;
  59. view {
  60. background-color: #fff;
  61. }
  62. }
  63. .row-label {
  64. font-weight: normal;
  65. }
  66. }
  67. }