index.module.less 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. .uploadSection {
  2. width: 156px;
  3. height: 106px;
  4. background: #f8faf9;
  5. border-radius: 4px;
  6. border: 1px solid rgba(45, 199, 170, 0.26);
  7. font-size: 14px;
  8. color: #2dc7aa;
  9. line-height: 20px;
  10. }
  11. .uploadFile {
  12. width: 100%;
  13. min-width: 300px;
  14. height: 40px;
  15. border: 1px solid rgba(142, 142, 142, 0.26);
  16. border-radius: 4px;
  17. display: flex;
  18. align-items: center;
  19. padding: 0 15px;
  20. color: var(--el-text-color-regular);
  21. :global {
  22. .el-icon {
  23. margin-right: 5px;
  24. }
  25. }
  26. }
  27. .fileUpload {
  28. .uploadClass {
  29. position: relative;
  30. display: flex;
  31. width: 96px;
  32. }
  33. :global {
  34. .el-upload {
  35. justify-content: flex-start;
  36. }
  37. .el-upload--text {
  38. @apply w-full;
  39. }
  40. .el-loading-spinner {
  41. display: flex;
  42. align-items: center;
  43. height: 40px !important;
  44. justify-content: center;
  45. margin-top: -20px !important;
  46. svg {
  47. width: 20px;
  48. height: 20px;
  49. margin-right: 5px;
  50. }
  51. }
  52. }
  53. }
  54. .disabled .uploadClass {
  55. cursor: not-allowed !important;
  56. }
  57. .uploadClass {
  58. height: 106px;
  59. width: 100%;
  60. :global {
  61. .el-loading-spinner {
  62. margin-top: -43px;
  63. height: 106px;
  64. }
  65. }
  66. }