newsDetail.wxss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .main .content.data-v-bdd4b674 {
  28. box-sizing: border-box;
  29. width: 100vw;
  30. padding: 0 15px;
  31. background-color: #ffffff;
  32. }
  33. .main .content .title.data-v-bdd4b674 {
  34. margin: 16px 0;
  35. }
  36. .main .content .fileBox.data-v-bdd4b674 {
  37. display: flex;
  38. flex-wrap: wrap;
  39. margin-top: 10px;
  40. }
  41. .main .content .fileBox .fileItem.data-v-bdd4b674 {
  42. width: 218rpx;
  43. height: 218rpx;
  44. background-color: #a5a5a5;
  45. position: relative;
  46. margin-right: 16rpx;
  47. }
  48. .main .content .fileBox .fileItem.data-v-bdd4b674:nth-child(3n) {
  49. margin-right: 0;
  50. }
  51. .main .content .fileBox .fileItem.data-v-bdd4b674:nth-child(n + 4) {
  52. margin-top: 16rpx;
  53. }
  54. .main .content .fileBox .fileItem .thumbnail.data-v-bdd4b674 {
  55. width: 100%;
  56. height: 100%;
  57. }
  58. .main .content .fileBox .fileItem .defaultFileItem.data-v-bdd4b674 {
  59. position: relative;
  60. width: 100%;
  61. height: 100%;
  62. }
  63. .main .content .fileBox .fileItem .defaultFileItem .playBtn.data-v-bdd4b674 {
  64. position: absolute;
  65. top: 50%;
  66. left: 50%;
  67. -webkit-transform: translate(-50%, -50%);
  68. transform: translate(-50%, -50%);
  69. width: 48rpx;
  70. height: 48rpx;
  71. }
  72. .main .content .newsTips.data-v-bdd4b674 {
  73. margin: 16px 0;
  74. font-size: 12px;
  75. color: #5c5f66;
  76. display: flex;
  77. align-items: center;
  78. justify-content: space-between;
  79. }
  80. .main .seat.data-v-bdd4b674 {
  81. height: 8px;
  82. width: 100%;
  83. background-color: #f7f7f9;
  84. }
  85. .main .commentBox.data-v-bdd4b674 {
  86. margin-top: 16px;
  87. box-sizing: border-box;
  88. width: 100vw;
  89. padding: 0 15px;
  90. background-color: #ffffff;
  91. }
  92. .main .commentBox .commentItem.data-v-bdd4b674 {
  93. margin-bottom: 10px;
  94. border-bottom: 1px solid #e8e9eb;
  95. padding: 8px 0;
  96. }
  97. .main .commentBox .commentItem .commentTitle.data-v-bdd4b674 {
  98. font-size: 14px;
  99. color: #151b26;
  100. }
  101. .main .commentBox .commentItem .commentTime.data-v-bdd4b674 {
  102. font-size: 12px;
  103. color: #5c5f66;
  104. margin-top: 10px;
  105. }
  106. .popupBottom.data-v-bdd4b674 {
  107. position: fixed;
  108. bottom: 0;
  109. left: 0;
  110. width: 100vw;
  111. height: 100vh;
  112. z-index: 100;
  113. display: flex;
  114. flex-direction: column;
  115. }
  116. .popupBottom .popupBg.data-v-bdd4b674 {
  117. position: fixed;
  118. left: 0;
  119. top: 0;
  120. width: 100%;
  121. height: 100%;
  122. background: rgba(0, 0, 0, 0.5);
  123. }
  124. .popupBottom .popupContent.data-v-bdd4b674 {
  125. height: 40%;
  126. margin-top: auto;
  127. background-color: #fff;
  128. position: relative;
  129. z-index: 11;
  130. }
  131. .popupBottom .popupSwiperBg.data-v-bdd4b674 {
  132. position: fixed;
  133. left: 0;
  134. top: 0;
  135. width: 100%;
  136. height: 100%;
  137. background: rgba(0, 0, 0, 0.5);
  138. display: flex;
  139. align-items: center;
  140. }
  141. .popupBottom .swiperDotBox.data-v-bdd4b674 {
  142. display: flex;
  143. justify-content: center;
  144. align-items: center;
  145. height: 100%;
  146. width: 100%;
  147. flex-direction: column;
  148. }
  149. .popupBottom .swiperDotBox .swiperBox.data-v-bdd4b674 {
  150. height: 85vh;
  151. width: 100%;
  152. }
  153. .popupBottom .swiperDotBox .swiperFileItem.data-v-bdd4b674 {
  154. width: 100%;
  155. height: 100%;
  156. }
  157. .popupBottom .swiperDotBox .swiperAudioBox.data-v-bdd4b674 {
  158. width: 100%;
  159. height: 100%;
  160. position: relative;
  161. }
  162. .popupBottom .swiperDotBox .swiperAudioItem.data-v-bdd4b674 {
  163. position: absolute;
  164. top: 50%;
  165. left: 50%;
  166. -webkit-transform: translate(-50%, -50%);
  167. transform: translate(-50%, -50%);
  168. z-index: 111;
  169. }
  170. .popupBottom .swiperDotBox .swiperPage.data-v-bdd4b674 {
  171. position: absolute;
  172. bottom: 20rpx;
  173. width: 100%;
  174. height: 30px;
  175. text-align: center;
  176. line-height: 30px;
  177. color: #ffffff;
  178. }