index.wxss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /* components/camera-face/index.wxss */
  2. .page-body {
  3. width: 100%;
  4. height: 100%;
  5. background: #ffffff;
  6. overflow: auto
  7. }
  8. .head{
  9. padding-top: 154rpx;
  10. padding-bottom: 262rpx;
  11. background-image: url(https://cxzx.smcic.net/topic/tool/img/miniprogram/faceBg.jpg);
  12. background-size: 100% 100%;
  13. height: 72.9%;
  14. box-sizing: border-box;
  15. }
  16. .camera {
  17. width: 452rpx;
  18. height: 452rpx;
  19. z-index: 1;
  20. border-radius: 50%;
  21. margin: 0 auto 0 auto;
  22. }
  23. .half-circle {
  24. width: 480rpx;
  25. height: 100rpx;
  26. background-color: rgba(0, 0, 0, 0.2);
  27. border-radius: 50% 50% 0 0;
  28. display: flex;
  29. justify-content: center;
  30. align-items: center;
  31. color: #ffffff;
  32. }
  33. .half-circle p {
  34. font-family: "Microsoft YaHei";
  35. font-size: 30rpx;
  36. color: white;
  37. line-height: 70rpx;
  38. }
  39. .img-view {
  40. width: 750rpx;
  41. height: 505rpx;
  42. position: absolute;
  43. top: 0;
  44. left: 0;
  45. z-index: 999;
  46. }
  47. .mask-img {
  48. width: 750rpx;
  49. height: 505rpx;
  50. }
  51. /* 底部按钮和提示文字 */
  52. .bottom-tips {
  53. width: 100%;
  54. height: 35rpx;
  55. color: black;
  56. line-height: 35rpx;
  57. text-align: center;
  58. }
  59. .faceBtn {
  60. color: #ffffff;
  61. margin: 81rpx auto 0 auto;
  62. width: 500rpx;
  63. text-align: center;
  64. height: 72rpx;
  65. line-height: 72rpx;
  66. border-radius: 36rpx;
  67. background: linear-gradient(180deg, #26B4EC 0%, #2F8AFF 100%);
  68. }
  69. /* 顶部提示文字 */
  70. .top-tips {
  71. height: 50rpx;
  72. font-size: 36rpx;
  73. font-family: PingFangSC-Medium, PingFang SC;
  74. font-weight: 500;
  75. color: #FFFFFF;
  76. line-height: 50rpx;
  77. text-align: center;
  78. margin-bottom: 138rpx;
  79. }