common.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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: 40%;
  20. background-color: #4CAF50;
  21. color: #fff;
  22. padding: 10px 12px;
  23. font-size: 15px;
  24. border-radius: 5px 0 0 5px;
  25. }
  26. .query-section {
  27. background-color: #fff;
  28. padding: 12px;
  29. border-radius: 4px;
  30. }
  31. .batch-input{
  32. position: relative;
  33. flex: 1;
  34. width: 100%;
  35. .batch-input-text{
  36. position: absolute;
  37. left: 0;
  38. right: 0;
  39. top: 0;
  40. bottom: 0;
  41. z-index: 10;
  42. }
  43. }
  44. .footer {
  45. position: fixed;
  46. left: 0;
  47. right: 0;
  48. bottom: 0;
  49. display: flex;
  50. flex-direction: column;
  51. background-color: #fff;
  52. .u-button {
  53. width: 100%;
  54. border-radius: 0;
  55. }
  56. .search-box {
  57. display: flex;
  58. gap: 12px;
  59. margin-top: 12px;
  60. :deep(.u-input){
  61. flex: 1;
  62. }
  63. :deep(.u-button){
  64. width: 80px;
  65. border-radius: 5px;
  66. }
  67. }
  68. }
  69. .batch-popup {
  70. background-color: #fff;
  71. border-radius: 16px 16px 0 0;
  72. .popup-header {
  73. padding: 12px;
  74. display: flex;
  75. justify-content: space-between;
  76. align-items: center;
  77. border-bottom: 1px solid #eee;
  78. box-sizing: border-box;
  79. .header-right {
  80. display: flex;
  81. align-items: center;
  82. gap: 12px;
  83. .new-batch {
  84. color: #2979ff;
  85. min-width: 70px;
  86. }
  87. .u-button{
  88. height: 64rpx;
  89. }
  90. }
  91. }
  92. .batch-list {
  93. max-height: 60vh;
  94. padding: 0 16px;
  95. box-sizing: border-box;
  96. }
  97. .batch-item {
  98. padding: 13px 0;
  99. box-sizing: border-box;
  100. display: flex;
  101. justify-content: space-between;
  102. border-bottom: 1px solid #eee;
  103. &.active {
  104. color: #2979ff;
  105. }
  106. }
  107. }