index.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /* 顶部 */
  2. .header {
  3. display: flex;
  4. align-items: center;
  5. width: 750rpx;
  6. height: 88rpx;
  7. background-color: var(--bgColor);
  8. &_title {
  9. height: 50rpx;
  10. font-size: 36rpx;
  11. font-family: PingFang SC-Bold, PingFang SC;
  12. font-weight: bold;
  13. color: #FFFFFF;
  14. margin: 0 8rpx 0 24rpx;
  15. }
  16. }
  17. /* 滚动播放 */
  18. .notice-bar {
  19. font-size: 28rpx;
  20. font-family: PingFang SC-Regular, PingFang SC;
  21. .iconfont {
  22. color: #FA8C16;
  23. margin-right: 20rpx;
  24. }
  25. }
  26. /* 轮播图区域 */
  27. .banner {
  28. height: 240rpx !important;
  29. swiper-item {
  30. width: 100vw;
  31. height: 240rpx !important;
  32. image {
  33. width: 100vw;
  34. height: 240rpx;
  35. }
  36. }
  37. }
  38. /* 宫格 */
  39. .grld {
  40. width: 100vw;
  41. background-color: #fff;
  42. &-title {
  43. height: 36rpx;
  44. line-height: 36rpx;
  45. padding: 40rpx 30rpx 20rpx;
  46. .content {
  47. font-size: 30rpx;
  48. font-family: AppleSystemUIFont-Bold, AppleSystemUIFont;
  49. font-weight: bold;
  50. color: #333333;
  51. }
  52. .iconfont {
  53. font-size: 28rpx;
  54. margin-right: 15rpx;
  55. }
  56. }
  57. .main {
  58. display: flex;
  59. flex-wrap: wrap;
  60. .item {
  61. width: 25%;
  62. display: flex;
  63. flex-direction: column;
  64. align-items: center;
  65. padding: 20rpx 0;
  66. border-radius: 16rpx;
  67. .icon-box {
  68. width: 100rpx;
  69. height: 100rpx;
  70. text-align: center;
  71. line-height: 100rpx;
  72. border-radius: 16rpx;
  73. .iconfont{
  74. font-size: 38rpx;
  75. }
  76. }
  77. .name {
  78. width: 80%;
  79. text-align: center;
  80. height: 30rpx;
  81. font-size: 24rpx;
  82. font-family: AppleSystemUIFont-Regular, AppleSystemUIFont;
  83. color: #333333;
  84. margin-top: 12rpx;
  85. }
  86. }
  87. }
  88. }