.fraction { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; position: relative; width: 100vw; height: 100vh; overflow: hidden; .closeIcon { position: fixed; width: 20px; height: 20px; max-width: 20px; max-height: 20px; right: 30px; top: 30px; } .closeDom { position: fixed; width: 20px; height: 20px; right: 30px; top: 30px; &::before, &::after { content: ''; position: absolute; top: 50%; left: 50%; width: 100%; height: 2px; background-color: #ffffff; transform-origin: center; border-radius: 5px; } &::before { transform: translate(-50%, -50%) rotate(45deg); } &::after { transform: translate(-50%, -50%) rotate(-45deg); } } .bg { width: 264px; } .content { .title { line-height: 24px; font-size: 18px; font-family: PingFangSC, PingFang SC; font-weight: 600; color: #fff; text-align: center; } .desc { font-size: 15px; font-family: PingFangSC, PingFang SC; font-weight: 400; color: rgba(255, 255, 255, 0.7); margin: 20px 0 24px; text-align: center; } } .btn { width: 96px; height: 32px; &:active{ opacity: 0.8; } } } .loadColumn { display: flex; align-items: center; background: rgba(0, 0, 0, 0.6); border-radius: 8px; padding: 8px 12px; position: relative; .close { position: absolute; width: 19px; height: 19px; right: -30px; top: -22px; } .loadIcon { width: 17px; height: 17px; } .successIcon { width: 18px; height: 18px; } p { font-size: 14px; font-family: PingFangSC, PingFang SC; color: #fff; margin-left: 6px; } } .loadingPop { display: flex; flex-direction: column; justify-content: center; align-items: center; .loadingIcon { width: 118px; } .loadingTip { font-size: 16px; color: #fff; line-height: 20px; margin-bottom: 24px; } .loadingClose { font-weight: 400; font-size: 14px; color: #FFFFFF; line-height: 32px; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 16px; text-align: center; width: 96px; height: 32px; box-sizing: border-box; &:active{ opacity: 0.8; } } } .loadingCssBox{ width: 27px; height: 27px; display: flex; justify-content: space-between; flex-wrap: wrap; align-content: space-between; margin-bottom: 17px; animation: rotate 1.5s ease-in-out infinite; .loadingCssItem{ width: 11px; height: 11px; border-radius: 50%; background: #11FFD4; opacity: 0.5; &:nth-child(2){ opacity:1; } } } @keyframes rotate { 0% { transform: rotate(0deg); } 90% { transform: rotate(360deg); } 100% { transform: rotate(360deg); } }