common.scss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. .document-form {
  2. padding: 20rpx 30rpx 60rpx;
  3. background-color: #f8fafc;
  4. .mt20 { margin-top: 32rpx; }
  5. /* 成果特有样式 - 内部小型预览卡片 */
  6. .achievement-card {
  7. display: flex;
  8. flex-direction: column;
  9. padding: 28rpx;
  10. background: #ffffff;
  11. border-radius: 20rpx;
  12. margin-top: 20rpx;
  13. border: 1rpx solid #e2e8f0;
  14. box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.02);
  15. .a-row {
  16. display: flex;
  17. font-size: 26rpx;
  18. margin-bottom: 16rpx;
  19. line-height: 1.4;
  20. &:last-child { margin-bottom: 0; }
  21. .al {
  22. color: #64748b;
  23. width: 160rpx;
  24. font-weight: 400;
  25. }
  26. .av {
  27. color: #1e293b;
  28. flex: 1;
  29. font-weight: 600;
  30. }
  31. }
  32. }
  33. /* 成员列表样式 - 在详情页中 */
  34. .member-list {
  35. .member-item {
  36. padding: 32rpx 0;
  37. border-bottom: 2rpx dashed #e2e8f0;
  38. &:last-child { border-bottom: none; }
  39. .member-header {
  40. display: flex;
  41. align-items: center;
  42. gap: 10rpx;
  43. margin-bottom: 20rpx;
  44. .m-name {
  45. font-size: 30rpx;
  46. font-weight: 800;
  47. color: #1e293b;
  48. flex: 1;
  49. min-width: 0;
  50. overflow: hidden;
  51. text-overflow: ellipsis;
  52. white-space: nowrap;
  53. }
  54. .m-tag {
  55. font-size: 22rpx;
  56. padding: 4rpx 16rpx;
  57. border-radius: 100rpx;
  58. background: #eff6ff;
  59. color: #3b82f6;
  60. font-weight: 700;
  61. flex-shrink: 0;
  62. }
  63. .m-type-tag {
  64. font-size: 22rpx;
  65. padding: 4rpx 16rpx;
  66. border-radius: 100rpx;
  67. background: #ecfdf5;
  68. color: #10b981;
  69. font-weight: 700;
  70. }
  71. }
  72. .m-body {
  73. background: #f8fafc;
  74. padding: 24rpx;
  75. border-radius: 16rpx;
  76. .m-line {
  77. display: flex;
  78. font-size: 26rpx;
  79. margin-bottom: 12rpx;
  80. &:last-child { margin-bottom: 0; }
  81. .l {
  82. color: #64748b;
  83. width: 160rpx;
  84. font-weight: 400;
  85. }
  86. .v {
  87. color: #1e293b;
  88. flex: 1;
  89. font-weight: 600;
  90. }
  91. }
  92. }
  93. }
  94. }
  95. /* 预算网格样式 - 经费/项目相关 */
  96. .funds-list {
  97. .funds-item {
  98. padding: 32rpx 0;
  99. border-bottom: 2rpx dashed #e2e8f0;
  100. &:last-child { border-bottom: none; }
  101. .f-row {
  102. display: flex;
  103. align-items: center;
  104. gap: 10rpx;
  105. margin-bottom: 20rpx;
  106. .f-name {
  107. font-size: 30rpx;
  108. color: #1e293b;
  109. font-weight: 800;
  110. flex: 1;
  111. min-width: 0;
  112. // overflow: hidden;
  113. // text-overflow: ellipsis;
  114. // white-space: nowrap;
  115. }
  116. .f-class {
  117. font-size: 24rpx;
  118. color: #94a3b8;
  119. font-weight: 500;
  120. flex-shrink: 0;
  121. }
  122. }
  123. .f-grid {
  124. display: grid;
  125. grid-template-columns: repeat(2, 1fr);
  126. gap: 16rpx;
  127. .g-item {
  128. display: flex;
  129. flex-direction: column;
  130. background: #ffffff;
  131. padding: 16rpx 20rpx;
  132. border-radius: 12rpx;
  133. border: 1rpx solid #f1f5f9;
  134. .gl {
  135. font-size: 22rpx;
  136. color: #94a3b8;
  137. margin-bottom: 8rpx;
  138. }
  139. .gv {
  140. font-size: 28rpx;
  141. color: #1e293b;
  142. font-weight: 800;
  143. font-family: 'Inter', sans-serif;
  144. }
  145. &.highlight {
  146. background: #eff6ff;
  147. border-color: #dbeafe;
  148. .gv { color: #3b82f6; }
  149. }
  150. }
  151. }
  152. }
  153. }
  154. .red-color {
  155. color: #ef4444 !important;
  156. font-weight: 800;
  157. }
  158. .primary-color {
  159. color: #3b82f6 !important;
  160. font-weight: 800;
  161. }
  162. /* 平台标签样式 - 用于展示所属平台 */
  163. .platform-tags {
  164. display: flex;
  165. flex-wrap: wrap;
  166. justify-content: flex-end;
  167. gap: 8rpx;
  168. .platform-tag {
  169. font-size: 20rpx;
  170. padding: 2rpx 12rpx;
  171. background-color: #f6f8fa;
  172. color: #64748b;
  173. border-radius: 4rpx;
  174. border: 1rpx solid #e2e8f0;
  175. }
  176. }
  177. /* 成员身份标签基础样式 */
  178. .m-type-tag {
  179. font-size: 20rpx;
  180. padding: 2rpx 12rpx;
  181. background-color: #ecfdf5;
  182. color: #10b981;
  183. border-radius: 100rpx;
  184. font-weight: 700;
  185. border: 1rpx solid #d1fae5;
  186. &.blue {
  187. background-color: #eff6ff;
  188. color: #3b82f6;
  189. border-color: #dbeafe;
  190. }
  191. }
  192. }