name_cert.scss 2.9 KB

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