index.wxss 9.6 KB

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