doc.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. justify-content: space-between;
  35. }
  36. .content .inner {
  37. flex: 1;
  38. padding: 20rpx 20rpx 160rpx;
  39. }
  40. .content .inner .item {
  41. background: #FFFFFF;
  42. border-radius: 20rpx;
  43. margin-bottom: 20rpx;
  44. padding: 40rpx 30rpx;
  45. }
  46. .content .inner .item:last-child {
  47. margin-bottom: 0;
  48. }
  49. .content .inner .item .user-info {
  50. display: flex;
  51. align-items: center;
  52. }
  53. .content .inner .item .user-info .name {
  54. font-size: 36rpx;
  55. font-family: PingFang SC;
  56. font-weight: bold;
  57. color: #111111;
  58. line-height: 1;
  59. margin-right: 20rpx;
  60. }
  61. .content .inner .item .user-info .gray-tag {
  62. height: 46rpx;
  63. line-height: 46rpx;
  64. padding: 0 16rpx;
  65. font-size: 24rpx;
  66. font-family: PingFang SC;
  67. font-weight: 500;
  68. color: #333333;
  69. background: #F7F7F7;
  70. border-radius: 8rpx;
  71. margin-right: 10rpx;
  72. }
  73. .content .inner .item .user-info .blue-tag {
  74. height: 46rpx;
  75. line-height: 46rpx;
  76. padding: 0 16rpx;
  77. font-size: 24rpx;
  78. font-family: PingFang SC;
  79. font-weight: bold;
  80. color: #4BC9B1;
  81. background: #E2F6F2;
  82. border-radius: 8rpx;
  83. }
  84. .content .inner .item .stage-box {
  85. white-space: nowrap;
  86. overflow: hidden;
  87. text-overflow: ellipsis;
  88. margin-top: 34rpx;
  89. }
  90. .content .inner .item .stage-box .stage {
  91. font-size: 26rpx;
  92. font-family: PingFang SC;
  93. font-weight: 500;
  94. color: #111111;
  95. line-height: 1;
  96. }
  97. .content .inner .item .stage-box .stage-text {
  98. font-size: 26rpx;
  99. font-family: PingFang SC;
  100. font-weight: 500;
  101. color: #666666;
  102. line-height: 1;
  103. }
  104. .content .inner .item .progress-box {
  105. margin-top: 18rpx;
  106. }
  107. .content .inner .item .period {
  108. font-size: 28rpx;
  109. font-family: PingFang SC;
  110. font-weight: 500;
  111. color: #999999;
  112. line-height: 1;
  113. margin-top: 40rpx;
  114. }
  115. .content .btn-box {
  116. z-index: 9999;
  117. width: 100%;
  118. padding: 30rpx;
  119. position: fixed;
  120. bottom: 0;
  121. left: 0;
  122. box-sizing: border-box;
  123. background: #FFFFFF;
  124. }
  125. .content .btn-box .sub-btn {
  126. width: 100%;
  127. height: 88rpx;
  128. line-height: 88rpx;
  129. text-align: center;
  130. font-size: 30rpx;
  131. font-family: PingFang SC;
  132. font-weight: bold;
  133. color: #FFFFFF;
  134. background: #2BC7B9;
  135. border-radius: 44rpx;
  136. }