faceSea.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. page {
  2. height: 100%;
  3. }
  4. .content {
  5. display: flex;
  6. flex-direction: column;
  7. justify-content: flex-start;
  8. width: 100%;
  9. height: 100%;
  10. background: #fff;
  11. font-family: "MicrosoftYaHei";
  12. .cameraField {
  13. position: relative;
  14. width: 750rpx;
  15. height: 1000rpx;
  16. background: #6eaff0;
  17. overflow: hidden;
  18. canvas {
  19. position: absolute;
  20. top: 0;
  21. left: 0;
  22. width: 100%;
  23. height: 100%;
  24. border-radius: 5rpx;
  25. z-index: 2;
  26. }
  27. .hint {
  28. position: absolute;
  29. top: 45rpx;
  30. left: 223rpx;
  31. width: 301rpx;
  32. height: 72rpx;
  33. color: #fff;
  34. font-size: 32rpx;
  35. background: rgba($color: #000000, $alpha: 0.33);
  36. border-radius: 36rpx;
  37. text-align: center;
  38. line-height: 72rpx;
  39. box-sizing: border-box;
  40. z-index: 3;
  41. image {
  42. max-width: 30rpx;
  43. max-height: 30rpx;
  44. vertical-align: middle;
  45. margin-right: 15rpx;
  46. margin-bottom: 4rpx;
  47. }
  48. }
  49. .head {
  50. position: absolute;
  51. bottom: 16%;
  52. left: 50%;
  53. transform: translateX(-376rpx);
  54. width: 750rpx;
  55. height: 620rpx;
  56. z-index: 3;
  57. }
  58. }
  59. .controlField {
  60. width: 750rpx;
  61. // height: 334rpx;
  62. color: #fff;
  63. .control1 {
  64. display: flex;
  65. justify-content: space-between;
  66. width: 550rpx;
  67. height: 150rpx;
  68. margin: 0 auto;
  69. // margin-top: 130rpx;
  70. margin-top: 40rpx;
  71. .light,
  72. .change {
  73. max-height: 70rpx;
  74. max-width: 70rpx;
  75. margin-top: 40rpx;
  76. text-align: center;
  77. }
  78. .take {
  79. max-height: 150rpx;
  80. max-width: 150rpx;
  81. }
  82. }
  83. .control2 {
  84. display: flex;
  85. justify-content: space-between;
  86. width: 600rpx;
  87. height: 150rpx;
  88. margin: 0 auto;
  89. // margin-top: 130rpx;
  90. margin-top: 70rpx;
  91. view {
  92. width: 170rpx;
  93. height: 80rpx;
  94. background: #6eaff0;
  95. font-size: 32rpx;
  96. text-align: center;
  97. line-height: 80rpx;
  98. border-radius: 10rpx;
  99. }
  100. }
  101. }
  102. }