scan.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. .scan {
  2. width: 100%;
  3. height: 100vh;
  4. }
  5. camera {
  6. width: 100%;
  7. height: 100vh;
  8. }
  9. .take-range {
  10. width: 530rpx;
  11. height: 800rpx;
  12. position: absolute;
  13. top: 186rpx;
  14. background: url(https://4d-tjw.oss-cn-shenzhen.aliyuncs.com/domain/4dshow/img_scanbox%402x.png) no-repeat center center;
  15. background-size: cover;
  16. left: 50%;
  17. margin-left: -265rpx;
  18. z-index: 111;
  19. }
  20. .take-btn {
  21. width: 150rpx;
  22. height: 150rpx;
  23. background: rgba(255, 255, 255, 0.3);
  24. border-radius: 50%;
  25. position: absolute;
  26. bottom: 150rpx;
  27. left: 50%;
  28. margin-left: -75rpx;
  29. z-index: 111;
  30. }
  31. .take-btn::after {
  32. content: '';
  33. width: 114rpx;
  34. height: 114rpx;
  35. background: #17D2D2;
  36. border-radius: 50%;
  37. position: absolute;
  38. top: 50%;
  39. left: 50%;
  40. margin: -57rpx 0 0 -57rpx;
  41. }
  42. .photo {
  43. position: absolute;
  44. bottom: 150rpx;
  45. right: 104rpx;
  46. height: 150rpx;
  47. display: flex;
  48. flex-direction: column;
  49. justify-content: center;
  50. font-size: 20rpx;
  51. color: #fff;
  52. text-align: center;
  53. }
  54. .photo image {
  55. width: 56rpx;
  56. margin-bottom: 12rpx;
  57. }
  58. .submit-btn, .retake-btn {
  59. width: 114rpx;
  60. height: 114rpx;
  61. background: #17D2D2;
  62. border-radius: 50%;
  63. position: absolute;
  64. bottom: 150rpx;
  65. left: 50%;
  66. margin-left: -57rpx;
  67. z-index: 111;
  68. }
  69. .retake-btn {
  70. left: 104rpx;
  71. margin-left: 0;
  72. background:rgba(255,255,255,0.3);
  73. }
  74. .submit-btn image, .retake-btn image {
  75. width: 54rpx;
  76. position: absolute;
  77. left: 30rpx;
  78. top: 38rpx;
  79. z-index: 1;
  80. }
  81. .retake-btn image {
  82. top: 32rpx;
  83. }
  84. .submit-btn .text, .retake-btn .text {
  85. position: absolute;
  86. bottom: -58rpx;
  87. width: 100%;
  88. text-align: center;
  89. font-size: 26rpx;
  90. color: #fff;
  91. }
  92. .confirm-image {
  93. width: 100%;
  94. height: 100%;
  95. }