index.scss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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. position: relative;
  83. width: 172rpx;
  84. height: 170rpx;
  85. box-sizing: border-box;
  86. display: flex;
  87. flex-direction: column;
  88. align-items: center;
  89. .badge {
  90. position: absolute;
  91. height: 32rpx;
  92. line-height: 30rpx;
  93. padding: 0 12rpx;
  94. border-radius: 16rpx;
  95. background-color: red;
  96. font-size: 20rpx;
  97. font-family: PingFang SC-Regular, PingFang SC;
  98. color: #FFFFFF;
  99. top: 10rpx;
  100. right: 20rpx;
  101. }
  102. .iconfont {
  103. height: 64rpx;
  104. line-height: 64rpx;
  105. font-size: 64rpx;
  106. color: var(--assist);
  107. margin-top: 30rpx;
  108. }
  109. text {
  110. font-size: 28rpx;
  111. font-family: PingFangSC-Regular-, PingFangSC-Regular;
  112. color: #333333;
  113. margin-top: 16rpx;
  114. }
  115. }
  116. }
  117. /* 概况 */
  118. .general-situation {
  119. display: flex;
  120. align-items: center;
  121. justify-content: space-between;
  122. width: 671.5rpx;
  123. height: 40rpx;
  124. margin: 32rpx auto 0;
  125. .title {
  126. font-size: 30rpx;
  127. font-family: PingFang SC-Bold, PingFang SC;
  128. font-weight: bold;
  129. color: #333333;
  130. text {
  131. color: #FA8C16;
  132. }
  133. }
  134. .time {
  135. font-size: 24rpx;
  136. font-family: PingFang SC-Regular, PingFang SC;
  137. color: #999999;
  138. }
  139. }
  140. /* 概况数据展示 */
  141. .data-display {
  142. display: flex;
  143. flex-wrap: wrap;
  144. justify-content: space-around;
  145. height: 290rpx;
  146. .item {
  147. width: 33.33%;
  148. height: 100rpx;
  149. margin-top: 30rpx;
  150. text-align: center;
  151. .label {
  152. height: 34rpx;
  153. line-height: 34rpx;
  154. font-size: 24rpx;
  155. font-family: PingFang SC-Regular, PingFang SC;
  156. color: #999999;
  157. }
  158. .nubmer {
  159. height: 50rpx;
  160. line-height: 50rpx;
  161. font-size: 36rpx;
  162. font-family: PingFang SC-Bold, PingFang SC;
  163. font-weight: bold;
  164. color: #333333;
  165. margin-top: 14rpx;
  166. }
  167. }
  168. }
  169. /* 通告 */
  170. .annunciate {
  171. .unread {
  172. display: flex;
  173. align-items: center;
  174. height: 34rpx;
  175. font-size: 24rpx;
  176. font-family: PingFang SC-Regular, PingFang SC;
  177. color: #666666;
  178. .circle {
  179. width: 16rpx;
  180. height: 16rpx;
  181. background: #FF3B30;
  182. border-radius: 50%;
  183. margin: 4rpx 10rpx 0;
  184. }
  185. .icon {
  186. margin-top: 3rpx;
  187. }
  188. }
  189. .item-box {
  190. padding: 20rpx 0;
  191. }
  192. }