index.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. /* components/camera-face/index.wxss */
  2. .page-body {
  3. width: 100%;
  4. height: 100%;
  5. background: #ffffff;
  6. }
  7. .camera-box {
  8. width: 750rpx;
  9. height: 750rpx;
  10. margin-top: 50rpx;
  11. position: relative;
  12. overflow: hidden;
  13. display: flex;
  14. justify-content: center;
  15. align-items: center;
  16. }
  17. .camera-circle {
  18. width: 540rpx;
  19. height: 540rpx;
  20. display: flex;
  21. justify-content: center;
  22. align-items: center;
  23. border-radius: 50%;
  24. border: 2px solid #6699cc;
  25. }
  26. .camera {
  27. width: 480rpx;
  28. height: 480rpx;
  29. z-index: 1;
  30. border-radius: 50%;
  31. }
  32. .half-circle {
  33. width: 480rpx;
  34. height: 100rpx;
  35. background-color: rgba(0, 0, 0, 0.2);
  36. border-radius: 50% 50% 0 0;
  37. display: flex;
  38. justify-content: center;
  39. align-items: center;
  40. }
  41. .half-circle p {
  42. font-family: "Microsoft YaHei";
  43. font-size: 30rpx;
  44. color: white;
  45. line-height: 70rpx;
  46. }
  47. .img-view {
  48. width: 750rpx;
  49. height: 505rpx;
  50. position: absolute;
  51. top: 0;
  52. left: 0;
  53. z-index: 999;
  54. }
  55. .mask-img {
  56. width: 750rpx;
  57. height: 505rpx;
  58. }
  59. .bottom-view {
  60. width: 100%;
  61. height: 120rpx;
  62. display: flex;
  63. align-items: center;
  64. justify-content: center;
  65. margin-top: 30rpx;
  66. }
  67. /* 底部按钮和提示文字 */
  68. .bottom-btn {
  69. font-family: "Microsoft YaHei";
  70. font-size: large;
  71. width: 300rpx;
  72. height: 70rpx;
  73. line-height: 70rpx;
  74. text-align: center;
  75. background: rgba(250, 250, 250, 0.8);
  76. border-radius: 35rpx;
  77. }
  78. .bottom-tips {
  79. width: 100%;
  80. height: 35rpx;
  81. color: black;
  82. line-height: 35rpx;
  83. text-align: center;
  84. }
  85. /* 顶部提示文字 */
  86. .top-view {
  87. width: 100%;
  88. height: 10rpx;
  89. display: flex;
  90. align-items: center;
  91. justify-content: center;
  92. }
  93. .top-tips {
  94. font-family: "Microsoft YaHei UI Bold";
  95. font-size: 50rpx;
  96. color: black;
  97. text-align: center;
  98. }