common.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. .select-section {
  2. background-color: #fff;
  3. padding: 12px;
  4. border-radius: 4px;
  5. margin-bottom: 12px;
  6. position: relative;
  7. }
  8. .batch-select {
  9. display: flex;
  10. align-items: center;
  11. .required {
  12. color: #ff0000;
  13. margin-right: 4px;
  14. }
  15. }
  16. .count-badge {
  17. position: absolute;
  18. right: 0;
  19. top: 50%;
  20. background-color: #4CAF50;
  21. color: #fff;
  22. padding: 8px;
  23. font-size: 13px;
  24. }
  25. .query-section {
  26. background-color: #fff;
  27. padding: 12px;
  28. border-radius: 4px;
  29. }
  30. .footer {
  31. position: fixed;
  32. left: 0;
  33. right: 0;
  34. bottom: 0;
  35. display: flex;
  36. flex-direction: column;
  37. background-color: #fff;
  38. .u-button {
  39. width: 100%;
  40. border-radius: 0;
  41. }
  42. .search-box {
  43. display: flex;
  44. gap: 12px;
  45. margin-top: 12px;
  46. :deep(.u-input){
  47. flex: 1;
  48. }
  49. :deep(.u-button){
  50. width: 80px;
  51. border-radius: 5px;
  52. }
  53. }
  54. }
  55. .batch-popup {
  56. background-color: #fff;
  57. border-radius: 16px 16px 0 0;
  58. .popup-header {
  59. padding: 12px;
  60. display: flex;
  61. justify-content: space-between;
  62. align-items: center;
  63. border-bottom: 1px solid #eee;
  64. box-sizing: border-box;
  65. .header-right {
  66. display: flex;
  67. align-items: center;
  68. gap: 12px;
  69. .new-batch {
  70. color: #2979ff;
  71. min-width: 70px;
  72. }
  73. .u-button{
  74. height: 64rpx;
  75. }
  76. }
  77. }
  78. .batch-list {
  79. max-height: 60vh;
  80. padding: 0 16px;
  81. box-sizing: border-box;
  82. }
  83. .batch-item {
  84. padding: 13px 0;
  85. box-sizing: border-box;
  86. display: flex;
  87. justify-content: space-between;
  88. border-bottom: 1px solid #eee;
  89. &.active {
  90. color: #2979ff;
  91. }
  92. }
  93. }