name_cert.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. .main {
  2. position: relative;
  3. }
  4. .name-cert-container {
  5. position: absolute;
  6. top: 50%;
  7. left: 50%;
  8. transform: translate(-50%, -50%);
  9. display: flex;
  10. justify-content: center;
  11. align-items: center;
  12. }
  13. .name-cert-main {
  14. width: 347px;
  15. }
  16. .name-cert-label {
  17. font-size: 13px;
  18. font-family: PingFangSC-Regular, PingFang SC;
  19. font-weight: 400;
  20. color: #0b121a;
  21. line-height: 16px;
  22. margin-bottom: 8px;
  23. }
  24. .name-cert-title-area {
  25. text-align: center;
  26. margin-bottom: 40px;
  27. }
  28. .name-cert-icon {
  29. width: 70px;
  30. height: 70px;
  31. }
  32. .name-cert-title {
  33. margin-top: 4px;
  34. margin-bottom: 8px;
  35. font-size: 18px;
  36. font-family: PingFangSC-Medium, PingFang SC;
  37. font-weight: 500;
  38. color: #0b121a;
  39. line-height: 20px;
  40. text-align: center;
  41. }
  42. .name-cert-tips {
  43. text-align: center;
  44. font-size: 13px;
  45. font-family: PingFangSC-Regular, PingFang SC;
  46. font-weight: 400;
  47. color: #828c99;
  48. line-height: 16px;
  49. }
  50. .qrcode-tips {
  51. text-align: center;
  52. }
  53. .qrcode-img {
  54. text-align: center;
  55. width: 300px;
  56. margin-top: 20px;
  57. img {
  58. width: 100%;
  59. }
  60. }
  61. .name-cert-success-btn {
  62. margin-top: 80px;
  63. }
  64. .name-cert-fail-btn {
  65. margin-top: 104px;
  66. }
  67. .name-cert-fail-tips {
  68. margin-top: 30px;
  69. font-size: 14px;
  70. font-family: PingFangSC-Regular, PingFang SC;
  71. font-weight: 400;
  72. color: #666666;
  73. line-height: 16px;
  74. }
  75. .cert-btn {
  76. width: 188px;
  77. }
  78. .name-cert-submit {
  79. text-align: center;
  80. }
  81. .upload-main {
  82. display: flex;
  83. justify-content: space-between;
  84. }
  85. .upload-box {
  86. width: 166px;
  87. height: 143px;
  88. overflow: hidden;
  89. margin-bottom: 20px;
  90. }
  91. .upload-img {
  92. width: 166px;
  93. height: 143px;
  94. border: 1px solid #ebf4ff;
  95. border-radius: 8px;
  96. overflow: hidden;
  97. box-sizing: border-box;
  98. position: relative;
  99. &::after{
  100. content: "";
  101. position: absolute;
  102. left: 0;
  103. top: 0;
  104. right: 0;
  105. bottom: 0;
  106. background-color: rgba(0,0,0,0.6);
  107. z-index: 2;
  108. opacity: 0;
  109. transition:all 0.3s;
  110. }
  111. &:hover{
  112. .el-icon-delete{
  113. opacity: 1;
  114. }
  115. &::after{
  116. opacity: 1;
  117. }
  118. }
  119. .el-icon-delete{
  120. position: absolute;
  121. z-index: 4;
  122. left: 50%;
  123. top: 50%;
  124. transform: translate(-50%,-50%);
  125. opacity: 0;
  126. transition:all 0.3s;
  127. color:#fff;
  128. font-size: 20px;
  129. }
  130. .avatar{
  131. width:100%;
  132. }
  133. }
  134. .upload-area {
  135. width: 166px;
  136. height: 143px;
  137. background-color: #ebf4ff;
  138. border: 1px solid #ebf4ff;
  139. background-repeat: no-repeat;
  140. background-position: 50% 13px;
  141. background-size: 130px 86px;
  142. border-radius: 8px;
  143. padding-top: 111px;
  144. box-sizing: border-box;
  145. p {
  146. // margin-top: 111px;
  147. font-size: 14px;
  148. font-family: PingFangSC-Regular, PingFang SC;
  149. font-weight: 400;
  150. color: #308eff;
  151. line-height: 20px;
  152. text-align: center;
  153. }
  154. &.z_file {
  155. background-image: url("~@/assets/img/cert/z.png");
  156. }
  157. &.f_file {
  158. background-image: url("~@/assets/img/cert/f.png");
  159. }
  160. }