uploadInvoice.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. @import "../../scssCommon.scss";
  2. .main {
  3. margin-top: 0;
  4. }
  5. .uploadInvoice {
  6. .ruleIntro {
  7. background-color: #fff;
  8. box-sizing: border-box;
  9. padding: pxtovw(22) pxtovw(15);
  10. width: 100%;
  11. .stitle {
  12. font-size: pxtovw(13);
  13. font-weight: 500;
  14. text-align: left;
  15. color: #222222;
  16. line-height: pxtovw(20);
  17. }
  18. .sdesc {
  19. font-size: pxtovw(13);
  20. font-weight: 500;
  21. text-align: left;
  22. color: #222222;
  23. line-height: pxtovw(20);
  24. }
  25. }
  26. .imageUpload {
  27. margin-top: pxtovw(10);
  28. background-color: #fff;
  29. box-sizing: border-box;
  30. padding: pxtovw(17) pxtovw(15) pxtovw(25) pxtovw(15);
  31. width: 100%;
  32. .stitle {
  33. height: pxtovw(20);
  34. font-size: pxtovw(14);
  35. font-weight: 500;
  36. text-align: left;
  37. color: #2c343e;
  38. line-height: pxtovw(20);
  39. }
  40. .uploadInfo {
  41. display: flex;
  42. margin: pxtovw(22) auto 0 auto;
  43. width: pxtovw(255);
  44. height: pxtovw(157);
  45. flex-shrink: 0;
  46. overflow: hidden;
  47. position: relative;
  48. background: #fff;
  49. .el-icon-delete {
  50. display: none;
  51. }
  52. .avatar-uploader .el-upload {
  53. width: pxtovw(255);
  54. height: pxtovw(157);
  55. border: 1px dashed #6f6c6f;
  56. cursor: pointer;
  57. position: relative;
  58. overflow: hidden;
  59. img {
  60. width: 100%;
  61. height: auto;
  62. object-fit: contain;
  63. object-position: top left;
  64. }
  65. }
  66. .avatar-uploader .el-upload:hover {
  67. border-color: #409eff;
  68. .el-icon-delete {
  69. display: block;
  70. }
  71. }
  72. .avatar-uploader-icon {
  73. position: absolute;
  74. top: 0;
  75. left: 0;
  76. font-size: 44px;
  77. color: #6f6c6f;;
  78. width: pxtovw(255);
  79. height: pxtovw(157);
  80. line-height: pxtovw(157);
  81. text-align: center;
  82. }
  83. .avatar {
  84. width: pxtovw(255);
  85. height: pxtovw(157);
  86. display: block;
  87. }
  88. .noneImage {
  89. width: pxtovw(255);
  90. height: pxtovw(157);
  91. background: url('~@/assets/img/other/money/invoice_bg@2x.png') no-repeat;
  92. background-size: cover;
  93. position: relative;
  94. .desc {
  95. position: absolute;
  96. top: pxtovw(102);
  97. left: 50%;
  98. transform: translateX(-50%);
  99. font-size: 13px;
  100. font-weight: 400;
  101. text-align: center;
  102. color: #999999;
  103. line-height: 18px;
  104. }
  105. }
  106. .title {
  107. position: absolute;
  108. left: 50%;
  109. bottom: 40px;
  110. transform: translateX(-50%);
  111. font-size: 13px;
  112. font-weight: 500;
  113. color: #409eff;
  114. line-height: 18px;
  115. text-decoration: underline;
  116. }
  117. //invoice_bg@2x.png
  118. }
  119. }
  120. .button {
  121. margin: pxtovw(38) auto 0 auto;
  122. width: pxtovw(345);
  123. height: pxtovw(46);
  124. background: #308eff;
  125. border-radius: pxtovw(4);
  126. box-shadow: 0 pxtovw(2) pxtovw(6) 0 rgba(48, 142, 255, 0.3);
  127. display: flex;
  128. justify-content: center;
  129. align-items: center;
  130. p {
  131. height: pxtovw(21);
  132. font-size: pxtovw(15);
  133. font-weight: 500;
  134. text-align: center;
  135. color: #ffffff;
  136. line-height: pxtovw(21);
  137. }
  138. }
  139. }