index.less 1.15 KB
/* 广告页面样式 */
.ad-page {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.ad-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    cursor: pointer;
}

.share-button-container {
    position: absolute;
    top: 30rpx;
    right: 30rpx;
    z-index: 10;
}

.share-button {
    padding: 1rpx 24rpx;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 32rpx;
    font-size: 24rpx;
    font-weight: 500;
    backdrop-filter: blur(10rpx);
    -webkit-backdrop-filter: blur(10rpx);
    box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;

    &:active {
        transform: scale(0.95);
        background: rgba(0, 0, 0, 0.8);
    }
}

.loading-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    z-index: 20;
}

.loading-text {
    font-size: 32rpx;
    color: #666;
    font-weight: 500;
}