123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- .mediaBox {
- position: fixed;
- top: 0px;
- left: 0px;
- align-items: center;
- width: 100vw;
- height: 100vh;
- display: flex;
- justify-content: center;
- background-color: rgba(0, 0, 0, 0.6);
- }
- .mediaBox .poster {
- position: relative;
- margin-bottom: 120rpx;
- width: 646rpx;
- height: 959rpx;
- }
- .mediaBox .poster .close {
- position: absolute;
- width: 60rpx;
- height: 60rpx;
- top: -71rpx;
- right: -26rpx;
- }
- .mediaBox .poster .img {
- width: 100%;
- height: 100%;
- border-radius: 20rpx;
- overflow: hidden;
- }
- .mediaBox .poster .qrCode {
- position: absolute;
- left: 38rpx;
- bottom: 32rpx;
- width: 170rpx;
- height: 170rpx;
- }
- .mediaBox .btns {
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: space-between;
- box-sizing: border-box;
- padding: 25rpx 60rpx;
- padding-bottom: calc(env(safe-area-inset-bottom) + 25rpx);
- background-color: white;
- }
- .mediaBox .btns .btn {
- width: 275rpx;
- padding: 13rpx 0;
- text-align: center;
- font-size: 32rpx;
- color: #FFFFFF;
- background: linear-gradient(180deg, #6EC8FF 0%, #31BDFE 100%);
- box-shadow: 0rpx 6rpx 4rpx 0rpx rgba(0, 0, 0, 0.08);
- border-radius: 39rpx;
- }
- .mediaBox .canvas {
- width: 646rpx;
- height: 959rpx;
- position: absolute;
- left: -9999rpx;
- top: -9999rpx;
- }
- /* 转圈动画 */
- @keyframes falsh-identifier {
- 0% {
- transform: rotate(0deg) scale(0.7);
- }
- 50% {
- transform: rotate(180deg) scale(1);
- }
- 100% {
- transform: rotate(360deg) scale(0.7);
- }
- }
- @keyframes falsh-scale {
- 0% {
- transform: scale(1);
- }
- 50% {
- transform: scale(1.2);
- }
- 100% {
- transform: scale(1);
- }
- }
|