emergency-info.component.less 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. @import "../../../../src/theme.less";
  2. .width-105{
  3. width: 105px !important;
  4. }
  5. .text-underline{
  6. cursor: pointer;
  7. text-decoration: underline;
  8. }
  9. .red{
  10. color: red !important;
  11. }
  12. .yellow{
  13. color: #ffaa00 !important;
  14. }
  15. .green{
  16. color: #49b586 !important;
  17. }
  18. .save {
  19. position: fixed;
  20. left: 0;
  21. top: 0;
  22. width: 100%;
  23. height: 100%;
  24. background: rgba(0, 0, 0, 0.4);
  25. z-index: 99;
  26. .viewModalBody{
  27. width: 60%;
  28. background: #fff;
  29. border-radius: 5px;
  30. padding: 10px 20px;
  31. color: #333;
  32. .title {
  33. width: 100%;
  34. text-align: center;
  35. font-size: 18px;
  36. position: relative;
  37. i {
  38. position: absolute;
  39. right: 0;
  40. top: 0;
  41. font-size: 20px;
  42. color: #666;
  43. cursor: pointer;
  44. padding: 0 5px;
  45. }
  46. }
  47. .content {
  48. width: 100%;
  49. background: #f9fafb;
  50. border: 1px solid #e5e9ed;
  51. border-radius: 5px;
  52. margin-top: 12px;
  53. padding: 20px;
  54. .df{
  55. display: flex;
  56. .df-item{
  57. margin-right: 40px;
  58. }
  59. }
  60. .view-item{
  61. margin-bottom: 20px;
  62. text-align: left;
  63. }
  64. div {
  65. text-align: center;
  66. margin: 0;
  67. &.icon {
  68. margin-top: 17px;
  69. i {
  70. color: #34b349;
  71. font-size: 30px !important;
  72. &.transport-wenhao {
  73. color: #f5a523;
  74. }
  75. &.transport-shibai {
  76. color: #ff3a52;
  77. }
  78. }
  79. }
  80. &.defeat {
  81. color: #333;
  82. font-size: 18px;
  83. }
  84. }
  85. }
  86. button {
  87. margin-top: 10px;
  88. &.btn {
  89. margin-left: 8px;
  90. }
  91. }
  92. }
  93. .modalBody {
  94. width: 350px;
  95. background: #fff;
  96. border-radius: 5px;
  97. padding: 10px 20px;
  98. color: #333;
  99. .title {
  100. width: 100%;
  101. text-align: center;
  102. font-size: 18px;
  103. position: relative;
  104. i {
  105. position: absolute;
  106. right: 0;
  107. top: 0;
  108. font-size: 20px;
  109. color: #666;
  110. cursor: pointer;
  111. padding: 0 5px;
  112. }
  113. }
  114. .content {
  115. width: 100%;
  116. height: 117px;
  117. background: #f9fafb;
  118. border: 1px solid #e5e9ed;
  119. border-radius: 5px;
  120. overflow: hidden;
  121. margin-top: 12px;
  122. div {
  123. text-align: center;
  124. margin: 0;
  125. &.icon {
  126. margin-top: 17px;
  127. i {
  128. color: #34b349;
  129. font-size: 30px !important;
  130. &.transport-wenhao {
  131. color: #f5a523;
  132. }
  133. &.transport-shibai {
  134. color: #ff3a52;
  135. }
  136. }
  137. }
  138. &.defeat {
  139. color: #333;
  140. font-size: 18px;
  141. }
  142. &:nth-child(3) {
  143. font-size: 14px;
  144. color: #666;
  145. }
  146. }
  147. }
  148. button {
  149. margin-top: 10px;
  150. &.btn {
  151. margin-left: 8px;
  152. }
  153. }
  154. }
  155. // 新增
  156. &.add {
  157. .modalBody {
  158. width: 480px;
  159. height: auto;
  160. .content {
  161. width: 100%;
  162. height: auto;
  163. padding: 19px 14px 0 14px;
  164. max-height: 500px;
  165. overflow-y: auto;
  166. .addForm {
  167. .ant-form-item {
  168. margin-bottom: 8px;
  169. .ant-form-item-label {
  170. line-height: 14px;
  171. text-align: left;
  172. }
  173. }
  174. }
  175. .editForm {
  176. .ant-form-item {
  177. margin-bottom: 14px;
  178. .ant-form-item-label {
  179. line-height: 0;
  180. }
  181. }
  182. }
  183. }
  184. button:nth-child(1) {
  185. margin-right: 20px;
  186. }
  187. }
  188. }
  189. }