uploadInvoice.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. }
  94. .title {
  95. position: absolute;
  96. left: 50%;
  97. bottom: 40px;
  98. transform: translateX(-50%);
  99. font-size: 13px;
  100. font-weight: 500;
  101. color: #409eff;
  102. line-height: 18px;
  103. text-decoration: underline;
  104. }
  105. //invoice_bg@2x.png
  106. }
  107. }
  108. .button {
  109. margin: pxtovw(38) auto 0 auto;
  110. width: pxtovw(345);
  111. height: pxtovw(46);
  112. background: #308eff;
  113. border-radius: pxtovw(4);
  114. box-shadow: 0 pxtovw(2) pxtovw(6) 0 rgba(48, 142, 255, 0.3);
  115. display: flex;
  116. justify-content: center;
  117. align-items: center;
  118. p {
  119. height: pxtovw(21);
  120. font-size: pxtovw(15);
  121. font-weight: 500;
  122. text-align: center;
  123. color: #ffffff;
  124. line-height: pxtovw(21);
  125. }
  126. }
  127. }