detail.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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. page {
  28. height: 100%;
  29. }
  30. .content {
  31. height: 100%;
  32. display: flex;
  33. flex-direction: column;
  34. }
  35. .detail-cont {
  36. flex: 1;
  37. padding: 40rpx;
  38. overflow-y: auto;
  39. }
  40. .detail-cont .title {
  41. font-size: 40rpx;
  42. font-family: PingFang SC;
  43. color: #222222;
  44. line-height: 70rpx;
  45. }
  46. .detail-cont .info {
  47. display: flex;
  48. align-items: center;
  49. font-size: 24rpx;
  50. font-family: PingFang SC;
  51. font-weight: 500;
  52. color: #999999;
  53. line-height: 48rpx;
  54. margin: 23rpx 0;
  55. }
  56. .detail-cont .info .reads {
  57. margin-right: 30rpx;
  58. }
  59. .detail-cont .full-text {
  60. font-size: 36rpx;
  61. font-family: PingFang SC;
  62. color: #222222;
  63. line-height: 60rpx;
  64. }
  65. .recent-reads {
  66. flex-shrink: 0;
  67. box-sizing: border-box;
  68. height: 121rpx;
  69. background: #FFFFFF;
  70. border-top: 1px solid #F0F0F0;
  71. padding: 0 40rpx 0 37rpx;
  72. display: flex;
  73. align-items: center;
  74. justify-content: space-between;
  75. }
  76. .recent-reads .left {
  77. display: flex;
  78. align-items: center;
  79. }
  80. .recent-reads .left .label {
  81. font-size: 28rpx;
  82. font-family: PingFang SC;
  83. font-weight: 500;
  84. color: #666666;
  85. line-height: 1;
  86. margin-right: 20rpx;
  87. }
  88. .recent-reads .left .peop-box {
  89. display: flex;
  90. align-items: center;
  91. }
  92. .recent-reads .left .peop-box .head-box {
  93. margin-right: 28rpx;
  94. display: flex;
  95. align-items: center;
  96. }
  97. .recent-reads .left .peop-box .head-box .head {
  98. width: 48rpx;
  99. height: 48rpx;
  100. border-radius: 50%;
  101. overflow: hidden;
  102. box-shadow: 0 0 0 1px #fff;
  103. margin-right: -10rpx;
  104. }
  105. .recent-reads .left .peop-box .head-box .head image {
  106. width: 100%;
  107. height: 100%;
  108. }
  109. .recent-reads .left .peop-box .arrow {
  110. width: 13rpx;
  111. height: 23rpx;
  112. }
  113. .recent-reads .share-btn {
  114. position: relative;
  115. width: 240rpx;
  116. height: 80rpx;
  117. line-height: 80rpx;
  118. font-size: 30rpx;
  119. font-family: PingFang SC;
  120. font-weight: 500;
  121. color: #FFFFFF;
  122. background: #2BC7B9;
  123. border-radius: 40rpx;
  124. display: flex;
  125. align-items: center;
  126. justify-content: center;
  127. }
  128. .recent-reads .share-btn image {
  129. width: 32rpx;
  130. height: 32rpx;
  131. margin-right: 15rpx;
  132. }
  133. .recent-reads .share-btn .share {
  134. position: absolute;
  135. width: 100%;
  136. height: 100%;
  137. opacity: 0;
  138. }
  139. .inquiry {
  140. width: 131rpx;
  141. height: 131rpx;
  142. position: fixed;
  143. right: 22rpx;
  144. bottom: 193rpx;
  145. z-index: 99;
  146. }
  147. .inquiry .content {
  148. position: relative;
  149. }
  150. .inquiry .content image {
  151. width: 100%;
  152. height: 100%;
  153. position: absolute;
  154. top: 0;
  155. left: 0;
  156. z-index: 9;
  157. }
  158. .inquiry .content .text {
  159. position: absolute;
  160. top: 70rpx;
  161. left: 50%;
  162. -webkit-transform: translateX(-50%);
  163. transform: translateX(-50%);
  164. z-index: 10;
  165. font-size: 22rpx;
  166. font-family: PingFang SC;
  167. font-weight: bold;
  168. color: #2BC7B9;
  169. line-height: 1;
  170. }
  171. .contact-btn {
  172. display: inline-block;
  173. position: absolute;
  174. top: 0;
  175. left: 0;
  176. width: 100%;
  177. height: 100%;
  178. opacity: 0;
  179. z-index: 9999;
  180. }