index.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. page {
  2. height: 100vh;
  3. overflow: hidden;
  4. }
  5. .nav {
  6. display: flex;
  7. justify-content: space-between;
  8. height: 90rpx;
  9. background-color: #fff;
  10. .item {
  11. display: flex;
  12. align-items: center;
  13. line-height: 90rpx;
  14. font-size: 28rpx;
  15. color: #414141;
  16. padding: 0 30rpx;
  17. text {
  18. font-size: 26rpx;
  19. margin-right: 8rpx;
  20. }
  21. }
  22. }
  23. .showdata {
  24. display: flex;
  25. background-color: #fff;
  26. border-radius: 18rpx;
  27. flex-wrap: wrap;
  28. margin-top: 20rpx;
  29. overflow: hidden;
  30. .item:first-child {
  31. width: 100%;
  32. padding-top: 20rpx;
  33. .name {
  34. font-size: 28rpx;
  35. }
  36. .value {
  37. font-size: 46rpx;
  38. font-weight: bold;
  39. }
  40. }
  41. .item {
  42. width: 250rpx;
  43. text-align: center;
  44. .name {
  45. font-size: 26rpx;
  46. }
  47. .value {
  48. font-size: 38rpx;
  49. font-weight: bold;
  50. margin-top: 10rpx;
  51. padding: 0 10rpx 20rpx;
  52. }
  53. }
  54. }
  55. .table {
  56. padding-top: 10rpx;
  57. background-color: #fff;
  58. margin-top: 8rpx;
  59. text-align: center;
  60. .table-head {
  61. position: sticky;
  62. top: 0px;
  63. display: flex;
  64. color: rgb(129, 129, 129);
  65. line-height: 80rpx;
  66. font-size: 26rpx;
  67. z-index: 9;
  68. view {
  69. flex-shrink: 0;
  70. background-color: #F2F2F2;
  71. }
  72. }
  73. .line {
  74. font-size: 26rpx;
  75. color: rgb(129, 129, 129);
  76. line-height: 60rpx;
  77. display: flex;
  78. .line-1 {
  79. flex-shrink: 0;
  80. padding: 0 10rpx;
  81. box-sizing: border-box;
  82. background-color: #fff;
  83. }
  84. }
  85. .line view:first-child {
  86. color: #13C0C0;
  87. text-decoration: underline;
  88. }
  89. .table-head view:first-child,
  90. .line view:first-child {
  91. position: sticky;
  92. left: 0;
  93. z-index: 7;
  94. }
  95. }