index.scss 4.1 KB

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