index.scss 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. font-family: PingFangSC-Regular, PingFang SC;
  43. font-weight: 400;
  44. color: #333333;
  45. line-height: 188rpx;
  46. }
  47. .faceBtn {
  48. color: #ffffff;
  49. margin: 81rpx auto 0 auto;
  50. width: 500rpx;
  51. text-align: center;
  52. height: 92rpx;
  53. line-height: 92rpx;
  54. border-radius: 56rpx;
  55. background: linear-gradient(180deg, #26B4EC 0%, #2F8AFF 100%);
  56. }
  57. /* 顶部提示文字 */
  58. .top-tips {
  59. height: 50rpx;
  60. font-size: 36rpx;
  61. font-family: PingFangSC-Medium, PingFang SC;
  62. font-weight: 500;
  63. color: #FFFFFF;
  64. line-height: 50rpx;
  65. text-align: center;
  66. margin-bottom: 138rpx;
  67. }