newDetail.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. /* pages/newDetail/newDetail.wxss */
  2. page {
  3. background-color: #ffffff;
  4. }
  5. .new-detail {
  6. padding-bottom: calc(var(--safe-area-inset-bottom, 0) + 118rpx);
  7. }
  8. .continer {
  9. display: flex;
  10. flex-direction: column;
  11. padding: 20rpx 30rpx;
  12. }
  13. .new-detail .title {
  14. font-size: 44rpx;
  15. font-family: PingFangSC-Semibold, PingFang SC;
  16. font-weight: 600;
  17. color: rgba(51, 51, 51, 1);
  18. margin: 20rpx 0 44rpx 0;
  19. }
  20. .new-detail .video-title {
  21. font-size: 36rpx;
  22. font-family: PingFangSC-Regular, PingFang SC;
  23. font-weight: 400;
  24. color: rgba(51, 51, 51, 1);
  25. margin-top: 30rpx;
  26. }
  27. .new-detail .video {
  28. width: 750rpx;
  29. height: 410rpx;
  30. margin-bottom: 10rpx;
  31. }
  32. .new-detail .video-placeholder {
  33. width: 750rpx;
  34. height: 410rpx;
  35. font-size: 32rpx;
  36. color: #999999;
  37. text-align: center;
  38. line-height: 410rpx;
  39. margin-bottom: 10rpx;
  40. background-color: #f6f6f6;
  41. }
  42. .new-detail .time {
  43. font-size: 28rpx;
  44. font-family: PingFangSC-Regular, PingFang SC;
  45. font-weight: 400;
  46. color: rgba(180, 180, 180, 1);
  47. margin-top: 20rpx;
  48. margin-right: 10rpx;
  49. }
  50. .new-detail .parser {
  51. overflow-x: hidden;
  52. margin-top: 44rpx;
  53. }
  54. .new-detail .imgs-wrap {
  55. display: flex;
  56. flex-wrap: wrap;
  57. }
  58. .new-detail .img {
  59. width: 100%;
  60. margin-top: 20rpx;
  61. }
  62. .new-detail .bottom-wrap {
  63. position: fixed;
  64. left: 0;
  65. right: 0;
  66. bottom: 0;
  67. display: flex;
  68. padding-top: 13rpx;
  69. padding-bottom: calc(var(--safe-area-inset-bottom, 0) + 13rpx);
  70. background-color: #fff;
  71. }
  72. .new-detail .bottom-wrap .line {
  73. position: absolute;
  74. top: 0;
  75. left: 0;
  76. right: 0;
  77. height: 1rpx;
  78. background-color: #efefef;
  79. }
  80. .new-detail .bottom-wrap .btn-wrap {
  81. flex: 1;
  82. display: flex;
  83. align-items: center;
  84. justify-content: center;
  85. }
  86. .new-detail .bottom-wrap .share-btn {
  87. flex: 1;
  88. display: flex;
  89. flex-direction: row;
  90. align-items: center;
  91. justify-content: center;
  92. }
  93. .new-detail .bottom-wrap .btn-wrap .txt {
  94. font-size: 32rpx;
  95. font-family: PingFangSC-Regular, PingFang SC;
  96. font-weight: 400;
  97. color: rgba(51, 51, 51, 1);
  98. }
  99. .new-detail .bottom-wrap .btn-wrap .img {
  100. width: 42rpx;
  101. height: 42rpx;
  102. margin-right: 16rpx;
  103. }
  104. button {
  105. background-color: transparent;
  106. line-height: unset;
  107. border-radius: unset;
  108. padding: 0;
  109. margin: 0;
  110. }
  111. button::after,
  112. button::before {
  113. border: 0;
  114. padding: 0;
  115. margin: 0;
  116. }
  117. .tags-wrap {
  118. display: flex;
  119. flex-wrap: wrap;
  120. margin-top: 20rpx;
  121. }
  122. .tags-wrap .tag {
  123. font-size: 24rpx;
  124. font-family: PingFangSC-Medium, PingFang SC;
  125. font-weight: 500;
  126. color: rgba(51, 51, 51, 1);
  127. padding: 10rpx 20rpx;
  128. background: #f6f6f6;
  129. border-radius: 28px;
  130. margin-left: 20rpx;
  131. }
  132. .tags-wrap .tag:first-child {
  133. margin-left: 0;
  134. }
  135. .mask {
  136. position: fixed;
  137. top: 0;
  138. left: 0;
  139. bottom: 0;
  140. right: 0;
  141. background: rgba(0, 0, 0, 0.7);
  142. }
  143. .mask-container {
  144. position: relative;
  145. margin: 0 76rpx;
  146. margin-top: 40%;
  147. }
  148. .pose-close-img {
  149. width: 84rpx;
  150. height: 84rpx;
  151. margin: 40rpx auto;
  152. }
  153. .post-img {
  154. width: 100%;
  155. object-fit: contain;
  156. border-radius: 4rpx;
  157. }
  158. .save-btn {
  159. width: 436rpx;
  160. margin: 40rpx auto 0;
  161. font-size: 28rpx;
  162. font-family: PingFangSC-Regular, PingFang SC;
  163. font-weight: 400;
  164. color: rgba(255, 255, 255, 1);
  165. background: rgba(0, 0, 0, 1);
  166. border-radius: 38rpx;
  167. padding: 20rpx 20rpx;
  168. text-align: center;
  169. }
  170. button {
  171. background-color: transparent;
  172. line-height: unset;
  173. border-radius: unset;
  174. padding: 0;
  175. margin: 0;
  176. }
  177. button::after,
  178. button::before {
  179. border: 0;
  180. padding: 0;
  181. margin: 0;
  182. }
  183. .canvas-conatiner {
  184. position: absolute;
  185. top: 20000px;
  186. visibility: hidden;
  187. height: auto;
  188. background-color: transparent;
  189. }