index.wxss 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. /**index.wxss**/
  2. /* pages/publics/publics.wxss */
  3. /* 头部 */
  4. .top {
  5. height: 409rpx;
  6. overflow: hidden;
  7. position: relative;
  8. }
  9. /* 浮动图标 */
  10. .top-logo {
  11. z-index: 99;
  12. position: absolute;
  13. left: 50%;
  14. transform: translate(-50%);
  15. width: 500rpx;
  16. height: 176rpx;
  17. }
  18. /* 第一个内容,浮动上移 */
  19. .content-search-tab {
  20. margin-left: 20rpx;
  21. top: -85rpx;
  22. position: absolute;
  23. border-radius: 10rpx;
  24. background-color: #ffffff;
  25. padding: 25rpx 30rpx;
  26. width: 651rpx;
  27. }
  28. /* 搜索整体 */
  29. .search-view {
  30. height: 60rpx;
  31. border-radius: 5rpx;
  32. background-color: #F5F5F5;
  33. display: flex;
  34. justify-content: left;
  35. align-items: center;
  36. }
  37. /* 搜索图标 */
  38. .search-icon {
  39. display: flex;
  40. justify-content: center;
  41. align-items: center;
  42. padding-left: 20rpx;
  43. padding-right: 20rpx;
  44. letter-spacing: 3rpx;
  45. }
  46. /* 搜索 */
  47. .search-input {
  48. height: 30rpx;
  49. font-size: 25rpx;
  50. letter-spacing: 3rpx;
  51. }
  52. /* 服务的内容整体 */
  53. .content-service {
  54. height: 170rpx;
  55. flex-wrap: wrap;
  56. display: flex;
  57. justify-content: space-between;
  58. align-items: center;
  59. }
  60. /* 服务的内容单个 */
  61. .content-service-item {
  62. font-size: 20rpx;
  63. display: flex;
  64. justify-content: center;
  65. align-items: center;
  66. flex-direction: column;
  67. height: 123rpx;
  68. width: 119rpx;
  69. }
  70. /* 百信聚焦 */
  71. .people-title {
  72. display: flex;
  73. flex-direction: row;
  74. justify-content: left;
  75. align-items: center;
  76. }
  77. /* 百姓聚焦字体 */
  78. .people-font1 {
  79. height: 59rpx;
  80. /* font-size: 36rpx; */
  81. font-size: 46rpx;
  82. font-family: DOUYU;
  83. font-weight: normal;
  84. color: #333333;
  85. padding-right: 18rpx;
  86. display: flex;
  87. flex-direction: row;
  88. align-items: center;
  89. }
  90. /* 每日更新字体 */
  91. .people-font2 {
  92. height: 59rpx;
  93. font-size: 18px;
  94. font-family: PingFang SC;
  95. font-weight: 500;
  96. color: #999999;
  97. display: flex;
  98. flex-direction: row;
  99. align-items: flex-end;
  100. }
  101. /* 百姓聚焦内容整体 */
  102. .people-content {
  103. height: 140rpx;
  104. flex-wrap: wrap;
  105. display: flex;
  106. justify-content: space-around;
  107. align-items: center;
  108. }
  109. /* 百姓聚焦内容单个 */
  110. .people-content-item {
  111. font-size: 24rpx;
  112. font-family: PingFang SC;
  113. font-weight: 500;
  114. color: #508FF4;
  115. height: 48rpx;
  116. background-color: #E5EFFF;
  117. padding: 0rpx 20rpx;
  118. display: flex;
  119. align-items: center;
  120. border-radius: 28rpx;
  121. }
  122. .people-content-item.top {
  123. font-size: 24rpx;
  124. font-family: PingFang SC;
  125. font-weight: 500;
  126. color: #000000;
  127. height: 48rpx;
  128. background-color: #EEEEEE;
  129. padding: 0rpx 20rpx;
  130. display: flex;
  131. align-items: center;
  132. border-radius: 28rpx;
  133. }
  134. /* 志愿服务,浮动上移 */
  135. .content-na-tab {
  136. margin-left: 20rpx;
  137. top: 0rpx;
  138. position: absolute;
  139. border-radius: 10rpx;
  140. background-color: #ffffff;
  141. padding: 25rpx 30rpx;
  142. width: 651rpx;
  143. }
  144. /* 志愿服务标题 */
  145. .na-title {
  146. height: 50rpx;
  147. display: flex;
  148. }
  149. .tab-item{
  150. flex: 1;
  151. font-size: 28rpx;
  152. text-align: center;
  153. line-height: 50rpx;
  154. height: 50rpx;
  155. width: 200rpx;
  156. display: flex;
  157. justify-content: center;
  158. flex-direction: row;
  159. }
  160. .tab-item.active{
  161. font-size: 32rpx;
  162. border-bottom: 7rpx solid #508FF4;
  163. }
  164. /* 南岸咨询内容 */
  165. .na-content {
  166. margin-top: 35rpx;
  167. height: 332rpx;
  168. }
  169. /* 咨询二级标题 */
  170. .na-title-tab {
  171. flex-wrap: wrap;
  172. display: flex;
  173. justify-content: space-around;
  174. align-items: center;
  175. }
  176. .na-title-tab-item {
  177. font-size: 25rpx;
  178. font-family: PingFang SC;
  179. font-weight: 500;
  180. color: #000000;
  181. height: 48rpx;
  182. background-color: #FFFFFF;
  183. padding: 2rpx 17rpx;
  184. display: flex;
  185. align-items: center;
  186. border-radius: 30rpx;
  187. border: 2rpx solid #DDDDDD;
  188. }
  189. .na-title-tab-item.active {
  190. font-size: 25rpx;
  191. font-family: PingFang SC;
  192. font-weight: 500;
  193. color: #FFFFFF;
  194. height: 48rpx;
  195. background-color: #508FF4;
  196. padding: 2rpx 17rpx;
  197. display: flex;
  198. align-items: center;
  199. border-radius: 30rpx;
  200. border-bottom: 2rpx solid #DDDDDD;
  201. }
  202. /* 咨询内容 */
  203. .na-content-list {
  204. margin-top: 30rpx;
  205. }
  206. .na-content-list-item {
  207. overflow: hidden;
  208. white-space: nowrap;
  209. text-overflow: ellipsis;
  210. height: 45rpx;
  211. font-size: 26rpx;
  212. font-family: PingFang SC;
  213. font-weight: 500;
  214. color: #333333;
  215. line-height: 30rpx;
  216. }
  217. /* 咨询更多 */
  218. .na-more {
  219. display: flex;
  220. justify-content: center;
  221. align-items: center;
  222. color: #999999;
  223. font-size: 22rpx;
  224. }
  225. /* 数据中心 */
  226. .data-center-contain {
  227. margin-left: 20rpx;
  228. border-radius: 10rpx;
  229. background-color: #ffffff;
  230. padding: 25rpx 30rpx;
  231. width: 651rpx;
  232. height: 100%;
  233. }
  234. /* 数据中心title */
  235. .data-center-title {
  236. display: flex;
  237. justify-content: left;
  238. align-items: center;
  239. }
  240. .data-center-title-font {
  241. margin-left: 5rpx;
  242. height: 50rpx;
  243. font-size: 40rpx;
  244. display: flex;
  245. align-items: center;
  246. justify-content: center;
  247. }
  248. /* 数据中心分析入口整体 */
  249. .center-analysis-enter {
  250. display: flex;
  251. align-items: top;
  252. }
  253. /* 数据中心分析入口字体 */
  254. .center-analysis-enter-font {
  255. height: 50rpx;
  256. padding-left: 30rpx;
  257. font-size: 32rpx;
  258. }
  259. /* 数据中心分析进入按钮 */
  260. .center-analysis-enter-button {
  261. margin-left: 20rpx;
  262. height: 50rpx;
  263. display: flex;
  264. align-items: center;
  265. justify-content: center;
  266. }
  267. .center-analysis-enter-button-item {
  268. font-size: 22rpx;
  269. height: 30rpx;
  270. padding: 5rpx 23rpx;
  271. display: flex;
  272. align-items: center;
  273. justify-content: center;
  274. background: linear-gradient(90deg, #2FB785 0%, #2EE698 100%);
  275. color: #FFFFFF;
  276. border-radius: 20rpx;
  277. }
  278. .yellow-point {
  279. width: 14rpx;
  280. height: 14rpx;
  281. background: #F7C86A;
  282. border-radius: 50%;
  283. }
  284. /* 办件数字体 */
  285. .work-title-font {
  286. font-size: 30rpx;
  287. padding-left: 10rpx;
  288. }
  289. /* 评价框 */
  290. .evaluate {
  291. width: 205rpx;
  292. height: 50rpx;
  293. background: #F2F7FF;
  294. border: 1rpx solid #508FF4;
  295. border-radius: 10rpx;
  296. font-weight: 500;
  297. color: #508FF4;
  298. font-size: 24rpx;
  299. line-height: 50rpx;
  300. text-align: center;
  301. margin-bottom: 20rpx;
  302. }
  303. /* 政府对话进入按钮 */
  304. .communication-enter-button {
  305. margin-left: 20rpx;
  306. height: 50rpx;
  307. display: flex;
  308. align-items: center;
  309. justify-content: center;
  310. }
  311. .communication-enter-button-item {
  312. font-size: 22rpx;
  313. height: 30rpx;
  314. padding: 5rpx 23rpx;
  315. display: flex;
  316. align-items: center;
  317. justify-content: center;
  318. background: linear-gradient(90deg, #30A2F3 0%, #69BCFA 100%);
  319. color: #FFFFFF;
  320. border-radius: 20rpx;
  321. }
  322. .communicate-tab-item {
  323. flex: 1;
  324. font-size: 28rpx;
  325. display: flex;
  326. align-items: center;
  327. justify-content: center;
  328. line-height: 28rpx;
  329. height: 55rpx;
  330. }
  331. .communicate-tab-item.active {
  332. color: #000000;
  333. border-bottom: 6rpx solid #508FF4 ;
  334. }
  335. /* 媒体矩阵 */
  336. .media-swiper-tab{
  337. width: 100%;
  338. text-align: center;
  339. line-height: 50rpx;
  340. }
  341. .media-swiper-tab-list{
  342. font-size: 28rpx;
  343. display: inline-block;
  344. min-width: 215rpx;
  345. max-width: 215rpx;
  346. }
  347. .media-swiper-tab-list.active {
  348. color: #508FF4;
  349. font-weight: bold;
  350. font-size: 33rpx;
  351. border-bottom: 4rpx solid #508FF4;
  352. }
  353. .media-swiper-box{
  354. display: block;
  355. height: 700px;
  356. width: 100%;
  357. margin-top: 10px;
  358. }
  359. .media-icon-1 {
  360. display: flex;
  361. font-size:28rpx;
  362. padding-bottom:25rpx;
  363. width: 60%;
  364. }
  365. .media-icon-2 {
  366. display: flex;
  367. font-size:28rpx;
  368. padding-bottom:25rpx;
  369. width: 40%;
  370. }