index.css 8.0 KB

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