bangdan.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. .hmly-top-nav{
  2. width: 100%;
  3. height: 80rpx;
  4. display: flex;
  5. justify-content: start;
  6. }
  7. .hmly-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. .hmly-navigate-item {
  22. display: inline-block;
  23. text-align: center;
  24. height: 90rpx;
  25. line-height: 90rpx;
  26. margin-right: 80rpx;
  27. }
  28. .hmly-names {
  29. font-size: 28rpx;
  30. color: #3c3c3c;
  31. }
  32. .hmly-names.active {
  33. color: #ff520f;
  34. font-weight: bold;
  35. font-size: 34rpx;
  36. }
  37. .hmly-currtline {
  38. margin: -8rpx auto 0 auto;
  39. width: 100rpx;
  40. height: 1rpx;
  41. border-radius: 4rpx;
  42. }
  43. .hmly-currtline.active {
  44. background: #ff520f;
  45. transition: all .3s;
  46. }
  47. .hmly-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. .hmly-content-item{
  58. width: 100%;
  59. display: flex;
  60. justify-content: space-around;
  61. align-items: center;
  62. padding: 20rpx 0rpx;
  63. }
  64. .hmly-index-number {
  65. width: 15%;
  66. height: auto;
  67. padding: 20rpx 0rpx;
  68. text-align: center;
  69. font-size: 50rpx;
  70. color: #ff520f;
  71. }
  72. .hmly-content-item image {
  73. width: 140rpx;
  74. height: 140rpx;
  75. margin-top: 10rpx;
  76. border-radius: 15rpx;
  77. }
  78. .hmly-content-left {
  79. padding: 10rpx 0rpx;
  80. margin-left: 30rpx;
  81. width: 60%;
  82. height: auto;
  83. border-bottom: 1rpx solid #f1f1f1;
  84. }
  85. .hmly-content-title{
  86. font-size: 35rpx;
  87. height: 40rpx;
  88. color: #000;
  89. display: -webkit-box;
  90. -webkit-line-clamp: 2;/*行数n*/
  91. -webkit-box-orient: vertical;
  92. overflow: hidden;
  93. text-overflow: ellipsis;
  94. }
  95. .hmly-content-text{
  96. height: 40rpx;
  97. display: -webkit-box;
  98. -webkit-line-clamp: 1;/*行数n*/
  99. -webkit-box-orient: vertical;
  100. overflow: hidden;
  101. text-overflow: ellipsis;
  102. font-size: 27rpx;
  103. text-align: left;
  104. color: #ccc;
  105. margin-top: 15rpx;
  106. }
  107. .hmly-count{
  108. font-size: 27rpx;
  109. color: #ccc;
  110. display: flex;
  111. justify-content: start;
  112. margin-top: 15rpx;
  113. }
  114. .hmly-menu{
  115. width: 100%;
  116. height: 200rpx;
  117. position: fixed;
  118. top: 0rpx;
  119. z-index: 9999;
  120. display: flex;
  121. justify-content: space-around;
  122. align-items: center;
  123. flex-wrap: wrap;
  124. background: #fff;
  125. }
  126. .hmly-menu-item{
  127. color: #000;
  128. width: auto;
  129. font-size: 32rpx;
  130. padding: 20rpx 10rpx;
  131. margin: 0rpx 15rpx;
  132. position: relative;
  133. }
  134. .hmly-menu-item-active {
  135. font-size: 32rpx;
  136. font-weight: 700;
  137. transition: all .3s;
  138. color: #333333;
  139. }
  140. .hmly-menu-item-active:after{
  141. content: '';
  142. width: 40rpx;
  143. height: 8rpx;
  144. position: absolute;
  145. bottom: 0rpx;
  146. left: 50rpx;
  147. border-radius: 15rpx;
  148. background: #ff520f;
  149. }