index.module.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. .uploadFile {
  2. :global {
  3. .n-upload-dragger {
  4. padding: 0;
  5. border: none;
  6. display: flex;
  7. align-items: center;
  8. justify-content: center;
  9. background: #FFFFFF;
  10. border: 1px solid #DCE2F1;
  11. border-radius: 20px;
  12. &:hover {
  13. border-color: #198CFE;
  14. }
  15. }
  16. }
  17. .uploadBtn {
  18. display: flex;
  19. align-items: center;
  20. justify-content: center;
  21. flex-direction: column;
  22. width: 433px;
  23. height: 275px;
  24. font-weight: 600;
  25. font-size: max(15px, 13Px);
  26. color: #131415;
  27. span {
  28. padding-top: 13px;
  29. display: block;
  30. text-align: center;
  31. font-weight: 400;
  32. font-size: max(13px, 11Px);
  33. color: #131415;
  34. }
  35. .iconUploadAdd {
  36. width: 50px;
  37. height: 50px;
  38. margin-bottom: 27px;
  39. }
  40. }
  41. }
  42. .uploadHeader {
  43. padding: 0 27px;
  44. display: flex;
  45. .headerItem {
  46. position: relative;
  47. padding: 17px 0 13px;
  48. font-weight: 600;
  49. font-size: max(18px, 14Px);
  50. color: #131415;
  51. &::after {
  52. content: '';
  53. display: inline-block;
  54. position: absolute;
  55. bottom: 0;
  56. width: 100%;
  57. left: 0;
  58. height: 3px;
  59. background: #198CFE;
  60. }
  61. }
  62. }
  63. .uploadContainer {
  64. text-align: center;
  65. height: 538px;
  66. background-color: #F7F8F9;
  67. display: flex;
  68. align-items: center;
  69. justify-content: center;
  70. :global {
  71. .n-upload {
  72. width: auto;
  73. }
  74. .cropper-view-box {
  75. outline-color: #198CFE !important;
  76. outline-width: 2px !important;
  77. }
  78. .cropper-point {
  79. width: 5px !important;
  80. height: 5px !important;
  81. }
  82. .cropper-bg {
  83. background-image: none !important;
  84. }
  85. .cropper-modal {
  86. background-color: #F7F8F9;
  87. opacity: 0.7;
  88. }
  89. }
  90. }
  91. .imgCropperSection {
  92. width: 633px;
  93. height: 407px;
  94. // overflow: hidden;
  95. img {
  96. max-width: 100%;
  97. }
  98. }
  99. .uploadBtnGroup {
  100. padding: 17px 27px;
  101. display: flex;
  102. justify-content: space-between;
  103. :global {
  104. .n-button {
  105. border-radius: 8px;
  106. font-size: max(15px, 13Px);
  107. min-width: 97px;
  108. }
  109. }
  110. }