index.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. page {
  2. background-color: #fff !important;
  3. }
  4. .newsList .swiper {
  5. width: 100%;
  6. position: relative;
  7. box-sizing: border-box;
  8. padding: 0 30rpx;
  9. }
  10. .newsList .swiper swiper {
  11. width: 100%;
  12. height: 365rpx;
  13. position: relative;
  14. }
  15. .newsList .swiper .slide-image {
  16. width: 100%;
  17. height: 330rpx;
  18. border-radius: 6rpx;
  19. }
  20. .newsList .swiper .wx-swiper-dot {
  21. width: 12rpx;
  22. height: 12rpx;
  23. border-radius: 0;
  24. transform: rotate(-45deg);
  25. transform-origin: 0 100%;
  26. }
  27. .newsList .swiper .wx-swiper-dot ~ .wx-swiper-dot {
  28. margin-left: 5rpx;
  29. }
  30. .newsList .swiper .wx-swiper-dots.wx-swiper-dots-horizontal {
  31. margin-bottom: -20rpx;
  32. }
  33. .newsList .nav {
  34. padding: 0 30rpx;
  35. width: 100%;
  36. white-space: nowrap;
  37. box-sizing: border-box;
  38. margin-top: 43rpx;
  39. }
  40. .newsList .nav .item {
  41. display: inline-block;
  42. font-size: 32rpx;
  43. color: #999;
  44. }
  45. .newsList .nav .item.on {
  46. color: #282828;
  47. }
  48. .newsList .nav .item ~ .item {
  49. margin-left: 46rpx;
  50. }
  51. .newsList .nav .item .line {
  52. width: 24rpx;
  53. height: 4rpx;
  54. border-radius: 2rpx;
  55. margin: 10rpx auto 0 auto;
  56. }
  57. .newsList .list .item {
  58. margin: 0 30rpx;
  59. border-bottom: 1rpx solid #f0f0f0;
  60. padding: 35rpx 0;
  61. }
  62. .newsList .list .item .pictrue {
  63. width: 250rpx;
  64. height: 156rpx;
  65. }
  66. .newsList .list .item .pictrue image {
  67. width: 100%;
  68. height: 100%;
  69. border-radius: 6rpx;
  70. }
  71. .newsList .list .item .text {
  72. width: 420rpx;
  73. height: 156rpx;
  74. font-size: 24rpx;
  75. color: #999;
  76. }
  77. .newsList .list .item .text .name {
  78. font-size: 30rpx;
  79. color: #282828;
  80. }
  81. .newsList .list .item .picList .pictrue {
  82. width: 335rpx;
  83. height: 210rpx;
  84. margin-top: 30rpx;
  85. }
  86. .newsList .list .item .picList.on .pictrue {
  87. width: 217rpx;
  88. height: 136rpx;
  89. }
  90. .newsList .list .item .picList .pictrue image {
  91. width: 100%;
  92. height: 100%;
  93. border-radius: 6rpx;
  94. }
  95. .newsList .list .item .time {
  96. text-align: right;
  97. font-size: 24rpx;
  98. color: #999;
  99. margin-top: 22rpx;
  100. }