index.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /* pages/home/index.less */
  2. .banner {
  3. height: 210px;
  4. .swiper-item, image {
  5. width: 100%;
  6. }
  7. }
  8. .statistics {
  9. display: flex;
  10. flex-direction: row;
  11. justify-content: space-between;
  12. margin: 10px;
  13. background-color: #f0f0f0;
  14. padding: 15px;
  15. border-radius: 10px;
  16. box-shadow: 5px 5px 5px #aaa;
  17. .statistics-item {
  18. display: grid;
  19. justify-content: center;
  20. text-align: center;
  21. }
  22. text {
  23. margin-top: 5px;
  24. font-size: 26rpx;
  25. color: #fff;
  26. }
  27. }
  28. .gird-view {
  29. display: flex;
  30. flex-direction: row;
  31. align-items: center;
  32. align-content: center;
  33. justify-content: space-between;
  34. border-radius: 10px;
  35. background-color: #f0f0f0;
  36. padding: 10px 0px;
  37. &__item {
  38. display: flex;
  39. flex-direction: column;
  40. justify-content: center;
  41. align-items: center;
  42. align-content: center;
  43. width: 100%;
  44. &__icon {
  45. width: 60px;
  46. height: 60px;
  47. }
  48. &__title {
  49. color: #333;
  50. font-size: 24rpx;
  51. width: 100%;
  52. text-align: center;
  53. }
  54. }
  55. }
  56. .msg-view {
  57. width: 100%;
  58. display: flex;
  59. flex-direction: column;
  60. align-items: center;
  61. align-content: center;
  62. justify-content: center;
  63. &__top {
  64. display: flex;
  65. flex-direction: row;
  66. justify-content: space-between;
  67. width: 95%;
  68. align-items: center;
  69. align-content: center;
  70. van-tabs {
  71. width: 100px;
  72. }
  73. &__more {
  74. width: 20px;
  75. height: 20px;
  76. }
  77. }
  78. .view_top_content {
  79. display: flex;
  80. flex-direction: row;
  81. justify-content: space-between;
  82. align-items: center;
  83. .msg_date {
  84. font-size: 22rpx;
  85. color: #999999;
  86. text-align: left;
  87. width: 120px;
  88. }
  89. .msg_title {
  90. font-size: 28rpx;
  91. color: #333333;
  92. text-align: left;
  93. }
  94. }
  95. }
  96. .certsearch, .calculator {
  97. display: flex;
  98. align-items: center;
  99. margin: 3px;
  100. border-radius: 5px;
  101. position: fixed;
  102. z-index: 999;
  103. bottom: 10%;
  104. background-image: url('../../images/home-zscx.png');
  105. background-size: 100% 100%;
  106. height: 50px;
  107. width: 50px;
  108. }
  109. .certsearch {
  110. right: 5px;
  111. bottom: 18%;
  112. }
  113. .calculator {
  114. right: 5px;
  115. }