_detail.scss 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. @import "./mixins";
  2. $maincolor : #ff6b1a;
  3. .page-video-detail{
  4. overflow: hidden;
  5. .mod-jieshuo{
  6. background: #FFFFFF;
  7. margin-top: px2rem(16);
  8. font-size: px2rem(32);
  9. padding: px2rem(30) 0 px2rem(10) 0;
  10. color: #181818;
  11. h2{
  12. line-height: px2rem(70);
  13. padding: 0 px2rem(24);
  14. }
  15. .list-ups{
  16. margin-right: px2rem(-24);
  17. padding-left: px2rem(24);
  18. white-space: nowrap;
  19. overflow-x: auto;
  20. overflow-y: hidden;
  21. li{
  22. border: 1px solid #d4d4d4;
  23. display: inline-block;
  24. vertical-align: middle;
  25. font-size: px2rem(28);
  26. color: #888888;
  27. line-height: px2rem(70);
  28. padding: 0 px2rem(36);
  29. border-radius: px2rem(35);
  30. padding: 0 px2rem(24);
  31. margin: px2rem(12) px2rem(24) px2rem(12) 0;
  32. &.active{
  33. color: $maincolor;
  34. border: 1px solid $maincolor;
  35. }
  36. }
  37. }
  38. .list-jieshuo{
  39. overflow: hidden;
  40. max-height: px2rem(540);
  41. &.is-scroll{
  42. height: px2rem(540);
  43. }
  44. li{
  45. border-top: 1px solid #dcdcdc;
  46. &:first-child{
  47. border: 0;
  48. }
  49. }
  50. a{
  51. padding: px2rem(20) px2rem(24);
  52. display: flex;
  53. color: #181818;
  54. }
  55. .item-fl{
  56. position: relative;
  57. width: px2rem(240);
  58. height: px2rem(140);
  59. overflow: hidden;
  60. img{
  61. width: 100%;
  62. height: 100%;
  63. display: block;
  64. overflow: hidden;
  65. }
  66. em{
  67. position: absolute;
  68. top: 0;
  69. right: 0;
  70. line-height: px2rem(30);
  71. padding: 0 px2rem(10);
  72. color: #FFFFFF;
  73. font-size: px2rem(20);
  74. background: $maincolor;
  75. }
  76. }
  77. .item-fr{
  78. flex: 1;
  79. padding-left: px2rem(20);
  80. }
  81. h3{
  82. line-height: px2rem(44);
  83. height: px2rem(88);
  84. @include ellipsis-clamp(2);
  85. }
  86. p{
  87. display: flex;
  88. margin-top: px2rem(16);
  89. font-size: px2rem(24);
  90. color: #919090;
  91. line-height: px2rem(36);
  92. height: px2rem(36);
  93. overflow: hidden;
  94. img{
  95. width: px2rem(36);
  96. height: px2rem(36);
  97. border-radius: 50%;
  98. vertical-align: middle;
  99. margin-right: px2rem(12);
  100. }
  101. }
  102. }
  103. .btn-more{
  104. color: #999;
  105. display: block;
  106. text-align: center;
  107. font-size: px2rem(26);
  108. line-height: px2rem(70);
  109. &:after{
  110. content: '';
  111. position: relative;
  112. top: px2rem(-6);
  113. display: inline-block;
  114. width: px2rem(10);
  115. height: px2rem(10);
  116. border: 1px solid #999;
  117. border-top: 0;
  118. border-right: 0;
  119. vertical-align: middle;
  120. transform: rotate(-45deg);
  121. margin-left: px2rem(10);
  122. }
  123. }
  124. }
  125. .mod-album{
  126. margin-top: px2rem(16);
  127. background: #FFFFFF;
  128. padding: px2rem(10) px2rem(24) 0 px2rem(24);
  129. h2{
  130. line-height: px2rem(90);
  131. font-size: px2rem(32);
  132. }
  133. .list-album{
  134. white-space: nowrap;
  135. overflow-x: auto;
  136. overflow-y: hidden;
  137. -webkit-overflow-scrolling: touch;
  138. li{
  139. display: inline-block;
  140. width: px2rem(306);
  141. height: px2rem(180);
  142. margin-right: px2rem(16);
  143. overflow: hidden;
  144. text-align: center;
  145. position: relative;
  146. vertical-align: middle;
  147. background-size: cover;
  148. background-position: center;
  149. &.item-preview{
  150. font-size: px2rem(28);
  151. a{
  152. position: relative;
  153. display: block;
  154. height: 100%;
  155. }
  156. .mask{
  157. position: absolute;
  158. top: 0;
  159. left: 0;
  160. width: 100%;
  161. height: 100%;
  162. background: rgba(0,0,0,0.5);
  163. }
  164. h3{
  165. position: relative;
  166. color: #888888;
  167. display: inline-block;
  168. padding: 0 px2rem(40);
  169. border-bottom: 1px solid #d1d1d1;
  170. line-height: px2rem(60);
  171. margin: px2rem(34) 0 px2rem(14) 0;
  172. }
  173. p{
  174. position: relative;
  175. color: $maincolor;
  176. }
  177. }
  178. }
  179. }
  180. .btn-more{
  181. color: #999;
  182. display: block;
  183. text-align: center;
  184. font-size: px2rem(24);
  185. line-height: px2rem(100);
  186. }
  187. }
  188. }