home.less 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /* pages/home/home.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: 5px;
  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. .view_top_content {
  29. display: flex;
  30. flex-direction: row;
  31. justify-content: space-between;
  32. align-items: center;
  33. .msg_date {
  34. font-size: 22rpx;
  35. color: #999999;
  36. text-align: left;
  37. width: 120px;
  38. }
  39. .msg_title {
  40. font-size: 28rpx;
  41. color: #333333;
  42. text-align: left;
  43. }
  44. }
  45. .certsearch, .calculator {
  46. width: 23px;
  47. text-align: center;
  48. display: flex;
  49. align-items: center;
  50. font-size: 12px;
  51. margin: 3px;
  52. color: #fff;
  53. border-radius: 5px;
  54. position: fixed;
  55. z-index: 1;
  56. box-shadow: 3px 3px 3px #aaa;
  57. bottom: 12%;
  58. height: 90px;
  59. }
  60. .certsearch {
  61. right: 5px;
  62. background-color: lightcoral;
  63. bottom: 25%;
  64. }
  65. .calculator {
  66. right: 5px;
  67. background-color: hotpink;
  68. }