index.scss 4.0 KB

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