//引入全局配置 @import "c/conf"; @import "c/mx"; @import "c/f"; @import "a/c"; page { width: 100%; height: 100%; background-color: #000; overflow: hidden; } canvas { position: absolute; // top: 0; // left: 0; bottom: -10000px; left: -10000px; z-index: -10; visibility: hidden; opacity: 0; pointer-events: none; } .m-cropper { position: fixed; top: 0; left: 0; right: 0; bottom: 120rpx; z-index: 10; margin: auto; width: 600rpx; height: 600rpx; image { transition: opacity 0.5s; } .img-wrap-corner { position: absolute; width: 30rpx; height: 30rpx; border: 2px solid rgba(#fff, 1); &.z-1 { top: -2px; left: -2px; border-width: 2px 0 0 2px; } &.z-2 { top: -2px; right: -2px; border-width: 2px 2px 0 0; } &.z-3 { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; } &.z-4 { bottom: -2px; left: -2px; border-width: 0 0 2px 2px; } } .img-wrap { position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px; margin: auto; width: 100%; height: 100%; border: 1rpx solid rgba(#fff, 0.8); overflow: hidden; pointer-events: none; } .img-wrap-circle { border-radius: 100%; border: 1rpx dashed rgba(#0f0, 0.6); } } .m-operate { @include cs; position: fixed; z-index: 100; bottom: 0; left: 0; width: 100%; height: 120rpx; border-top: 1rpx solid rgba(#fff, 0.6); .btn-ico { position: absolute; left: 20rpx; top: -100rpx; width: 80rpx; height: 80rpx; background-color: rgba(#fff, 0.05); border-radius: 10rpx; image { @include hub; width: 40rpx; height: 40rpx; opacity: 0.9; } } .btn { float: left; width: 50%; line-height: 120rpx; text-align: center; font-size: 14px; color: rgba(#fff, 0.9); } }