bangdan.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. .top-nav{
  2. width: 100%;
  3. height: 80rpx;
  4. display: flex;
  5. justify-content: start;
  6. }
  7. .scroll-wrapper {
  8. white-space: nowrap;
  9. -webkit-overflow-scrolling: touch;
  10. background: #FFF;
  11. padding-left: 20rpx;
  12. width: 90%;
  13. height: 85rpx;
  14. box-sizing: border-box;
  15. }
  16. ::-webkit-scrollbar {
  17. width: 0;
  18. height: 0;
  19. color: transparent;
  20. }
  21. .navigate-item {
  22. display: inline-block;
  23. text-align: center;
  24. height: 90rpx;
  25. line-height: 90rpx;
  26. margin-right: 80rpx;
  27. }
  28. .names {
  29. font-size: 28rpx;
  30. color: #3c3c3c;
  31. }
  32. .names.active {
  33. color: #ff520f;
  34. font-weight: bold;
  35. font-size: 34rpx;
  36. }
  37. .currtline {
  38. margin: -8rpx auto 0 auto;
  39. width: 100rpx;
  40. height: 1rpx;
  41. border-radius: 4rpx;
  42. }
  43. .currtline.active {
  44. background: #ff520f;
  45. transition: all .3s;
  46. }
  47. .pull-down{
  48. width: 10%;
  49. height: 25rpx;
  50. padding: 30rpx 0rpx;
  51. background-color: rgb(249, 249, 249);
  52. text-align: center;
  53. color: #ff520f;
  54. line-height: 30rpx
  55. }
  56. /* 内容区的代码 */
  57. .content {
  58. width: 100%;
  59. display: flex;
  60. justify-content: space-around;
  61. margin-top: 10rpx;
  62. padding-top: 30rpx;
  63. }
  64. .indexNumber {
  65. width: 15%;
  66. height: auto;
  67. padding: 20rpx 20rpx;
  68. text-align: center;
  69. font-size: 50rpx;
  70. color: #ff520f;
  71. }
  72. .content image {
  73. width: 140rpx;
  74. height: 140rpx;
  75. margin-top: 10rpx;
  76. }
  77. .content-left {
  78. padding: 10rpx 0rpx;
  79. margin-left: 30rpx;
  80. width: 60%;
  81. height: auto;
  82. border-bottom: 1rpx solid #ccc;
  83. }
  84. .content-title{
  85. font-size: 35rpx;
  86. height: 40rpx;
  87. color: #000;
  88. display: -webkit-box;
  89. -webkit-line-clamp: 2;/*行数n*/
  90. -webkit-box-orient: vertical;
  91. overflow: hidden;
  92. text-overflow: ellipsis;
  93. }
  94. .content-text{
  95. height: 40rpx;
  96. display: -webkit-box;
  97. -webkit-line-clamp: 1;/*行数n*/
  98. -webkit-box-orient: vertical;
  99. overflow: hidden;
  100. text-overflow: ellipsis;
  101. font-size: 27rpx;
  102. text-align: left;
  103. color: #ccc;
  104. margin-top: 15rpx;
  105. }
  106. .count{
  107. font-size: 27rpx;
  108. color: #ccc;
  109. display: flex;
  110. justify-content: start;
  111. margin-top: 15rpx;
  112. }
  113. .menu{
  114. width: 100%;
  115. height: 200rpx;
  116. position: fixed;
  117. top: 0rpx;
  118. z-index: 9999;
  119. display: flex;
  120. justify-content: space-around;
  121. align-items: center;
  122. flex-wrap: wrap;
  123. background: #fff;
  124. }
  125. .menuItem{
  126. color: #000;
  127. width: auto;
  128. font-size: 32rpx;
  129. padding: 20rpx 10rpx;
  130. margin: 0rpx 15rpx;
  131. position: relative;
  132. }
  133. .menuItemactive {
  134. font-size: 32rpx;
  135. font-weight: 700;
  136. transition: all .3s;
  137. color: #333333;
  138. }
  139. .menuItemactive:after{
  140. content: '';
  141. width: 40rpx;
  142. height: 8rpx;
  143. position: absolute;
  144. bottom: 0rpx;
  145. left: 50rpx;
  146. border-radius: 15rpx;
  147. background: #ff520f;
  148. }