contentList.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. /* contentList.css */
  2. page{background: #fff;}
  3. .top-fixed{
  4. position: fixed;
  5. top: 0;
  6. right: 0;
  7. left: 0;
  8. background-color: #fff;
  9. z-index: 101;
  10. }
  11. .search-box{
  12. padding: 30rpx;
  13. background-color: #fff;
  14. }
  15. .search-text{
  16. color: #999999;
  17. }
  18. .search-input{
  19. height: 76rpx;
  20. line-height: 76rpx;;
  21. background: #F5F5F5;
  22. border-radius: 60rpx;
  23. padding: 0 26rpx;
  24. font-size: 24rpx;
  25. }
  26. .search-input input{
  27. font-size: 24rpx;
  28. }
  29. .search-input image{
  30. width: 34rpx;
  31. height: 34rpx;
  32. margin-right: 26rpx;
  33. }
  34. .search-all{
  35. color: #2a82fd;
  36. font-size: 30rpx;
  37. margin-left: 46rpx;
  38. }
  39. .ban{height: 275rpx;position: relative;margin: 40rpx 32rpx 15rpx;}
  40. .swiper{width: 100%;height: 275rpx;border-radius: 10rpx;}
  41. .swiper image{width: 100%;height: 100%;border-radius: 10rpx;}
  42. .dots{position: absolute;left: 50%;transform: translateX(-50%);bottom: 20rpx;z-index: 3;justify-content: center;}
  43. .dot{width: 46rpx;height: 4rpx;background: rgba(255,255,255,.5);margin: 0 3rpx;}
  44. .dot.active{background: #fff;}
  45. .title{font-size: 36rpx;color: #333;font-weight: bold;align-items: center;}
  46. .title::before{content: '';display: block;width: 6rpx;height: 38rpx;background: #108FFF;margin-right: 14rpx;}
  47. .box{padding: 30rpx 32rpx 0;}
  48. .bobo{border-bottom: 20rpx solid #F8F8F8;}
  49. .rec .li{padding: 30rpx 0;border-bottom: 1rpx solid #EDEDED;align-items: center;}
  50. .rec-tit{font-size: 34rpx;color: #333;font-weight: bold;line-height: 47rpx;height: 141rpx;margin-bottom: 25rpx;}
  51. .author{font-size: 28rpx;color: #999;margin-right: 24rpx;}
  52. .author image{width: 32rpx;height: 32rpx;border-radius: 2rpx;margin-right: 10rpx;}
  53. .rec-time{font-size: 28rpx;color: #999;}
  54. .rec-img{width: 240rpx;height: 180rpx;margin-left: 55rpx;border-radius: 12rpx 12rpx 12rpx 12rpx;}
  55. /* 行业资讯 */
  56. .rec-association {
  57. padding: 0rpx 30rpx 0;
  58. opacity: 1;
  59. border-bottom: 1px solid #E8E8E8;
  60. position: fixed;
  61. width: 100%;
  62. box-sizing: border-box;
  63. height: 70rpx;
  64. z-index: 5;
  65. background: #fff;
  66. }
  67. .rec-association-nav{
  68. position: relative;
  69. }
  70. .rec-association-nav-m{
  71. position: absolute;
  72. right: 0;
  73. top: 0;
  74. bottom:0;
  75. width: 55rpx;
  76. background: linear-gradient(90deg, rgba(255,255,255,0) 0%, #FFFFFF 100%);
  77. /* background: #000; */
  78. opacity: 1;
  79. }
  80. .rec-association-scroll {
  81. white-space: nowrap;
  82. overflow: hidden;
  83. height: 70rpx;
  84. }
  85. .rec-association-scroll ::-webkit-scrollbar {
  86. width: 0;
  87. height: 0;
  88. color: transparent;
  89. display: none;
  90. }
  91. .rec-association-scroll-item{
  92. /* max-width: 128rpx; */
  93. overflow: hidden;
  94. font-size: 32rpx;
  95. display: inline-block;
  96. margin-right:56rpx;
  97. color: #666;
  98. height: 100%;
  99. }
  100. .rec-association-scroll-item-active{
  101. color: var(--main);
  102. font-size: 32rpx;
  103. font-weight: 500;
  104. position: relative;
  105. }
  106. .rec-association-scroll-item-active::after{
  107. content: '';
  108. position: absolute;
  109. bottom: 0px;
  110. left: 50%;
  111. transform: translateX(-50%);
  112. width: 50%;
  113. height: 6rpx;
  114. background: var(--main);
  115. }
  116. .rec-association-nav-icon{
  117. width: 38rpx;
  118. height: 32rpx;
  119. margin-left: 40rpx;
  120. margin-top: 4rpx;
  121. }