123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- /* components/camera-face/index.wxss */
- .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;
- }
- .half-circle p {
- font-family: "Microsoft YaHei";
- font-size: 30rpx;
- color: white;
- line-height: 70rpx;
- }
- .img-view {
- width: 750rpx;
- height: 505rpx;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 999;
- }
- .mask-img {
- width: 750rpx;
- height: 505rpx;
- }
- /* 底部按钮和提示文字 */
- .bottom-tips {
- width: 100%;
- height: 35rpx;
- color: black;
- line-height: 35rpx;
- text-align: center;
- }
- .faceBtn {
- color: #ffffff;
- margin: 81rpx auto 0 auto;
- width: 500rpx;
- text-align: center;
- height: 72rpx;
- line-height: 72rpx;
- border-radius: 36rpx;
- 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;
- }
|