index.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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. .banner {
  19. position: relative;
  20. width: 750rpx;
  21. height: 170rpx;
  22. background-color: var(--bgColor);
  23. padding-top: 24rpx;
  24. // margin-bottom: 126rpx;
  25. /* 椭圆底部 */
  26. &_oval {
  27. position: absolute;
  28. height: 50px;
  29. width: 100%;
  30. top: 160rpx;
  31. background-color: var(--bgColor);
  32. border-radius: 0 0 100% 50% / 100%;
  33. }
  34. /* 主内容 */
  35. &_content {
  36. position: absolute;
  37. height: 300rpx;
  38. left: 30rpx;
  39. box-shadow: inset 0px 2rpx 0px 2rpx rgba(255, 255, 255, 0.16);
  40. margin: 0 !important;
  41. }
  42. }
  43. /* 滚动播放 */
  44. .scroll-area {
  45. width: 690rpx;
  46. height: 40rpx;
  47. margin: 20rpx auto 0;
  48. .notice-bar {
  49. flex: 1;
  50. height: 40rpx;
  51. line-height: 50rpx;
  52. padding: 0 !important;
  53. margin: 0 !important;
  54. font-size: 28rpx;
  55. font-family: PingFang SC-Regular, PingFang SC;
  56. color: #666666;
  57. .iconfont {
  58. color: #FA8C16;
  59. margin-right: 20rpx;
  60. }
  61. }
  62. }
  63. /* 宫格区域 */
  64. .grld {
  65. display: flex;
  66. flex-wrap: wrap;
  67. .item {
  68. width: 172rpx;
  69. height: 170rpx;
  70. box-sizing: border-box;
  71. display: flex;
  72. flex-direction: column;
  73. align-items: center;
  74. .iconfont {
  75. height: 64rpx;
  76. line-height: 64rpx;
  77. font-size: 64rpx;
  78. color: var(--assist);
  79. margin-top: 30rpx;
  80. }
  81. text {
  82. font-size: 28rpx;
  83. font-family: PingFangSC-Regular-, PingFangSC-Regular;
  84. color: #333333;
  85. margin-top: 16rpx;
  86. }
  87. }
  88. }
  89. /* 概况 */
  90. .general-situation {
  91. display: flex;
  92. align-items: center;
  93. justify-content: space-between;
  94. width: 671.5rpx;
  95. height: 40rpx;
  96. margin: 32rpx auto 0;
  97. .title {
  98. font-size: 30rpx;
  99. font-family: PingFang SC-Bold, PingFang SC;
  100. font-weight: bold;
  101. color: #333333;
  102. text {
  103. color: #FA8C16;
  104. }
  105. }
  106. .time {
  107. font-size: 24rpx;
  108. font-family: PingFang SC-Regular, PingFang SC;
  109. color: #999999;
  110. }
  111. }
  112. /* 概况数据展示 */
  113. .data-display {
  114. display: flex;
  115. flex-wrap: wrap;
  116. justify-content: space-around;
  117. height: 290rpx;
  118. .item {
  119. width: 33.33%;
  120. height: 100rpx;
  121. margin-top: 30rpx;
  122. text-align: center;
  123. .label {
  124. height: 34rpx;
  125. line-height: 34rpx;
  126. font-size: 24rpx;
  127. font-family: PingFang SC-Regular, PingFang SC;
  128. color: #999999;
  129. }
  130. .nubmer {
  131. height: 50rpx;
  132. line-height: 50rpx;
  133. font-size: 36rpx;
  134. font-family: PingFang SC-Bold, PingFang SC;
  135. font-weight: bold;
  136. color: #333333;
  137. margin-top: 14rpx;
  138. }
  139. }
  140. }
  141. /* 通告 */
  142. .annunciate {
  143. .unread {
  144. display: flex;
  145. align-items: center;
  146. height: 34rpx;
  147. font-size: 24rpx;
  148. font-family: PingFang SC-Regular, PingFang SC;
  149. color: #666666;
  150. .circle {
  151. width: 16rpx;
  152. height: 16rpx;
  153. background: #FF3B30;
  154. border-radius: 50%;
  155. margin: 4rpx 10rpx 0;
  156. }
  157. .icon {
  158. margin-top: 3rpx;
  159. }
  160. }
  161. .item-box{
  162. padding: 20rpx 0;
  163. }
  164. }