debug-styles.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  1. /* 调试样式文件 - 增强版本,确保布局正确显示 */
  2. @use '../ios-theme.scss' as *;
  3. /* 重置所有可能冲突的样式 - 使用最高优先级 */
  4. * {
  5. box-sizing: border-box !important;
  6. }
  7. /* 重置主内容区域样式 */
  8. .main-content {
  9. width: 100% !important;
  10. margin: 0 !important;
  11. padding: 0 !important;
  12. }
  13. /* 重置内容包装器样式 */
  14. .content-wrapper {
  15. width: 100% !important;
  16. margin: 0 !important;
  17. padding: 0 !important;
  18. }
  19. /* 重置项目详情容器 */
  20. .project-detail-container {
  21. padding: 20px !important;
  22. width: 100% !important;
  23. margin: 0 !important;
  24. }
  25. /* 重置标签页内容容器 */
  26. .tab-content {
  27. width: 100% !important;
  28. padding: 0 !important;
  29. margin: 0 !important;
  30. }
  31. /* 重置项目进度标签页内容 */
  32. .progress-tab-content {
  33. width: 100% !important;
  34. padding: 0 !important;
  35. margin: 0 !important;
  36. }
  37. /* 强制覆盖主内容布局样式 - 使用最高优先级 */
  38. .progress-tab-content > .main-content-layout {
  39. display: flex !important;
  40. flex-wrap: nowrap !important;
  41. gap: 20px !important;
  42. margin-top: 20px !important;
  43. width: 100% !important;
  44. background-color: transparent !important; // 去除调试底色
  45. padding: 20px !important;
  46. border-radius: 8px !important;
  47. }
  48. /* 强制覆盖左侧列样式 - 使用最高优先级 */
  49. .progress-tab-content > .main-content-layout > .left-column {
  50. width: 28% !important;
  51. min-width: 28% !important;
  52. max-width: 28% !important;
  53. display: flex !important;
  54. flex-direction: column !important;
  55. gap: 16px !important;
  56. background-color: transparent !important; // 去除左侧粉色底色
  57. padding: 8px !important;
  58. border-radius: 6px !important;
  59. }
  60. /* 强制覆盖右侧列样式 - 使用最高优先级 */
  61. .progress-tab-content > .main-content-layout > .right-column {
  62. width: 72% !important;
  63. min-width: 72% !important;
  64. max-width: 72% !important;
  65. display: flex !important;
  66. flex-direction: column !important;
  67. gap: 16px !important;
  68. background-color: transparent !important; // 去除右侧调试底色
  69. padding: 8px !important;
  70. border-radius: 6px !important;
  71. }
  72. /* 优化卡片样式 */
  73. .left-column .card,
  74. .right-column .card {
  75. background-color: white !important;
  76. border-radius: 8px !important;
  77. padding: 16px !important;
  78. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  79. border: 1px solid #eaeaea !important;
  80. }
  81. /* 客户信息卡片内部元素优化 */
  82. .left-column .project-info-card .info-grid {
  83. display: grid !important;
  84. grid-template-columns: 1fr 1fr !important;
  85. gap: 8px !important;
  86. margin-bottom: 12px !important;
  87. }
  88. .left-column .project-info-card .info-item {
  89. display: flex !important;
  90. flex-direction: column !important;
  91. padding: 8px !important;
  92. background: #f8f9fa !important;
  93. border-radius: 6px !important;
  94. border: 1px solid #e9ecef !important;
  95. font-size: 12px !important;
  96. }
  97. .left-column .project-info-card .info-item label {
  98. font-weight: 500 !important;
  99. color: #6c757d !important;
  100. margin-bottom: 4px !important;
  101. font-size: 11px !important;
  102. }
  103. .left-column .project-info-card .info-item span {
  104. color: #212529 !important;
  105. font-weight: 600 !important;
  106. font-size: 12px !important;
  107. }
  108. .left-column .project-info-card .tags-container {
  109. margin-top: 8px !important;
  110. }
  111. .left-column .project-info-card .tag-section {
  112. margin-bottom: 8px !important;
  113. }
  114. .left-column .project-info-card .tag-section h3 {
  115. font-size: 12px !important;
  116. font-weight: 600 !important;
  117. color: #495057 !important;
  118. margin-bottom: 6px !important;
  119. }
  120. .left-column .project-info-card .tags .tag {
  121. font-size: 10px !important;
  122. padding: 4px 8px !important;
  123. margin: 2px 4px 2px 0 !important;
  124. background-color: rgba(24, 144, 255, 0.08) !important;
  125. color: #1890ff !important;
  126. border-radius: 4px !important;
  127. }
  128. .left-column .project-info-card .need-list {
  129. margin: 0 !important;
  130. padding-left: 12px !important;
  131. }
  132. .left-column .project-info-card .need-list li {
  133. font-size: 11px !important;
  134. color: #495057 !important;
  135. margin-bottom: 3px !important;
  136. }
  137. .left-column .project-info-card .requirement-sync-info {
  138. margin-top: 8px !important;
  139. padding: 8px !important;
  140. background: #f1f3f4 !important;
  141. border-radius: 6px !important;
  142. }
  143. .left-column .project-info-card .requirement-sync-info h4 {
  144. font-size: 11px !important;
  145. font-weight: 600 !important;
  146. color: #495057 !important;
  147. margin-bottom: 6px !important;
  148. }
  149. /* 确保响应式布局正常工作 */
  150. @media (max-width: 1024px) {
  151. .progress-tab-content > .main-content-layout {
  152. flex-direction: column !important;
  153. }
  154. .progress-tab-content > .main-content-layout > .left-column,
  155. .progress-tab-content > .main-content-layout > .right-column {
  156. width: 100% !important;
  157. min-width: 100% !important;
  158. max-width: 100% !important;
  159. }
  160. }
  161. /* ===================== 四大板块:工具条与内容样式(调试版) ===================== */
  162. .sections-toolbar {
  163. display: flex;
  164. gap: $ios-spacing-md;
  165. padding: $ios-spacing-sm;
  166. background: $ios-background-secondary;
  167. border-radius: $ios-radius-lg;
  168. border: 1px solid $ios-border;
  169. margin: $ios-spacing-md 0 $ios-spacing-lg;
  170. }
  171. .section-btn {
  172. appearance: none;
  173. border: 1px solid $ios-border;
  174. background: $ios-background;
  175. color: $ios-text-primary;
  176. padding: $ios-spacing-sm $ios-spacing-lg;
  177. border-radius: $ios-radius-md;
  178. font-size: $ios-font-size-sm;
  179. font-weight: $ios-font-weight-medium;
  180. cursor: pointer;
  181. transition: all 0.15s ease;
  182. }
  183. .section-btn:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
  184. .section-btn.completed { background: #e6f7e6; color: $ios-success; border-color: rgba(0,0,0,0.06); }
  185. .section-btn.active { background: #e8f0fe; color: $ios-primary; border-color: $ios-primary; }
  186. .section-btn.pending { background: $ios-background; color: $ios-text-secondary; }
  187. .sections-content { margin-top: $ios-spacing-md; }
  188. .section-panel {
  189. background: $ios-background;
  190. border: 1px solid $ios-border;
  191. border-radius: $ios-radius-lg;
  192. padding: $ios-spacing-lg;
  193. }
  194. /* 交付执行:三列布局 */
  195. .delivery-grid {
  196. display: grid;
  197. grid-template-columns: repeat(3, 1fr);
  198. gap: $ios-spacing-lg;
  199. }
  200. @media (max-width: 1024px) {
  201. .delivery-grid { grid-template-columns: 1fr; }
  202. }
  203. .delivery-col {
  204. background: $ios-background-secondary;
  205. border: 1px solid $ios-border;
  206. border-radius: $ios-radius-md;
  207. padding: $ios-spacing-md;
  208. display: flex;
  209. flex-direction: column;
  210. gap: $ios-spacing-md;
  211. }
  212. .delivery-stage-header {
  213. display: flex;
  214. align-items: center;
  215. gap: $ios-spacing-sm;
  216. }
  217. .delivery-stage-header .dot {
  218. width: 10px; height: 10px; border-radius: 50%; background: $ios-border;
  219. }
  220. .delivery-stage-header .dot.completed { background: $ios-success; }
  221. .delivery-stage-header .dot.active { background: $ios-primary; }
  222. .delivery-stage-body { display: flex; flex-direction: column; gap: $ios-spacing-md; }
  223. /* 统一纵向内容容器 */
  224. .section-vertical { display: flex; flex-direction: column; gap: $ios-spacing-lg; }
  225. .vertical-stage-block {
  226. background: $ios-background-secondary;
  227. border: 1px solid $ios-border;
  228. border-radius: $ios-radius-md;
  229. padding: $ios-spacing-md;
  230. }
  231. .vertical-stage-header { display: flex; align-items: center; gap: $ios-spacing-sm; margin-bottom: $ios-spacing-sm; }
  232. .vertical-stage-header .dot { width: 10px; height: 10px; border-radius: 50%; background: $ios-border; }
  233. .vertical-stage-header .dot.completed { background: $ios-success; }
  234. .vertical-stage-header .dot.active { background: $ios-primary; }
  235. .vertical-stage-body { display: flex; flex-direction: column; gap: $ios-spacing-md; }
  236. /* 缩略图列表适配到新容器 */
  237. .section-panel .thumb-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: $ios-spacing-md; }
  238. .section-panel .thumb-item { background: white; border: 1px solid $ios-border; border-radius: $ios-radius-sm; overflow: hidden; display: flex; flex-direction: column; }
  239. .section-panel .thumb-item img { width: 100%; height: 120px; object-fit: cover; }
  240. .section-panel .thumb-meta { display: flex; justify-content: space-between; padding: $ios-spacing-xs $ios-spacing-sm; font-size: $ios-font-size-xs; color: $ios-text-secondary; }
  241. /* 上传区小幅适配 */
  242. .section-panel .upload-header {
  243. display: flex;
  244. align-items: center;
  245. justify-content: space-between;
  246. gap: $ios-spacing-sm;
  247. padding: $ios-spacing-sm $ios-spacing-md;
  248. background: $ios-background;
  249. border: 1px dashed $ios-border;
  250. border-radius: $ios-radius-sm;
  251. }
  252. /* 强调版:客户信息卡片更突出、边缘更清晰 */
  253. /* 顶部强调条、圆角与阴影调整,以及关键信息高亮 */
  254. .left-column .project-info-card.card {
  255. border: 1px solid $ios-border !important;
  256. border-radius: 12px !important; /* 圆角加大 */
  257. box-shadow: 0 10px 24px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.05) !important; /* 阴影减弱些 */
  258. position: relative;
  259. }
  260. .left-column .project-info-card.card::before {
  261. content: "";
  262. position: absolute;
  263. top: 0; left: 0; right: 0;
  264. height: 4px; /* 顶部强调条 */
  265. background: $ios-primary;
  266. border-top-left-radius: 12px;
  267. border-top-right-radius: 12px;
  268. }
  269. /* 关键信息轻微高亮:客户姓名 */
  270. .left-column .project-info-card .info-item.key-info span {
  271. font-weight: $ios-font-weight-semibold;
  272. color: $ios-text-primary;
  273. }
  274. .left-column .project-info-card .info-item.key-info label {
  275. color: $ios-primary;
  276. }
  277. /* 标签轻微高亮:提升标签显著性但不过度 */
  278. .left-column .project-info-card .tags .tag {
  279. background-color: rgba(24, 144, 255, 0.08); /* 以主色系的淡背景形成层级 */
  280. color: $ios-primary;
  281. }
  282. .left-column .project-info-card.card h2 {
  283. color: $ios-primary !important; /* 标题与强调条呼应 */
  284. }
  285. /* 活动阶段卡片:浅红底色突显(更显眼版) */
  286. .delivery-col.active,
  287. .vertical-stage-block.active {
  288. background: #ffeaea; /* 比 #fff2f0 更显眼 */
  289. border-color: #ffccc7; /* 维持柔和的红系边框 */
  290. box-shadow: 0 8px 22px rgba(255, 85, 62, 0.12), 0 2px 8px rgba(255, 85, 62, 0.10);
  291. position: relative; /* 提供定位上下文给badge */
  292. padding-right: $ios-spacing-lg; /* 让出badge空间,避免内容压贴 */
  293. }
  294. /* 活动阶段标题与圆点颜色呼应 */
  295. .delivery-col.active .delivery-stage-header h3,
  296. .vertical-stage-block.active .vertical-stage-header h3 { color: #ff4d4f; }
  297. .delivery-col.active .dot,
  298. .vertical-stage-block.active .dot { background: #ff4d4f; }
  299. /* 右上角状态badge:进行中 */
  300. .delivery-col.active::after,
  301. .vertical-stage-block.active::after {
  302. content: '进行中';
  303. position: absolute;
  304. top: 8px;
  305. right: 8px;
  306. padding: 2px 8px;
  307. background: #ff4d4f;
  308. color: #fff;
  309. border-radius: 999px;
  310. font-size: 12px;
  311. line-height: 1.4;
  312. font-weight: 600;
  313. box-shadow: 0 4px 10px rgba(255, 77, 79, 0.25);
  314. }
  315. /* 阶段卡片横向排列(按板块的阶段数量自适应列数) */
  316. .stage-progress-container {
  317. display: grid !important;
  318. grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  319. gap: 12px !important;
  320. align-items: stretch !important; // 保证同一行的卡片等高
  321. }
  322. .vertical-stage-block {
  323. display: flex !important;
  324. flex-direction: column !important;
  325. height: 100% !important;
  326. padding: 12px !important;
  327. background: white !important;
  328. border-radius: 8px !important;
  329. border: 1px solid #e9ecef !important;
  330. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
  331. }
  332. .vertical-stage-header {
  333. display: flex !important;
  334. align-items: center !important;
  335. gap: 8px !important;
  336. margin-bottom: 8px !important;
  337. padding-bottom: 6px !important;
  338. border-bottom: 1px solid #f1f3f4 !important;
  339. }
  340. .vertical-stage-header h3 {
  341. font-size: 13px !important;
  342. font-weight: 600 !important;
  343. color: #495057 !important;
  344. margin: 0 !important;
  345. }
  346. .vertical-stage-header .dot {
  347. width: 8px !important;
  348. height: 8px !important;
  349. border-radius: 50% !important;
  350. background: #dee2e6 !important;
  351. flex-shrink: 0 !important;
  352. }
  353. .vertical-stage-header .dot.completed {
  354. background: #28a745 !important;
  355. }
  356. .vertical-stage-header .dot.active {
  357. background: #007bff !important;
  358. }
  359. .vertical-stage-body {
  360. display: flex !important;
  361. flex-direction: column !important;
  362. gap: 8px !important;
  363. flex: 1 1 auto !important;
  364. }
  365. /* 活动阶段卡片优化 */
  366. .vertical-stage-block.active {
  367. background: #fff8f0 !important;
  368. border-color: #ffc069 !important;
  369. box-shadow: 0 2px 8px rgba(255, 192, 105, 0.2) !important;
  370. }
  371. .vertical-stage-block.active .vertical-stage-header h3 {
  372. color: #d46b08 !important;
  373. }
  374. .vertical-stage-block.active .dot {
  375. background: #fa8c16 !important;
  376. }
  377. /* 订单创建阶段完成后的绿色高亮 */
  378. .vertical-stage-block.completed {
  379. background: #f6ffed !important;
  380. border-color: #b7eb8f !important;
  381. box-shadow: 0 2px 8px rgba(183, 235, 143, 0.3) !important;
  382. }
  383. .vertical-stage-block.completed .vertical-stage-header h3 {
  384. color: #389e0d !important;
  385. font-weight: 600 !important;
  386. }
  387. .vertical-stage-block.completed .dot {
  388. background: #52c41a !important;
  389. }
  390. /* 需求沟通阶段激活时的高亮 */
  391. .vertical-stage-block[id="stage-requirements-talk"].active {
  392. background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 100%) !important;
  393. border-color: #40a9ff !important;
  394. box-shadow: 0 4px 16px rgba(64, 169, 255, 0.2) !important;
  395. transform: translateY(-2px) !important;
  396. transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  397. }
  398. .vertical-stage-block[id="stage-requirements-talk"].active .vertical-stage-header h3 {
  399. color: #1890ff !important;
  400. font-weight: 700 !important;
  401. }
  402. .vertical-stage-block[id="stage-requirements-talk"].active .dot {
  403. background: #1890ff !important;
  404. box-shadow: 0 0 0 4px rgba(24, 144, 255, 0.2) !important;
  405. }