testResult.wxss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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. background-color: #FDF7F0;
  28. height: 100%;
  29. }
  30. .content .cont {
  31. position: relative;
  32. width: 100%;
  33. display: flex;
  34. flex-direction: column;
  35. }
  36. .content .cont .bg {
  37. width: 100%;
  38. height: 100%;
  39. position: fixed;
  40. z-index: 1;
  41. }
  42. .content .cont .bg image {
  43. width: 100%;
  44. height: 100%;
  45. }
  46. .content .cont .cont-box {
  47. z-index: 1000;
  48. margin-top: 88rpx;
  49. }
  50. .content .cont .cont-box .user {
  51. width: 100%;
  52. display: flex;
  53. flex-direction: column;
  54. align-items: center;
  55. justify-content: center;
  56. padding: 30rpx;
  57. }
  58. .content .cont .cont-box .user image {
  59. border-radius: 50%;
  60. border: 2rpx solid #ffffff;
  61. width: 120rpx;
  62. height: 120rpx;
  63. }
  64. .content .cont .cont-box .user .user-box {
  65. padding: 30rpx;
  66. display: flex;
  67. align-items: center;
  68. justify-content: center;
  69. }
  70. .content .cont .cont-box .user .user-box .sex {
  71. font-weight: bold;
  72. font-size: 40supx;
  73. font-family: PingFang SC;
  74. color: #925924;
  75. }
  76. .content .cont .cont-box .user .user-box .username {
  77. margin-left: 15rpx;
  78. font-size: 40supx;
  79. font-family: PingFang SC;
  80. color: #925924;
  81. }
  82. .content .cont .cont-box .items {
  83. width: 100%;
  84. display: flex;
  85. flex-direction: column;
  86. align-items: flex-start;
  87. justify-content: flex-start;
  88. padding: 20rpx;
  89. }
  90. .content .cont .cont-box .items .result-box {
  91. width: 100%;
  92. display: flex;
  93. flex-direction: column;
  94. align-items: center;
  95. justify-content: center;
  96. padding: 30rpx;
  97. background-color: #fff;
  98. border-radius: 15rpx;
  99. margin-bottom: 15rpx;
  100. }
  101. .content .cont .cont-box .items .result-box .time {
  102. margin-top: 15rpx;
  103. font-family: PingFang SC;
  104. font-size: 24rpx;
  105. color: #9B9B9B;
  106. }
  107. .content .cont .cont-box .items .result-box .title {
  108. margin-top: 15rpx;
  109. font-family: PingFang SC;
  110. font-size: 28rpx;
  111. color: #626468;
  112. }
  113. .content .cont .cont-box .items .result-box .name {
  114. margin-top: 30rpx;
  115. font-family: PingFang SC;
  116. font-weight: bold;
  117. font-size: 60rpx;
  118. color: #925924;
  119. }
  120. .content .cont .cont-box .items .result-box .descs {
  121. font-family: PingFang SC;
  122. font-size: 28rpx;
  123. color: #2A2B2E;
  124. padding: 30rpx;
  125. margin-top: 30rpx;
  126. background-color: #F5F6F6;
  127. border-radius: 10rpx;
  128. }
  129. .content .cont .cont-box .items .item-box {
  130. width: 100%;
  131. }
  132. .content .cont .cont-box .items .item-box .item {
  133. width: 100%;
  134. padding: 30rpx;
  135. background-color: #fff;
  136. border-radius: 30rpx;
  137. }
  138. .content .cont .cont-box .items .item-box .item .title-box {
  139. display: flex;
  140. align-items: center;
  141. justify-content: flex-start;
  142. }
  143. .content .cont .cont-box .items .item-box .item .title-box .title {
  144. margin-left: 10rpx;
  145. font-size: 32supx;
  146. font-family: PingFang SC;
  147. color: #925924;
  148. font-weight: bold;
  149. }
  150. .content .cont .cont-box .items .item-box .item .title-box .title-line {
  151. width: 8rpx;
  152. height: 28rpx;
  153. background: #2BC7B9;
  154. border-radius: 2px 2px 2px 2px;
  155. opacity: 1;
  156. }
  157. .content .cont .cont-box .items .item-box .item .descs {
  158. white-space: pre-line;
  159. margin-top: 10rpx;
  160. font-size: 28supx;
  161. font-family: PingFang SC;
  162. color: #2A2B2E;
  163. }
  164. .content .cont .cont-box .items .item-box .line {
  165. margin: 0rpx 30rpx;
  166. border-bottom: #b5b5b5 3rpx dashed;
  167. }
  168. .content .cont .cont-box .tips {
  169. width: 100%;
  170. display: flex;
  171. align-items: center;
  172. justify-content: center;
  173. margin: 15rpx 0rpx;
  174. color: #9B9B9B;
  175. font-size: 24rpx;
  176. }
  177. .content .cont .cont-box .banner {
  178. height: 250rpx;
  179. width: 100%;
  180. padding: 15rpx 20rpx;
  181. }
  182. .share {
  183. width: 100rpx;
  184. height: 100rpx;
  185. z-index: 9999;
  186. border-radius: 50%;
  187. position: fixed;
  188. bottom: 100rpx;
  189. right: 50rpx;
  190. background-color: #925924;
  191. color: #fff;
  192. font-weight: bold;
  193. font-size: 28rpx;
  194. display: flex;
  195. flex-direction: column;
  196. align-items: center;
  197. justify-content: center;
  198. }