index.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /* components/camera-face/index.scss */
  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. font-family: "Microsoft YaHei";
  33. font-size: 30rpx;
  34. color: white;
  35. line-height: 70rpx;
  36. }
  37. /* 底部按钮和提示文字 */
  38. .bottom-tips {
  39. text-align: center;
  40. height: 188rpx;
  41. font-size: 32rpx;
  42. padding-top: 78rpx;
  43. padding: 78rpx 18rpx 0 18rpx;
  44. font-family: PingFangSC-Regular, PingFang SC;
  45. font-weight: 400;
  46. color: #333333;
  47. line-height: 1.8em;
  48. }
  49. .faceBtn {
  50. color: #ffffff;
  51. margin: 81rpx auto 0 auto;
  52. width: 500rpx;
  53. text-align: center;
  54. height: 92rpx;
  55. line-height: 92rpx;
  56. border-radius: 56rpx;
  57. background: linear-gradient(180deg, #26B4EC 0%, #2F8AFF 100%);
  58. }
  59. /* 顶部提示文字 */
  60. .top-tips {
  61. height: 50rpx;
  62. font-size: 36rpx;
  63. font-family: PingFangSC-Medium, PingFang SC;
  64. font-weight: 500;
  65. color: #FFFFFF;
  66. line-height: 50rpx;
  67. text-align: center;
  68. margin-bottom: 138rpx;
  69. }