work-order-segmented.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. $header-height: 40px;
  2. $footer-height: 45px;
  3. .segmented-header {
  4. height: $header-height;
  5. line-height: $header-height;
  6. background: #ffffff;
  7. }
  8. :deep(.segmented-control__item--text) {
  9. font-size: 16px;
  10. font-weight: bold;
  11. padding: 3px 0;
  12. line-height: $header-height;
  13. }
  14. $list-header-height: 45px;
  15. .segmented-content {
  16. margin: 10px 0;
  17. height: calc(100% - #{$header-height} - #{$footer-height} - 20px);
  18. .work-order-info {
  19. width: 100%;
  20. height: 100%;
  21. background: #ffffff;
  22. }
  23. .work-order-bom-list {
  24. width: 100%;
  25. height: 100%;
  26. }
  27. .material-list {
  28. width: 100%;
  29. height: 100%;
  30. }
  31. .list-header {
  32. height: $list-header-height;
  33. background: #ffffff;
  34. padding: 6px 10px;
  35. box-sizing: border-box;
  36. margin-bottom: 10px;
  37. .uni-col {
  38. height: 100%;
  39. }
  40. .list-header-item {
  41. width: 100%;
  42. height: 100%;
  43. line-height: 1.2;
  44. color: #004098;
  45. background: #f3f5f9;
  46. border-radius: 4px;
  47. font-size: 14px;
  48. image {
  49. width: 12px;
  50. height: 12px;
  51. margin-right: 5px;
  52. }
  53. }
  54. uni-button[disabled] {
  55. color: rgba(0, 0, 0, 0.3);
  56. }
  57. }
  58. .list-content {
  59. height: calc(100% - #{$list-header-height} - 10px);
  60. background: #ffffff;
  61. padding: 10px;
  62. box-sizing: border-box;
  63. overflow: hidden;
  64. &.all {
  65. height: calc(100% - 0px);
  66. }
  67. }
  68. }
  69. .segmented-footer {
  70. width: 100%;
  71. height: $footer-height;
  72. background: #ffffff;
  73. box-shadow: 0px -2px 10px 0px rgba(0, 0, 0, 0.1);
  74. }
  75. .footer-total {
  76. width: 100%;
  77. height: 100%;
  78. }
  79. .total-item {
  80. width: calc(100% - 90px);
  81. }
  82. .total-btn {
  83. width: 90px;
  84. border-radius: 0;
  85. }
  86. .total-item-text {
  87. font-weight: 500;
  88. .number {
  89. padding: 0 5px;
  90. }
  91. }