index.css 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492
  1. /**index.wxss**/
  2. .topBj {
  3. position: relative;
  4. width: 100%;
  5. z-index: -1;
  6. }
  7. .topBj image {
  8. width: 100%;
  9. height: 460rpx;
  10. }
  11. .userinfo {
  12. display: flex;
  13. flex-direction: column;
  14. align-items: center;
  15. color: #aaa;
  16. }
  17. .userinfo-avatar {
  18. overflow: hidden;
  19. width: 128rpx;
  20. height: 128rpx;
  21. margin: 20rpx;
  22. border-radius: 50%;
  23. }
  24. .usermotto {
  25. margin-top: 200px;
  26. }
  27. /* 图片轮播 */
  28. .banner {
  29. width: 100%;
  30. height: 300rpx;
  31. padding: 30rpx 0;
  32. }
  33. .banner swiper-item image {
  34. width: 100%;
  35. height: 100%;
  36. }
  37. /* 主导航 */
  38. .mainNav {
  39. width: 100%;
  40. background: #fff;
  41. }
  42. .mainNav li {
  43. width: 25%;
  44. float: left;
  45. text-align: center;
  46. }
  47. .mainNav li span {
  48. font-size: 30rpx;
  49. color: #555;
  50. }
  51. .mainNav li view.wb .icon-wenhaofill {
  52. background: linear-gradient(#f5cd49, #fcb136);
  53. -webkit-background-clip: text;
  54. background-clip: text;
  55. color: transparent;
  56. font-size: 70rpx;
  57. }
  58. .mainNav li view.hq .icon-hangqing {
  59. background: linear-gradient(#89adfd, #6898f9);
  60. -webkit-background-clip: text;
  61. background-clip: text;
  62. color: transparent;
  63. font-size: 70rpx;
  64. }
  65. .mainNav li view.sc .icon-shangcheng11 {
  66. background: linear-gradient(#fd7668, #f85649);
  67. -webkit-background-clip: text;
  68. background-clip: text;
  69. color: transparent;
  70. font-size: 70rpx;
  71. }
  72. .mainNav li view.bs .icon-banshidating1 {
  73. background: linear-gradient(#12c98a, #12c98a);
  74. -webkit-background-clip: text;
  75. background-clip: text;
  76. color: transparent;
  77. font-size: 64rpx;
  78. }
  79. .mainNav li view .iconfont {
  80. color: #fff;
  81. line-height: 90rpx;
  82. }
  83. .gonggao {
  84. padding: 32rpx 0;
  85. line-height: 40rpx;
  86. display: flex;
  87. justify-content: space-between;
  88. align-items: center;
  89. width: 100%;
  90. }
  91. .gonggao span {
  92. font-size: 30rpx;
  93. color: #07c160;
  94. }
  95. .gonggao span .iconfont {
  96. font-size: 40rpx;
  97. color: #07c160;
  98. line-height: 40rpx;
  99. float: left;
  100. margin: 4rpx 0 0 0;
  101. }
  102. .gonggao a {
  103. font-size: 28rpx;
  104. color: #666;
  105. margin: 0 20rpx;
  106. width: 70%;
  107. white-space: nowrap;
  108. overflow: hidden;
  109. text-overflow: ellipsis;
  110. }
  111. .icon-xiangyoujiantou {
  112. font-size: 40rpx;
  113. color: #c4c4c4;
  114. line-height: 40rpx;
  115. }
  116. /* 村民福利 */
  117. .cmfl_title {
  118. display: flex;
  119. justify-content: center;
  120. margin: 40rpx 0 0 0;
  121. align-items: center;
  122. }
  123. .cmfl_title image {
  124. width: 24rpx;
  125. height: 18rpx;
  126. }
  127. .cmfl_title h1 {
  128. font-size: 40rpx;
  129. font-weight: bold;
  130. color: #07c160;
  131. margin: 0 40rpx;
  132. }
  133. .cnfl {
  134. width: 100%;
  135. margin: 40rpx 0;
  136. display: flex;
  137. justify-content: space-between;
  138. }
  139. .fv,
  140. .hm {
  141. width: 48%;
  142. border-radius: 20rpx;
  143. overflow: hidden;
  144. position: relative;
  145. }
  146. .fv text,
  147. .hm text {
  148. position: absolute;
  149. left: 13%;
  150. top: 30%;
  151. font-size: 36rpx;
  152. font-weight: bold;
  153. }
  154. .fv text {
  155. color: #005cc4;
  156. }
  157. .hm text {
  158. color: #d36900;
  159. }
  160. .fv image,
  161. .hm image {
  162. width: 100%;
  163. height: 134rpx;
  164. }
  165. /* 政策推荐 */
  166. .zcTuijian {
  167. width: 100%;
  168. padding: 30rpx 0;
  169. display: flex;
  170. justify-content: space-between;
  171. align-items: center;
  172. }
  173. .zcTuijian ul {
  174. width: 65%;
  175. }
  176. .zcTuijian ul li {
  177. width: 100%;
  178. display: block;
  179. font-size: 28rpx;
  180. white-space: nowrap;
  181. overflow: hidden;
  182. text-overflow: ellipsis;
  183. line-height: 52rpx;
  184. color: #666;
  185. }
  186. .zcTuijian image {
  187. width: 22%;
  188. height: 150rpx;
  189. border-radius: 20rpx;
  190. }
  191. .zcTuijian em.icon-gengduo {
  192. line-height: 150rpx;
  193. font-size: 40rpx;
  194. color: #c4c4c4;
  195. }
  196. .bannerA {
  197. width: 100%;
  198. }
  199. .bannerA image {
  200. width: 100%;
  201. height: 200rpx;
  202. }
  203. .icon--fuwu {
  204. font-size: 40rpx;
  205. margin: 0 10rpx 0 0;
  206. }
  207. .icon-licaiwenda {
  208. font-size: 36rpx;
  209. margin: 0 10rpx 0 0;
  210. }
  211. .icon-zhishiku1 {
  212. font-size: 34rpx;
  213. margin: 0 10rpx 0 0;
  214. }
  215. .gpfwNav ul {
  216. width: 100%;
  217. display: flex;
  218. flex-wrap: wrap;
  219. }
  220. .gpfwNav ul li {
  221. margin: 20rpx 2.5% 30rpx 2.5%;
  222. font-size: 30rpx;
  223. color: #333;
  224. width: 20%;
  225. text-align: center;
  226. }
  227. .gpfwNav ul li view {
  228. width: 80rpx;
  229. height: 80rpx;
  230. margin: 0 auto 20rpx auto;
  231. border-radius: 20rpx;
  232. text-align: center;
  233. line-height: 80rpx;
  234. }
  235. .gpfwNav ul li view em {
  236. font-size: 50rpx;
  237. color: #fff;
  238. }
  239. .gpfwNav ul li view.lvxd {
  240. background: -webkit-linear-gradient(#eca6a6, #fd8585);
  241. background: -o-linear-gradient(#eca6a6, #fd8585);
  242. background: -moz-linear-gradient(#eca6a6, #fd8585);
  243. background: linear-gradient(#eca6a6, #fd8585);
  244. }
  245. .gpfwNav ul li view.xlzx {
  246. background: -webkit-linear-gradient(#bab3ec, #8170ff);
  247. background: -o-linear-gradient(#bab3ec, #8170ff);
  248. background: -moz-linear-gradient(#bab3ec, #8170ff);
  249. background: linear-gradient(#bab3ec, #8170ff);
  250. }
  251. .gpfwNav ul li view.xswz {
  252. background: -webkit-linear-gradient(#afd0ec, #61c5ff);
  253. background: -o-linear-gradient(#afd0ec, #61c5ff);
  254. background: -moz-linear-gradient(#afd0ec, #61c5ff);
  255. background: linear-gradient(#afd0ec, #61c5ff);
  256. }
  257. .gpfwNav ul li view.gxs {
  258. background: -webkit-linear-gradient(#c1fdc9, #57f5a1);
  259. background: -o-linear-gradient(#c1fdc9, #57f5a1);
  260. background: -moz-linear-gradient(#c1fdc9, #57f5a1);
  261. background: linear-gradient(#c1fdc9, #57f5a1);
  262. }
  263. .gpfwNav ul li view.more {
  264. background: -webkit-linear-gradient(#46aef7, #1dd5e6);
  265. background: -o-linear-gradient(#46aef7, #1dd5e6);
  266. background: -moz-linear-gradient(#46aef7, #1dd5e6);
  267. background: linear-gradient(#46aef7, #1dd5e6);
  268. }
  269. /* 热门问答 */
  270. .rnwdList {
  271. width: 100%;
  272. }
  273. .list {
  274. border-bottom: solid 2rpx #f6f6f6;
  275. padding: 10rpx 0;
  276. width: 100%;
  277. }
  278. .listTitle {
  279. font-size: 32rpx;
  280. color: #333;
  281. line-height: 40rpx;
  282. }
  283. .jlSj {
  284. height: 40rpx;
  285. display: flex;
  286. justify-content: space-between;
  287. align-items: center;
  288. font-size: 24rpx;
  289. margin: 20rpx 0 0 0;
  290. }
  291. .jf {
  292. color: #07c160;
  293. }
  294. .icon-jifen {
  295. font-size: 26rpx;
  296. color: #07c160;
  297. margin: 0 0 0 6rpx;
  298. }
  299. .ck {
  300. color: #c4c4c4;
  301. }
  302. .icon-pinglun,
  303. .icon-chakan,
  304. .icon-shoucang {
  305. font-size: 28rpx;
  306. margin: 0 6rpx 0 20rpx;
  307. color: #c4c4c4;
  308. }
  309. .onePic {
  310. width: 100%;
  311. height: 360rpx;
  312. border-radius: 20rpx;
  313. overflow: hidden;
  314. margin: 20rpx 0;
  315. }
  316. .onePic image {
  317. width: 100%;
  318. height: 100%;
  319. }
  320. .twoPic {
  321. width: 100%;
  322. height: 220rpx;
  323. margin: 20rpx 0;
  324. display: flex;
  325. justify-content: space-between;
  326. }
  327. .twoPic image {
  328. width: 49%;
  329. height: auto;
  330. border-radius: 20rpx;
  331. }
  332. .threePic {
  333. width: 100%;
  334. height: 160rpx;
  335. margin: 20rpx 0;
  336. display: flex;
  337. justify-content: space-between;
  338. }
  339. .threePic image {
  340. width: 32%;
  341. height: auto;
  342. border-radius: 20rpx;
  343. }
  344. /* 热门知识 */
  345. .rmzsList li {
  346. width: 100%;
  347. border-bottom: solid 2rpx #f6f6f6;
  348. padding: 20rpx 0;
  349. display: flex;
  350. justify-content: space-between;
  351. }
  352. .rmzsList li image {
  353. width: 40%;
  354. height: 200rpx;
  355. }
  356. .listCont {
  357. width: 58%;
  358. }
  359. .listCont p {
  360. font-size: 32rpx;
  361. color: #333;
  362. overflow: hidden;
  363. line-height: 40rpx;
  364. overflow: hidden;
  365. text-overflow: ellipsis;
  366. display: -webkit-box;
  367. -webkit-line-clamp: 2;
  368. -webkit-box-orient: vertical;
  369. }
  370. .listCont text {
  371. font-size: 24rpx;
  372. color: #9c9c9c;
  373. }
  374. .biaoqian {
  375. display: flex;
  376. margin: 6rpx 0;
  377. }
  378. .biaoqian span {
  379. padding: 2rpx 20rpx;
  380. font-size: 20rpx;
  381. background: #e0e0e0;
  382. color: #9c9c9c;
  383. margin: 0 20rpx 0 0;
  384. border-radius: 30rpx;
  385. }
  386. .jiage {
  387. display: flex;
  388. }
  389. .yhjg {
  390. font-size: 30rpx;
  391. color: #07c160;
  392. }
  393. .yhjg em {
  394. font-size: 24rpx;
  395. color: #07c160;
  396. }
  397. .yjjg {
  398. font-size: 24rpx;
  399. color: #9c9c9c;
  400. margin: 6rpx 0 0 20rpx;
  401. text-decoration: line-through;
  402. }
  403. /* 公告start */
  404. .swiper_container {
  405. height: 55rpx;
  406. width: 70%;
  407. line-height: 60rpx;
  408. }
  409. .swiper_item {
  410. height: 100;
  411. color: #000;
  412. font-size: 28rpx;
  413. overflow: hidden;
  414. text-overflow: ellipsis;
  415. white-space: nowrap;
  416. }
  417. /* 公告end */