business.scss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. /* 业务通用样式 - 列表卡片 (项目列表、待办列表等) */
  2. .common-list-card {
  3. background-color: #fff;
  4. border-radius: 16rpx;
  5. padding: 30rpx;
  6. margin-bottom: 24rpx;
  7. box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.03);
  8. position: relative;
  9. overflow: hidden;
  10. &::before {
  11. content: '';
  12. position: absolute;
  13. left: 0;
  14. top: 0;
  15. width: 6rpx;
  16. height: 100%;
  17. background-color: #1c9bfd;
  18. }
  19. .card-header {
  20. display: flex;
  21. justify-content: space-between;
  22. align-items: flex-start;
  23. margin-bottom: 24rpx;
  24. padding-bottom: 20rpx;
  25. border-bottom: 2rpx dashed #eee;
  26. .title {
  27. font-size: 32rpx;
  28. font-weight: bold;
  29. color: #343A3F;
  30. flex: 1;
  31. margin-right: 20rpx;
  32. line-height: 1.4;
  33. overflow: hidden;
  34. text-overflow: ellipsis;
  35. display: -webkit-box;
  36. -webkit-line-clamp: 2;
  37. -webkit-box-orient: vertical;
  38. line-clamp: 2;
  39. white-space: normal;
  40. }
  41. .status-tag {
  42. font-size: 24rpx;
  43. padding: 6rpx 16rpx;
  44. border-radius: 8rpx;
  45. white-space: nowrap;
  46. &.status-05 {
  47. color: #8c8c8c;
  48. background-color: rgba(140, 140, 140, 0.1);
  49. }
  50. // 待立项
  51. &.status-10 {
  52. color: #1c9bfd;
  53. background-color: rgba(28, 155, 253, 0.1);
  54. }
  55. // 立项
  56. &.status-20 {
  57. color: #52c41a;
  58. background-color: rgba(82, 196, 26, 0.1);
  59. }
  60. // 在研
  61. &.status-30 {
  62. color: #faad14;
  63. background-color: rgba(250, 173, 20, 0.1);
  64. }
  65. // 结题验收
  66. &.status-40 {
  67. color: #f5222d;
  68. background-color: rgba(245, 34, 45, 0.1);
  69. }
  70. // 中止
  71. }
  72. }
  73. .card-body {
  74. .info-item {
  75. display: flex;
  76. padding: 16rpx 0;
  77. border-bottom: 2rpx dashed #f5f5f5;
  78. font-size: 28rpx;
  79. line-height: 1.5;
  80. &:last-child {
  81. border-bottom: none;
  82. }
  83. .label {
  84. color: #343A3F;
  85. width: 180rpx;
  86. flex-shrink: 0;
  87. }
  88. .value {
  89. color: #585858;
  90. flex: 1;
  91. text-align: right;
  92. word-break: break-all;
  93. }
  94. .amount {
  95. color: #ff4d4f;
  96. font-weight: bold;
  97. font-family: din;
  98. font-size: 32rpx;
  99. }
  100. }
  101. }
  102. .card-footer {
  103. margin-top: 20rpx;
  104. padding-top: 20rpx;
  105. border-top: 2rpx solid #f5f5f5;
  106. display: flex;
  107. justify-content: flex-end;
  108. }
  109. }
  110. /* 业务通用样式 - 详情页分块卡片 */
  111. .common-section-card {
  112. background-color: #fff;
  113. border-radius: 20rpx;
  114. padding: 30rpx;
  115. margin-bottom: 24rpx;
  116. box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.03);
  117. .section-title {
  118. font-size: 32rpx;
  119. font-weight: bold;
  120. color: #1a1a1a;
  121. margin-bottom: 24rpx;
  122. padding-left: 20rpx;
  123. position: relative;
  124. &::before {
  125. content: '';
  126. position: absolute;
  127. left: 0;
  128. top: 50%;
  129. transform: translateY(-50%);
  130. width: 8rpx;
  131. height: 32rpx;
  132. background-color: #1c9bfd;
  133. border-radius: 4rpx;
  134. }
  135. }
  136. .info-row {
  137. display: flex;
  138. justify-content: space-between;
  139. padding: 16rpx 0;
  140. border-bottom: 1rpx solid #f8f8f8;
  141. font-size: 28rpx;
  142. &:last-child {
  143. border-bottom: none;
  144. }
  145. .label {
  146. color: #8c8c8c;
  147. width: 180rpx;
  148. flex-shrink: 0;
  149. }
  150. .value {
  151. color: #262626;
  152. flex: 1;
  153. text-align: right;
  154. word-break: break-all;
  155. }
  156. &.column {
  157. flex-direction: column;
  158. align-items: flex-start;
  159. .label {
  160. margin-bottom: 12rpx;
  161. color: #909399;
  162. }
  163. .value {
  164. text-align: left !important;
  165. width: 100%;
  166. }
  167. }
  168. .remark {
  169. background-color: #f8fafc;
  170. padding: 20rpx;
  171. border-radius: 12rpx;
  172. font-size: 26rpx;
  173. line-height: 1.6;
  174. color: #606266;
  175. min-height: 80rpx;
  176. width: 100%;
  177. box-sizing: border-box;
  178. }
  179. }
  180. }
  181. /* 业务通用样式 - 统一附件列表样式 (项目文档) */
  182. .common-file-list {
  183. .file-item {
  184. display: flex;
  185. align-items: center;
  186. padding: 24rpx 0;
  187. border-bottom: 2rpx dashed #f5f5f5;
  188. &:last-child {
  189. border-bottom: none;
  190. }
  191. .file-info {
  192. flex: 1;
  193. display: flex;
  194. flex-direction: column;
  195. .f-name {
  196. font-size: 28rpx;
  197. color: #343A3F;
  198. font-weight: 500;
  199. margin-bottom: 12rpx;
  200. word-break: break-all;
  201. }
  202. .f-meta {
  203. display: flex;
  204. justify-content: space-between;
  205. align-items: center;
  206. font-size: 24rpx;
  207. .f-type {
  208. color: #1677ff;
  209. background-color: #e6f4ff;
  210. padding: 4rpx 12rpx;
  211. border-radius: 6rpx;
  212. }
  213. .f-date {
  214. color: #585858;
  215. }
  216. }
  217. }
  218. }
  219. }