questionsDetails.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. page {
  27. height: 100%;
  28. }
  29. .content {
  30. height: 100%;
  31. display: flex;
  32. flex-direction: column;
  33. }
  34. .detail-cont {
  35. flex: 1;
  36. padding: 40rpx;
  37. overflow-y: auto;
  38. }
  39. .detail-cont .title {
  40. font-size: 40rpx;
  41. font-family: PingFang SC;
  42. color: #222222;
  43. line-height: 70rpx;
  44. }
  45. .detail-cont .info {
  46. display: flex;
  47. align-items: center;
  48. font-size: 24rpx;
  49. font-family: PingFang SC;
  50. font-weight: 500;
  51. color: #999999;
  52. line-height: 48rpx;
  53. margin: 23rpx 0;
  54. }
  55. .detail-cont .info .reads {
  56. margin-right: 30rpx;
  57. }
  58. .detail-cont .full-text {
  59. font-size: 36rpx;
  60. font-family: PingFang SC;
  61. color: #222222;
  62. line-height: 60rpx;
  63. }
  64. .ad {
  65. margin-bottom: 50rpx;
  66. width: 100%;
  67. padding: 15rpx;
  68. }
  69. .recent-reads {
  70. flex-shrink: 0;
  71. box-sizing: border-box;
  72. height: 121rpx;
  73. background: #FFFFFF;
  74. border-top: 1px solid #F0F0F0;
  75. padding: 0 40rpx 0 37rpx;
  76. display: flex;
  77. align-items: center;
  78. justify-content: space-between;
  79. }
  80. .recent-reads .left {
  81. display: flex;
  82. align-items: center;
  83. }
  84. .recent-reads .left .label {
  85. font-size: 28rpx;
  86. font-family: PingFang SC;
  87. font-weight: 500;
  88. color: #666666;
  89. line-height: 1;
  90. margin-right: 20rpx;
  91. }
  92. .recent-reads .left .peop-box {
  93. display: flex;
  94. align-items: center;
  95. }
  96. .recent-reads .left .peop-box .head-box {
  97. margin-right: 28rpx;
  98. display: flex;
  99. align-items: center;
  100. }
  101. .recent-reads .left .peop-box .head-box .head {
  102. width: 48rpx;
  103. height: 48rpx;
  104. border-radius: 50%;
  105. overflow: hidden;
  106. box-shadow: 0 0 0 1px #fff;
  107. margin-right: -10rpx;
  108. }
  109. .recent-reads .left .peop-box .head-box .head image {
  110. width: 100%;
  111. height: 100%;
  112. }
  113. .recent-reads .left .peop-box .arrow {
  114. width: 13rpx;
  115. height: 23rpx;
  116. }
  117. .recent-reads .share-btn {
  118. position: relative;
  119. width: 240rpx;
  120. height: 80rpx;
  121. line-height: 80rpx;
  122. font-size: 30rpx;
  123. font-family: PingFang SC;
  124. font-weight: 500;
  125. color: #FFFFFF;
  126. background: #C39A58;
  127. border-radius: 40rpx;
  128. display: flex;
  129. align-items: center;
  130. justify-content: center;
  131. }
  132. .recent-reads .share-btn image {
  133. width: 32rpx;
  134. height: 32rpx;
  135. margin-right: 15rpx;
  136. }
  137. .recent-reads .share-btn .share {
  138. position: absolute;
  139. width: 100%;
  140. height: 100%;
  141. opacity: 0;
  142. }
  143. .inquiry {
  144. width: 131rpx;
  145. height: 131rpx;
  146. position: fixed;
  147. right: 22rpx;
  148. bottom: 193rpx;
  149. z-index: 99;
  150. }
  151. .inquiry .content {
  152. position: relative;
  153. }
  154. .inquiry .content image {
  155. width: 100%;
  156. height: 100%;
  157. position: absolute;
  158. top: 0;
  159. left: 0;
  160. z-index: 9;
  161. }
  162. .inquiry .content .text {
  163. position: absolute;
  164. top: 70rpx;
  165. left: 50%;
  166. transform: translateX(-50%);
  167. z-index: 10;
  168. font-size: 22rpx;
  169. font-family: PingFang SC;
  170. font-weight: bold;
  171. color: #C39A58;
  172. line-height: 1;
  173. }
  174. .contact-btn {
  175. display: inline-block;
  176. position: absolute;
  177. top: 0;
  178. left: 0;
  179. width: 100%;
  180. height: 100%;
  181. opacity: 0;
  182. z-index: 9999;
  183. }