share-specimen.component.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. @import "../../../../src/theme.less";
  2. .save {
  3. position: fixed;
  4. left: 0;
  5. top: 0;
  6. width: 100%;
  7. height: 100%;
  8. background: rgba(0, 0, 0, 0.4);
  9. z-index: 99;
  10. .modalBody {
  11. width: 60%;
  12. background: #fff;
  13. border-radius: 5px;
  14. padding: 10px 20px;
  15. color: #333;
  16. .title {
  17. width: 100%;
  18. text-align: center;
  19. font-size: 18px;
  20. position: relative;
  21. i {
  22. position: absolute;
  23. right: 0;
  24. top: 0;
  25. font-size: 20px;
  26. color: #666;
  27. cursor: pointer;
  28. padding: 0 5px;
  29. }
  30. }
  31. .content {
  32. width: 100%;
  33. height: 117px;
  34. background: #f9fafb;
  35. border: 1px solid #e5e9ed;
  36. border-radius: 5px;
  37. overflow: hidden;
  38. margin-top: 12px;
  39. div {
  40. text-align: center;
  41. margin: 0;
  42. &.icon {
  43. margin-top: 17px;
  44. i {
  45. color: #34b349;
  46. font-size: 30px !important;
  47. &.transport-wenhao {
  48. color: #f5a523;
  49. }
  50. &.transport-shibai {
  51. color: #ff3a52;
  52. }
  53. }
  54. }
  55. &.defeat {
  56. color: #333;
  57. font-size: 18px;
  58. }
  59. &:nth-child(3) {
  60. font-size: 14px;
  61. color: #666;
  62. }
  63. }
  64. }
  65. button {
  66. margin-top: 10px;
  67. &.btn {
  68. margin-left: 8px;
  69. }
  70. }
  71. }
  72. // 新增
  73. &.add {
  74. .modalBody {
  75. width: 40%;
  76. height: auto;
  77. .content {
  78. width: 100%;
  79. height: auto;
  80. padding: 19px 14px 0 14px;
  81. max-height: 500px;
  82. overflow-y: auto;
  83. .addForm {
  84. .ant-form-item {
  85. margin-bottom: 8px;
  86. .ant-select{
  87. width: 100% !important;
  88. }
  89. .ant-input-number{
  90. width: 100% !important;
  91. }
  92. .ant-form-item-label {
  93. line-height: 14px;
  94. text-align: left;
  95. }
  96. }
  97. .address{
  98. position: relative;
  99. .addressList{
  100. position: absolute;
  101. top: 100%;
  102. left: 0;
  103. width: 100%;
  104. max-height: 256px;
  105. z-index: 2;
  106. background: #fff;
  107. border: 1px solid #d9d9d9;
  108. border-radius: 4px;
  109. overflow: hidden auto;
  110. .addressItem{
  111. padding: 5px 12px;
  112. cursor: pointer;
  113. &:hover{
  114. background-color: #e9f7e9;
  115. }
  116. }
  117. }
  118. }
  119. }
  120. .editForm {
  121. .ant-form-item {
  122. margin-bottom: 14px;
  123. .ant-input-number{
  124. width: 100% !important;
  125. }
  126. .ant-form-item-label {
  127. line-height: 0;
  128. }
  129. }
  130. }
  131. }
  132. button:nth-child(1) {
  133. margin-right: 20px;
  134. }
  135. }
  136. }
  137. }