videodetails.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  1. /* 返回 */
  2. .nav {
  3. background-color: #101010;
  4. z-index: 3;
  5. position: fixed;
  6. top: 0;
  7. left: 0;
  8. width: 100%;
  9. /* height: 10%; */
  10. height: .88rem;
  11. display: flex;
  12. }
  13. .back{
  14. position: absolute;
  15. left: 0;
  16. top: 0;
  17. z-index: 3;
  18. width: 10%;
  19. height: .88rem;
  20. display: flex;
  21. justify-content: center;
  22. align-items: center;
  23. }
  24. .back img {
  25. width: .18rem;
  26. }
  27. /* 页面标题 */
  28. .pageTitle {
  29. height: .88rem;
  30. width: 100%;
  31. display: flex;
  32. justify-content: center;
  33. align-items: center;
  34. }
  35. .pageTitle img {
  36. width: 1.6rem;
  37. height: .8rem;
  38. }
  39. .videoLook {
  40. padding: 1rem .26rem;
  41. padding-bottom: 0;
  42. }
  43. iframe, video {
  44. width: 100%;
  45. height: 4rem;
  46. }
  47. .shop {
  48. border: .02rem solid #000;
  49. margin: .2rem .26rem;
  50. /* padding: .2rem; */
  51. display: flex;
  52. justify-content: space-between;
  53. align-items: center;
  54. }
  55. .shop p {
  56. text-align: center;
  57. margin-left: .2rem;
  58. }
  59. .fabulous,.collection {
  60. display: flex;
  61. justify-content: center;
  62. align-items: center;
  63. width: 3.34rem;
  64. height: .8rem;
  65. background-color: #1C1A1B;
  66. border-radius: .16rem;
  67. }
  68. .fabulous img {
  69. width: .28rem;
  70. }
  71. .collection img {
  72. width: .32rem;
  73. }
  74. .details {
  75. border: .02rem solid #000;
  76. padding: .2rem;
  77. margin: .2rem .26rem;
  78. display: flex;
  79. background-color: #1C1A1B;
  80. border-radius: .08rem;
  81. }
  82. .details p {
  83. min-width: .8rem;
  84. /* float: left; */
  85. }
  86. .comment {
  87. padding: .3rem .26rem;
  88. }
  89. .commentTitle {
  90. color: #EAEAEA;
  91. font-size: .38rem;
  92. }
  93. .commentList {
  94. }
  95. .commentContent {
  96. margin-top: .3rem;
  97. }
  98. .commentUser {
  99. display: flex;
  100. align-items: center;
  101. }
  102. .background {
  103. background-color: #1C1A1B;
  104. height: .48rem;
  105. }
  106. .commentUserImg {
  107. width: .4rem;
  108. height: .44rem;
  109. }
  110. .commentUserName {
  111. margin-left: .2rem;
  112. color: #CCCCCC;
  113. }
  114. .commentTime {
  115. margin-left: .2rem;
  116. color: #CCCCCC;
  117. font-size: .24rem;
  118. }
  119. .commentText {
  120. margin-top: .2rem;
  121. margin-left: .6rem;
  122. color: #CCCCCC;
  123. font-size: .28rem;
  124. }
  125. .commentBox {
  126. margin-top: .2rem;
  127. padding: .3rem;
  128. background-color: #2f2f2f;
  129. height: 1.4rem;
  130. }
  131. textarea {
  132. background-color: #2f2f2f;
  133. border: none;
  134. outline: none;
  135. resize: none;
  136. height: 100%;
  137. line-height: 100%;
  138. width: 100%;
  139. color: #fff;
  140. }
  141. .accountAndSend {
  142. margin-top: .3rem;
  143. display: flex;
  144. justify-content: space-between;
  145. align-items: center;
  146. }
  147. .account {
  148. display: flex;
  149. align-items: center;
  150. }
  151. .userImg {
  152. width: .4rem;
  153. height: 0.44rem;
  154. }
  155. .userName {
  156. color: #CCCCCC;
  157. margin-left: .2rem;
  158. }
  159. .sendBtn {
  160. width: 2.6rem;
  161. height: .88rem;
  162. line-height: .88rem;
  163. text-align: center;
  164. background-color: #CE5C2A;
  165. border-radius: .16rem;
  166. color: #EAEAEA;
  167. font-size: .32rem;
  168. }
  169. .video {
  170. padding: .3rem 13px .12rem 13px;
  171. }
  172. /* 单条视频 */
  173. .videoContent {
  174. background-color: #1C1A1B;
  175. width: 7rem;
  176. min-height: 4rem;
  177. border-radius: 5px;
  178. margin-bottom: 10px;
  179. }
  180. .loading {
  181. display: flex;
  182. flex-direction: column;
  183. align-items: center;
  184. justify-content: center;
  185. }
  186. .loadingImg {
  187. width: 80px;
  188. height: 76px;
  189. }
  190. .loadingText {
  191. text-align: center;
  192. margin-top: 4px;
  193. color: #8E8D8D;
  194. font-size: 12px;
  195. }
  196. .videoPhoto {
  197. width: 7rem;
  198. height: 3.6rem;
  199. background-repeat: no-repeat;
  200. background-position: 50% 50%;
  201. background-size: cover;
  202. border-top-left-radius:4px;
  203. border-top-right-radius:4px;
  204. }
  205. .videoImg {
  206. width:100%;
  207. height:100%;
  208. border-top-left-radius: 5px;
  209. border-top-right-radius: 5px;
  210. }
  211. .videoTitle {
  212. height: .9rem;
  213. text-align: left;
  214. font-size: .28rem;
  215. margin: .2rem .3rem 0 .3rem;
  216. /* 两行展示 */
  217. overflow: hidden;
  218. display: -webkit-box;
  219. -webkit-line-clamp: 2;
  220. -webkit-box-orient: vertical;
  221. word-break: break-all;
  222. }
  223. .videoData {
  224. display: flex;
  225. justify-content: space-between;
  226. align-items: center;
  227. margin: .1rem .3rem .2rem .3rem;
  228. }
  229. .videoDataLeft {
  230. display: flex;
  231. align-items: center;
  232. }
  233. .videoDataImgLook {
  234. width:.3rem;
  235. height: .2rem;
  236. }
  237. .videoDataImgZan {
  238. width:.28rem;
  239. height: .3rem;
  240. }
  241. .videoText {
  242. margin-left: .1rem;
  243. font-size: .24rem;
  244. }
  245. .videoDataRgiht {
  246. display: flex;
  247. align-items: center;
  248. }
  249. /* 底部标签栏 */
  250. .tabbar {
  251. position: fixed;
  252. bottom: 0;
  253. left: 0;
  254. height: .88rem;
  255. width: 100%;
  256. padding-top: .12rem;
  257. background-color: #000;
  258. z-index: 1;
  259. font-size: .24rem;
  260. }
  261. .currentTab {
  262. display: block;
  263. color: #CE5C2A;
  264. }
  265. .tabbar li {
  266. list-style: none;
  267. display: flex;
  268. flex-direction: column;
  269. justify-content: center;
  270. align-items: center;
  271. float: left;
  272. width: 50%;
  273. text-align: center;
  274. }
  275. .tabbar li img {
  276. width: .36rem;
  277. height: .36rem;
  278. margin-bottom: .12rem;
  279. }
  280. .tip {
  281. width: 6rem;
  282. height: 1rem;
  283. color: #fff;
  284. position: fixed;
  285. top: 50%;
  286. left: 50%;
  287. transform: translate(-50%,-50%);
  288. display: none;
  289. }
  290. .textwrap {
  291. display: flex;
  292. justify-content: center;
  293. align-items: center;
  294. }
  295. .tiptext {
  296. background-color: #000;
  297. border-radius: .1rem;
  298. text-align: center;
  299. padding: .1rem .2rem;
  300. }
  301. .videoNameText {
  302. width: 2rem;
  303. }
  304. .videoName {
  305. width: 5rem;
  306. text-align: left;
  307. overflow: hidden;
  308. display: -webkit-box;
  309. -webkit-line-clamp: 2;
  310. -webkit-box-orient: vertical;
  311. word-break: break-all;
  312. }