index.wxss 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  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: 10rpx;
  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. }
  113. /* 百姓聚焦内容单个 */
  114. .people-content-item {
  115. font-size: 24rpx;
  116. font-family: PingFang SC;
  117. font-weight: 500;
  118. color: #508FF4;
  119. height: 48rpx;
  120. background-color: #E5EFFF;
  121. padding: 0rpx 20rpx;
  122. display: flex;
  123. align-items: center;
  124. border-radius: 28rpx;
  125. }
  126. .people-content-item.top {
  127. font-size: 24rpx;
  128. font-family: PingFang SC;
  129. font-weight: 500;
  130. color: #000000;
  131. height: 48rpx;
  132. background-color: #EEEEEE;
  133. padding: 0rpx 20rpx;
  134. display: flex;
  135. align-items: center;
  136. border-radius: 28rpx;
  137. }
  138. /* 志愿服务,浮动上移 */
  139. .content-na-tab {
  140. margin-left: 20rpx;
  141. top: 0rpx;
  142. position: absolute;
  143. border-radius: 10rpx;
  144. background-color: #ffffff;
  145. padding: 25rpx 30rpx;
  146. width: 651rpx;
  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. }
  171. /* 南岸咨询内容 */
  172. .na-content {
  173. margin-top: 35rpx;
  174. height: 332rpx;
  175. }
  176. /* 咨询二级标题 */
  177. .na-title-tab {
  178. flex-wrap: wrap;
  179. display: flex;
  180. justify-content: space-around;
  181. align-items: center;
  182. }
  183. .na-title-tab-item {
  184. font-size: 25rpx;
  185. font-family: PingFang SC;
  186. font-weight: 500;
  187. color: #000000;
  188. height: 48rpx;
  189. background-color: #FFFFFF;
  190. padding: 2rpx 17rpx;
  191. display: flex;
  192. align-items: center;
  193. border-radius: 30rpx;
  194. border: 2rpx solid #DDDDDD;
  195. }
  196. .na-title-tab-item.active {
  197. font-size: 25rpx;
  198. font-family: PingFang SC;
  199. font-weight: 500;
  200. color: #FFFFFF;
  201. height: 48rpx;
  202. background-color: #508FF4;
  203. padding: 2rpx 17rpx;
  204. display: flex;
  205. align-items: center;
  206. border-radius: 30rpx;
  207. border-bottom: 2rpx solid #DDDDDD;
  208. }
  209. /* 咨询内容 */
  210. .na-content-list {
  211. margin-top: 30rpx;
  212. }
  213. .na-content-list-item {
  214. overflow: hidden;
  215. white-space: nowrap;
  216. text-overflow: ellipsis;
  217. height: 45rpx;
  218. font-size: 30rpx;
  219. font-family: PingFang SC;
  220. font-weight: 500;
  221. color: #333333;
  222. line-height: 30rpx;
  223. }
  224. /* 咨询更多 */
  225. .na-more {
  226. display: flex;
  227. justify-content: center;
  228. align-items: center;
  229. color: #999999;
  230. font-size: 22rpx;
  231. }
  232. /* 数据中心 */
  233. .data-center-contain {
  234. margin-left: 20rpx;
  235. border-radius: 10rpx;
  236. background-color: #ffffff;
  237. padding: 25rpx 30rpx;
  238. width: 651rpx;
  239. height: 100%;
  240. }
  241. /* 数据中心title */
  242. .data-center-title {
  243. display: flex;
  244. justify-content: left;
  245. align-items: center;
  246. height: 60rpx
  247. }
  248. .data-center-title-font {
  249. font-family: DOUYU;
  250. margin-left: 5rpx;
  251. height: 100%;
  252. font-size: 38rpx;
  253. display: flex;
  254. align-items: flex-end;
  255. justify-content: center;
  256. }
  257. /* 数据中心分析入口整体 */
  258. .center-analysis-enter {
  259. display: flex;
  260. align-items: top;
  261. }
  262. /* 数据中心分析入口字体 */
  263. .center-analysis-enter-font {
  264. height: 50rpx;
  265. padding-left: 30rpx;
  266. font-size: 34rpx;
  267. letter-spacing: 2rpx;
  268. }
  269. /* 数据中心分析进入按钮 */
  270. .center-analysis-enter-button {
  271. margin-left: 20rpx;
  272. height: 50rpx;
  273. display: flex;
  274. align-items: center;
  275. justify-content: center;
  276. }
  277. .center-analysis-enter-button-item {
  278. font-size: 18rpx;
  279. width: 96rpx;
  280. height: 34rpx;
  281. line-height:34rpx;
  282. color: #FFFFFF;
  283. border-radius: 14rpx;
  284. text-align: center;
  285. }
  286. .yellow-point {
  287. width: 14rpx;
  288. height: 14rpx;
  289. background: #F7C86A;
  290. border-radius: 50%;
  291. }
  292. /* 办件数字体 */
  293. .work-title-font {
  294. font-size: 30rpx;
  295. padding-left: 10rpx;
  296. }
  297. /* 评价框 */
  298. .evaluate {
  299. width: 205rpx;
  300. height: 50rpx;
  301. background: #F2F7FF;
  302. border: 1rpx solid #508FF4;
  303. border-radius: 10rpx;
  304. font-weight: 500;
  305. color: #508FF4;
  306. font-size: 24rpx;
  307. line-height: 50rpx;
  308. text-align: center;
  309. margin-bottom: 20rpx;
  310. }
  311. /* 政府对话进入按钮 */
  312. .communication-enter-button {
  313. margin-left: 20rpx;
  314. height: 50rpx;
  315. display: flex;
  316. align-items: center;
  317. justify-content: center;
  318. }
  319. .communication-enter-button-item {
  320. font-size: 22rpx;
  321. height: 30rpx;
  322. padding: 5rpx 23rpx;
  323. display: flex;
  324. align-items: center;
  325. justify-content: center;
  326. background: linear-gradient(90deg, #30A2F3 0%, #69BCFA 100%);
  327. color: #FFFFFF;
  328. border-radius: 20rpx;
  329. }
  330. .communicate-tab-item {
  331. flex: 1;
  332. font-size: 28rpx;
  333. display: flex;
  334. align-items: center;
  335. justify-content: center;
  336. line-height: 28rpx;
  337. height: 55rpx;
  338. }
  339. .communicate-tab-item.active {
  340. color: #000000;
  341. border-bottom: 6rpx solid #508FF4 ;
  342. }
  343. /* 媒体矩阵 */
  344. .media-swiper-tab{
  345. width: 100%;
  346. text-align: center;
  347. line-height: 50rpx;
  348. }
  349. .media-swiper-tab-list{
  350. font-size: 28rpx;
  351. display: inline-block;
  352. min-width: 215rpx;
  353. max-width: 215rpx;
  354. }
  355. .media-swiper-tab-list.active {
  356. color: #508FF4;
  357. font-weight: bold;
  358. font-size: 33rpx;
  359. border-bottom: 4rpx solid #508FF4;
  360. }
  361. .media-swiper-box{
  362. display: block;
  363. height: 700px;
  364. width: 100%;
  365. margin-top: 10px;
  366. }
  367. .media-icon-1 {
  368. display: flex;
  369. font-size:28rpx;
  370. padding-bottom:25rpx;
  371. width: 60%;
  372. }
  373. .media-icon-2 {
  374. display: flex;
  375. font-size:28rpx;
  376. padding-bottom:25rpx;
  377. width: 40%;
  378. }