/* components/camera-face/index.scss */ .page-body { width: 100%; height: 100%; background: #ffffff; overflow: auto } .head { padding-top: 154rpx; padding-bottom: 262rpx; background-image: url(https://cxzx.smcic.net/topic/tool/img/miniprogram/faceBg.jpg); background-size: 100% 100%; height: 72.9%; box-sizing: border-box; } .camera { width: 452rpx; height: 452rpx; z-index: 1; border-radius: 50%; margin: 0 auto 0 auto; } .half-circle { width: 480rpx; height: 100rpx; background-color: rgba(0, 0, 0, 0.2); border-radius: 50% 50% 0 0; display: flex; justify-content: center; align-items: center; color: #ffffff; font-family: "Microsoft YaHei"; font-size: 30rpx; color: white; line-height: 70rpx; } /* 底部按钮和提示文字 */ .bottom-tips { text-align: center; height: 188rpx; font-size: 32rpx; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: #333333; line-height: 188rpx; } .faceBtn { color: #ffffff; margin: 81rpx auto 0 auto; width: 500rpx; text-align: center; height: 92rpx; line-height: 92rpx; border-radius: 56rpx; background: linear-gradient(180deg, #26B4EC 0%, #2F8AFF 100%); } /* 顶部提示文字 */ .top-tips { height: 50rpx; font-size: 36rpx; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #FFFFFF; line-height: 50rpx; text-align: center; margin-bottom: 138rpx; }