index.wxss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  1. /**index.wxss**/
  2. /* pages/publics/publics.wxss */
  3. scroll-view ::-webkit-scrollbar {
  4. display: none;
  5. width: 0;
  6. height: 0;
  7. color: transparent;
  8. }
  9. /* 头部 */
  10. .top {
  11. height: 409rpx;
  12. overflow: hidden;
  13. position: relative;
  14. }
  15. /* 浮动图标 */
  16. .top-logo {
  17. z-index: 99;
  18. position: absolute;
  19. left: 50%;
  20. margin-top: 50rpx;
  21. transform: translate(-50%);
  22. width: 50%;
  23. height: 120rpx;
  24. }
  25. /* 第一个内容,浮动上移 */
  26. .content-search-tab {
  27. margin-left: 20rpx;
  28. top: -85rpx;
  29. position: absolute;
  30. border-radius: 20rpx;
  31. background-color: #ffffff;
  32. padding: 25rpx 30rpx;
  33. width: 651rpx;
  34. }
  35. /* 搜索整体 */
  36. .search-view {
  37. height: 60rpx;
  38. border-radius: 5rpx;
  39. background-color: #F5F5F5;
  40. display: flex;
  41. justify-content: left;
  42. align-items: center;
  43. }
  44. /* 搜索图标 */
  45. .search-icon {
  46. display: flex;
  47. justify-content: center;
  48. align-items: center;
  49. padding-left: 20rpx;
  50. padding-right: 20rpx;
  51. letter-spacing: 3rpx;
  52. }
  53. /* 搜索 */
  54. .search-input {
  55. height: 30rpx;
  56. font-size: 25rpx;
  57. letter-spacing: 3rpx;
  58. }
  59. /* 服务的内容整体 */
  60. .content-service {
  61. height: 170rpx;
  62. flex-wrap: wrap;
  63. display: flex;
  64. justify-content: space-between;
  65. align-items: center;
  66. font-size: 48rpx;
  67. }
  68. /* 服务的内容单个 */
  69. .content-service-item {
  70. font-size: 22rpx;
  71. display: flex;
  72. justify-content: center;
  73. align-items: center;
  74. flex-direction: column;
  75. height: 123rpx;
  76. width: 119rpx;
  77. }
  78. .content-service-item2 {
  79. /* font-size: 25rpx; */
  80. display: flex;
  81. justify-content: center;
  82. align-items: center;
  83. flex-direction: column;
  84. height: 140rpx;
  85. width: 140rpx;
  86. }
  87. /* 百信聚焦 */
  88. .people-title {
  89. display: flex;
  90. flex-direction: row;
  91. justify-content: left;
  92. align-items: center;
  93. }
  94. /* 百姓聚焦字体 */
  95. .people-font1 {
  96. height: 59rpx;
  97. font-size: 38rpx;
  98. font-family: DOUYU;
  99. font-weight: normal;
  100. color: #333333;
  101. padding-right: 18rpx;
  102. margin-bottom: -24rpx;
  103. }
  104. /* 每日更新字体 */
  105. .people-font2 {
  106. height: 59rpx;
  107. font-size: 9px;
  108. font-family: PingFang SC;
  109. font-weight: 500;
  110. color: #999999;
  111. display: flex;
  112. flex-direction: row;
  113. align-items: flex-end;
  114. }
  115. /* 百姓聚焦内容整体 */
  116. .people-content {
  117. height: 140rpx;
  118. flex-wrap: wrap;
  119. display: flex;
  120. justify-content: space-around;
  121. align-items: center;
  122. margin-top: 30rpx;
  123. }
  124. /* 百姓聚焦内容单个 */
  125. .people-content-item {
  126. font-size: 24rpx;
  127. font-family: PingFang SC;
  128. font-weight: 500;
  129. color: #508FF4;
  130. height: 48rpx;
  131. background-color: #E5EFFF;
  132. padding: 0rpx 20rpx;
  133. display: flex;
  134. align-items: center;
  135. border-radius: 28rpx;
  136. }
  137. .people-content-item.top {
  138. font-size: 24rpx;
  139. font-family: PingFang SC;
  140. font-weight: 500;
  141. color: #000000;
  142. height: 48rpx;
  143. background-color: #EEEEEE;
  144. padding: 0rpx 20rpx;
  145. display: flex;
  146. align-items: center;
  147. border-radius: 28rpx;
  148. }
  149. /* 志愿服务,浮动上移 */
  150. .content-na-tab {
  151. margin-left: 20rpx;
  152. background-color: #ffffff;
  153. padding-left: 30rpx;
  154. padding-top: 25rpx;
  155. border-radius: 20rpx;
  156. width: 681rpx;
  157. }
  158. /* 志愿服务标题 */
  159. .na-title {
  160. height: 50rpx;
  161. display: flex;
  162. }
  163. .tab-item {
  164. /* flex: 1; */
  165. font-size: 28rpx;
  166. text-align: center;
  167. line-height: 50rpx;
  168. color: #333;
  169. height: 50rpx;
  170. width: 280rpx;
  171. display: flex;
  172. justify-content: center;
  173. flex-direction: row;
  174. }
  175. .tab-item.active {
  176. font-size: 36rpx;
  177. font-family: DOUYU;
  178. border-bottom: 7rpx solid #508FF4;
  179. position: relative;
  180. margin-left: 20rpx;
  181. }
  182. .tab-item-last {
  183. /* flex: 1; */
  184. font-size: 28rpx;
  185. text-align: center;
  186. line-height: 50rpx;
  187. color: #333;
  188. height: 50rpx;
  189. width: 200rpx;
  190. display: flex;
  191. justify-content: center;
  192. flex-direction: row;
  193. }
  194. .tab-item-last.active {
  195. font-size: 27rpx;
  196. width: 220rpx;
  197. font-family: DOUYU;
  198. border-bottom: 7rpx solid #508FF4;
  199. position: relative;
  200. margin-left: 20rpx;
  201. }
  202. /* 南岸咨询内容 */
  203. .na-content {
  204. margin-top: 35rpx;
  205. height: 332rpx;
  206. }
  207. /* 咨询二级标题 */
  208. .na-title-tab {
  209. flex-wrap: wrap;
  210. display: flex;
  211. justify-content: space-around;
  212. align-items: center;
  213. }
  214. .na-title-tab-item {
  215. font-size: 25rpx;
  216. font-family: PingFang SC;
  217. font-weight: 500;
  218. color: #000000;
  219. height: 48rpx;
  220. background-color: #FFFFFF;
  221. padding: 2rpx 17rpx;
  222. display: flex;
  223. align-items: center;
  224. border-radius: 30rpx;
  225. border: 2rpx solid #DDDDDD;
  226. }
  227. .na-title-tab-item.active {
  228. font-size: 25rpx;
  229. font-family: PingFang SC;
  230. font-weight: 500;
  231. color: #FFFFFF;
  232. height: 48rpx;
  233. background-color: #508FF4;
  234. padding: 2rpx 17rpx;
  235. display: flex;
  236. align-items: center;
  237. border-radius: 30rpx;
  238. border-bottom: 2rpx solid #DDDDDD;
  239. }
  240. /* 咨询内容 */
  241. .na-content-list {
  242. /* margin-top: 30rpx; */
  243. }
  244. .na-content-list-item {
  245. overflow: hidden;
  246. white-space: nowrap;
  247. text-overflow: ellipsis;
  248. height: 60rpx;
  249. font-size: 30rpx;
  250. font-family: PingFang SC;
  251. font-weight: 550;
  252. color: #333333;
  253. line-height: 60rpx;
  254. }
  255. /* 咨询更多 */
  256. .na-more {
  257. display: flex;
  258. justify-content: center;
  259. align-items: center;
  260. color: #999999;
  261. font-size: 22rpx;
  262. }
  263. /* 数据中心 */
  264. .data-center-contain {
  265. margin-left: 20rpx;
  266. border-radius: 20rpx;
  267. background-color: #ffffff;
  268. padding: 25rpx 30rpx;
  269. width: 651rpx;
  270. height: 100%;
  271. }
  272. /* 数据中心title */
  273. .data-center-title {
  274. display: flex;
  275. justify-content: left;
  276. align-items: center;
  277. height: 60rpx
  278. }
  279. .data-center-title-font {
  280. font-family: DOUYU;
  281. margin-left: 5rpx;
  282. height: 100%;
  283. font-size: 36rpx;
  284. display: flex;
  285. align-items: flex-end;
  286. justify-content: center;
  287. }
  288. /* 数据中心分析入口整体 */
  289. .center-analysis-enter {
  290. display: flex;
  291. align-items: top;
  292. }
  293. /* 数据中心分析入口字体 */
  294. .center-analysis-enter-font {
  295. height: 50rpx;
  296. padding-left: 30rpx;
  297. font-size: 34rpx;
  298. letter-spacing: 2rpx;
  299. }
  300. /* 数据中心分析进入按钮 */
  301. .center-analysis-enter-button {
  302. margin-left: 20rpx;
  303. height: 50rpx;
  304. display: flex;
  305. align-items: center;
  306. justify-content: center;
  307. }
  308. .center-analysis-enter-button-item {
  309. font-size: 18rpx;
  310. width: 96rpx;
  311. height: 34rpx;
  312. line-height: 34rpx;
  313. color: #FFFFFF;
  314. border-radius: 14rpx;
  315. text-align: center;
  316. }
  317. .yellow-point {
  318. width: 14rpx;
  319. height: 14rpx;
  320. background: #F7C86A;
  321. border-radius: 50%;
  322. }
  323. /* 政民互动title */
  324. .zmhd-title-font {
  325. font-weight: 600;
  326. height: 50rpx;
  327. padding-left: 30rpx;
  328. font-size: 34rpx;
  329. background: linear-gradient(to bottom, #FFFFFF 30%, #94D1FD 100%);
  330. -webkit-background-clip: text;
  331. background-clip: text;
  332. color: transparent;
  333. letter-spacing: 4rpx;
  334. text-shadow: 0px 10rpx 7rpx rgba(13,73,117,0.14);
  335. }
  336. /* 办件数字体 */
  337. .work-title-font {
  338. font-size: 30rpx;
  339. padding-left: 10rpx;
  340. }
  341. /* 评价框 */
  342. .evaluate {
  343. width: 205rpx;
  344. height: 50rpx;
  345. background: #F2F7FF;
  346. border: 1rpx solid #508FF4;
  347. border-radius: 10rpx;
  348. font-weight: 500;
  349. color: #508FF4;
  350. font-size: 24rpx;
  351. line-height: 50rpx;
  352. text-align: center;
  353. margin-bottom: 20rpx;
  354. }
  355. /* 政府对话进入按钮 */
  356. .communication-enter-button {
  357. margin-left: 20rpx;
  358. height: 50rpx;
  359. display: flex;
  360. align-items: center;
  361. justify-content: center;
  362. }
  363. .communication-enter-button-item {
  364. font-size: 22rpx;
  365. height: 30rpx;
  366. padding: 5rpx 23rpx;
  367. display: flex;
  368. align-items: center;
  369. justify-content: center;
  370. background: linear-gradient(90deg, #30A2F3 0%, #69BCFA 100%);
  371. color: #FFFFFF;
  372. border-radius: 20rpx;
  373. }
  374. .communicate-tab-item {
  375. flex: 1;
  376. font-size: 28rpx;
  377. display: flex;
  378. align-items: center;
  379. justify-content: center;
  380. line-height: 28rpx;
  381. height: 55rpx;
  382. }
  383. .communicate-tab-item.active {
  384. color: #000000;
  385. border-bottom: 6rpx solid #508FF4;
  386. }
  387. /* 媒体矩阵 */
  388. .media-swiper-tab {
  389. width: 100%;
  390. text-align: center;
  391. line-height: 50rpx;
  392. }
  393. .media-swiper-tab-list {
  394. font-size: 28rpx;
  395. display: inline-block;
  396. min-width: 300rpx;
  397. max-width: 300rpx;
  398. }
  399. .media-swiper-tab-list.active {
  400. color: #508FF4;
  401. font-weight: bold;
  402. font-size: 33rpx;
  403. border-bottom: 6rpx solid #508FF4;
  404. }
  405. .media-swiper-box {
  406. display: block;
  407. height: 640rpx;
  408. width: 100%;
  409. margin-top: 10rpx;
  410. }
  411. .media-icon-1 {
  412. display: flex;
  413. font-size: 28rpx;
  414. padding-bottom: 20rpx;
  415. width: 60%;
  416. }
  417. .media-icon-2 {
  418. display: flex;
  419. font-size: 28rpx;
  420. padding-bottom: 20rpx;
  421. width: 40%;
  422. }
  423. .message {
  424. margin-top: 20rpx;
  425. background: #F2F9FF;
  426. padding: 18rpx 23rpx;
  427. box-sizing: border-box;
  428. position: relative;
  429. }
  430. .message .releaseList {
  431. display: flex;
  432. align-items: center;
  433. justify-content: space-between;
  434. height: 150rpx;
  435. font-size: 30rpx;
  436. color: #333333;
  437. border-bottom: 1rpx solid #D3D3D3;
  438. }
  439. .message .releaseList:last-child {
  440. border-bottom: none;
  441. }
  442. .news-item {
  443. border-bottom: 1rpx solid #E1E1E1;
  444. margin-top: 20rpx;
  445. display: flex;
  446. flex-direction: column;
  447. font-size: 30rpx;
  448. font-family: Source Han Sans SC;
  449. font-weight: 400;
  450. color: #333333;
  451. }
  452. .news-item .jigou {
  453. font-size: 30rpx;
  454. font-family: Source Han Sans SC;
  455. font-weight: 400;
  456. color: #2E77C6;
  457. }
  458. .news-item .jigou span {
  459. padding: 3rpx 8rpx;
  460. background: #B9D9FD;
  461. line-height: 20rpx;
  462. }
  463. .news-item p {
  464. margin-top: 13rpx;
  465. margin-bottom: 24rpx;
  466. }
  467. .news-item .time {
  468. font-size: 28rpx;
  469. font-family: Source Han Sans SC;
  470. font-weight: 400;
  471. color: #999999;
  472. margin-bottom: 20rpx;
  473. }
  474. /* 弹窗 */
  475. .mask {
  476. width: 100%;
  477. height: 100%;
  478. position: fixed;
  479. top: 0;
  480. left: 0;
  481. background: #000;
  482. z-index: 9000;
  483. opacity: 0.7;
  484. }
  485. .ewm-dialog {
  486. top: 600rpx;
  487. width: 580rpx;
  488. height: 580rpx;
  489. background-color: #fff;
  490. position: fixed;
  491. z-index: 9999;
  492. margin: -50rpx 85rpx;
  493. border-radius: 10rpx;
  494. display: flex;
  495. flex-direction: column;
  496. align-items: center;
  497. justify-content: center;
  498. /* border-radius: 0 20rpx 0 20rpx; */
  499. -webkit-animation-name: fadeIn; /*动画名称*/
  500. -webkit-animation-duration: 1s; /*动画持续时间*/
  501. -webkit-animation-iteration-count: 1; /*动画次数*/
  502. -webkit-animation-delay: 0s; /*延迟时间*/
  503. }
  504. @-webkit-keyframes fadeIn {
  505. 0% {
  506. opacity: 0; /*初始状态 透明度为0*/
  507. }
  508. 50% {
  509. opacity: 0; /*中间状态 透明度为0*/
  510. }
  511. 100% {
  512. opacity: 1; /*结尾状态 透明度为1*/
  513. }
  514. }
  515. @keyframes box-ani {
  516. from {transform: rotate(0)}
  517. to {transform: rotate(360deg)}
  518. }
  519. .init-rate{
  520. /* border-radius:50%; */
  521. position: relative;
  522. /* margin-left: -30rpx; */
  523. animation: box-ani 1s infinite linear;
  524. }
  525. .cont-width{
  526. width: 96%;
  527. background: #ffffff;
  528. margin: auto;
  529. border-radius: 20rpx;
  530. /* margin-top: 41rpx; */
  531. padding: 32rpx 20rpx;
  532. box-sizing: border-box;
  533. }
  534. .cont-width .title {
  535. font-size: 38rpx;
  536. font-weight: bold;
  537. color: #333333;
  538. display: flex;
  539. align-items: center;
  540. margin-bottom: 20rpx;
  541. }
  542. .cont-width .title .line {
  543. width: 8rpx;
  544. height: 28rpx;
  545. background: #508FF4;
  546. margin-right: 20rpx;
  547. }
  548. .view-yjyb .list {
  549. margin-top: 15px;
  550. height: 89px;
  551. /*段落中文本不换行*/
  552. white-space: nowrap;
  553. /*设置横向滚动*/
  554. overflow-x: auto;
  555. }
  556. .view-yjyb .list::-webkit-scrollbar {
  557. display: none;
  558. }
  559. .view-yjyb .list .nav {
  560. width: 272rpx;
  561. height: 89px;
  562. display: inline-block;
  563. background-size: 100% 100%;
  564. padding: 24rpx 20rpx;
  565. box-sizing: border-box;
  566. font-size: 30rpx;
  567. font-weight: 500;
  568. margin-right: 20rpx;
  569. }
  570. .photolist{
  571. height: 89px;
  572. /*段落中文本不换行*/
  573. white-space: nowrap;
  574. /*设置横向滚动*/
  575. overflow-x: auto;
  576. /* display: none; */
  577. }
  578. .photo{
  579. border-radius: 10rpx;
  580. width: 272rpx;
  581. height: 89px;
  582. display: inline-block;
  583. background-size: 100% 100%;
  584. /* padding: 24rpx 20rpx; */
  585. box-sizing: border-box;
  586. font-size: 30rpx;
  587. font-weight: 500;
  588. margin-right: 20rpx;
  589. }