faceSea.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. .content {
  2. display: flex;
  3. flex-direction: column;
  4. justify-content: flex-start;
  5. width: 100%;
  6. height: 100%;
  7. background: #fff;
  8. font-family: "MicrosoftYaHei";
  9. .cameraField {
  10. position: relative;
  11. width: 750rpx;
  12. height: 1000rpx;
  13. background: #6EAFF0;
  14. z-index: 2;
  15. overflow: hidden;
  16. canvas{
  17. position: absolute;
  18. top: 0;
  19. left: 0;
  20. width: 100%;
  21. height: 100%;
  22. border-radius: 5rpx;
  23. z-index: 3;
  24. }
  25. .hint {
  26. position: absolute;
  27. top: 45rpx;
  28. left: 223rpx;
  29. width: 301rpx;
  30. height: 72rpx;
  31. color: #fff;
  32. font-size: 32rpx;
  33. background: rgba($color: #000000, $alpha: .33);
  34. border-radius: 36rpx;
  35. text-align: center;
  36. line-height: 72rpx;
  37. box-sizing: border-box;
  38. z-index: 4;
  39. image {
  40. max-width: 30rpx;
  41. max-height: 30rpx;
  42. vertical-align: middle;
  43. margin-right: 15rpx;
  44. margin-bottom: 4rpx;
  45. }
  46. }
  47. .uploading {
  48. display: flex;
  49. position: absolute;
  50. top: 251rpx;
  51. left: 244rpx;
  52. flex-direction: column;
  53. justify-content: space-around;
  54. width: 263rpx;
  55. height: 296rpx;
  56. font-size: 24rpx;
  57. border-radius: 10rpx;
  58. background: rgba($color: #000000, $alpha: .33);
  59. box-sizing: border-box;
  60. z-index: 4;
  61. image {
  62. max-width: 60rpx;
  63. max-height: 60rpx;
  64. text-align: center;
  65. margin-left: 102rpx;
  66. margin-top: 40rpx;
  67. animation: myMove 2s linear infinite normal;
  68. @keyframes myMove {
  69. 0% {
  70. transform: rotate(0deg);
  71. }
  72. 25% {
  73. transform: rotate(90deg);
  74. }
  75. 50% {
  76. transform: rotate(180deg);
  77. }
  78. 75% {
  79. transform: rotate(270deg);
  80. }
  81. 100% {
  82. transform: rotate(360deg);
  83. }
  84. }
  85. }
  86. text {
  87. margin-bottom: 30rpx;
  88. color: #fff;
  89. text-align: center;
  90. }
  91. }
  92. .head {
  93. position: absolute;
  94. bottom: 16%;
  95. left: 50%;
  96. transform: translateX(-376rpx);
  97. width: 750rpx;
  98. height: 620rpx;
  99. z-index: 5;
  100. }
  101. }
  102. .controlField {
  103. width: 750rpx;
  104. // height: 447rpx;
  105. color: #fff;
  106. .control1 {
  107. display: flex;
  108. justify-content: space-between;
  109. width: 550rpx;
  110. height: 150rpx;
  111. margin: 0 auto;
  112. // margin-top: 130rpx;
  113. margin-top: 40rpx;
  114. .light,
  115. .change {
  116. max-height: 70rpx;
  117. max-width: 70rpx;
  118. margin-top: 40rpx;
  119. text-align: center;
  120. }
  121. .take {
  122. max-height: 150rpx;
  123. max-width: 150rpx;
  124. }
  125. }
  126. .control2 {
  127. display: flex;
  128. justify-content: space-between;
  129. width: 600rpx;
  130. height: 150rpx;
  131. margin: 0 auto;
  132. // margin-top: 130rpx;
  133. margin-top: 70rpx;
  134. view {
  135. width: 170rpx;
  136. height: 80rpx;
  137. background: #6EAFF0;
  138. font-size: 32rpx;
  139. text-align: center;
  140. line-height: 80rpx;
  141. border-radius: 10rpx;
  142. }
  143. }
  144. }
  145. }