index.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. box-sizing: border-box;
  60. // text-align: center;
  61. .table-head {
  62. position: sticky;
  63. top: 0px;
  64. display: flex;
  65. color: rgb(129, 129, 129);
  66. line-height: 80rpx;
  67. font-size: 26rpx;
  68. z-index: 9;
  69. view {
  70. flex-shrink: 0;
  71. background-color: #F2F2F2;
  72. padding: 0 10rpx;
  73. box-sizing: border-box;
  74. }
  75. }
  76. .line {
  77. font-size: 26rpx;
  78. color: rgb(129, 129, 129);
  79. line-height: 60rpx;
  80. display: flex;
  81. .line-1 {
  82. flex-shrink: 0;
  83. padding: 0 10rpx;
  84. box-sizing: border-box;
  85. background-color: #fff;
  86. }
  87. }
  88. .line view:first-child {
  89. color: #13C0C0;
  90. text-decoration: underline;
  91. }
  92. .table-head view:first-child,
  93. .line view:first-child {
  94. position: sticky;
  95. left: 0;
  96. z-index: 7;
  97. }
  98. }