/* pages/zuzhanghaibao/zuzhanghaibao.wxss - 金黄色机甲风格 */ page { background: #0a0e17; /* 深色背景,与管事页面一致,但高亮色改为金黄色 */ min-height: 100vh; font-family: 'Avenir', 'PingFang SC', 'Helvetica Neue', sans-serif; color: #fff; } /* 背景网格(颜色调为金黄色调) */ .grid-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(255, 200, 0, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 200, 0, 0.05) 1px, transparent 1px); background-size: 50rpx 50rpx; pointer-events: none; z-index: 0; } .page-container { position: relative; z-index: 2; min-height: 100vh; padding: 30rpx 25rpx; box-sizing: border-box; } /* 机械装饰线条(金黄色) */ .mech-line { position: absolute; pointer-events: none; z-index: 1; } .line-h { top: 200rpx; left: 0; width: 100%; height: 2rpx; background: linear-gradient(90deg, transparent, #ffaa00, transparent); } .line-v { right: 50rpx; top: 100rpx; width: 2rpx; height: 300rpx; background: linear-gradient(180deg, transparent, #ffaa00, transparent); } .content { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 40rpx 0; } /* 标题区域(金黄色光效) */ .title-section { text-align: center; margin-bottom: 60rpx; } .title { font-size: 44rpx; font-weight: bold; color: #fff; text-shadow: 0 0 30rpx #ffaa00; letter-spacing: 2rpx; display: block; margin-bottom: 20rpx; } .subtitle { font-size: 28rpx; color: #ffd966; opacity: 0.9; letter-spacing: 1rpx; } /* 二维码区域(金黄色边框) */ .qrcode-section { width: 100%; display: flex; justify-content: center; align-items: center; margin-bottom: 40rpx; /* 给邀请码留出空间 */ } .qrcode-wrapper { position: relative; width: 400rpx; height: 400rpx; background: rgba(20, 20, 20, 0.8); border: 4rpx solid #ffaa00; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 80rpx rgba(255, 170, 0, 0.4); animation: qrcodePulse 2s infinite alternate; } .qrcode-img { width: 90%; height: 90%; object-fit: contain; } .qrcode-glow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 30% 30%, rgba(255, 170, 0, 0.2), transparent 70%); pointer-events: none; } .empty-qrcode { width: 400rpx; height: 400rpx; background: rgba(20, 20, 20, 0.8); border: 4rpx dashed #ffaa00; display: flex; flex-direction: column; align-items: center; justify-content: center; } .empty-icon { font-size: 80rpx; color: #ffaa00; margin-bottom: 20rpx; opacity: 0.5; } .empty-text { font-size: 26rpx; color: #ffd966; text-align: center; padding: 0 40rpx; } /* 邀请码展示区域 */ .invite-code-section { display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.5); padding: 20rpx 30rpx; border-radius: 60rpx; border: 2rpx solid #ffaa00; margin-bottom: 30rpx; width: 90%; box-sizing: border-box; } .code-label { font-size: 28rpx; color: #ffd966; margin-right: 10rpx; } .code-value { font-size: 32rpx; color: #fff; font-weight: bold; letter-spacing: 2rpx; flex: 1; text-align: center; } .copy-btn { display: flex; align-items: center; background: rgba(255, 170, 0, 0.2); padding: 10rpx 20rpx; border-radius: 40rpx; margin-left: 20rpx; border: 2rpx solid #ffaa00; } .copy-icon { font-size: 28rpx; color: #ffaa00; margin-right: 6rpx; } .copy-text { font-size: 24rpx; color: #ffaa00; } .copy-btn:active { background: rgba(255, 170, 0, 0.4); transform: scale(0.96); } /* 按钮区域(金黄色斜切风格) */ .button-section { width: 100%; display: flex; justify-content: center; margin-bottom: 40rpx; } .btn-group { display: flex; gap: 20rpx; flex-wrap: wrap; justify-content: center; } .btn { width: 220rpx; height: 80rpx; background: rgba(20, 20, 20, 0.8); border: 2rpx solid #ffaa00; border-right: none; border-bottom: none; clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); display: flex; align-items: center; justify-content: center; position: relative; transition: 0.2s; cursor: pointer; } .btn:active { transform: scale(0.96); box-shadow: 0 0 40rpx #ffaa00; } .save-btn { border-color: #ffaa00; } .refresh-btn { border-color: #ffaa00; } .refresh-btn .btn-icon { color: #ffaa00; } .poster-btn { border-color: #ffaa00; } .poster-btn .btn-icon { color: #ffaa00; } .loading-btn { opacity: 0.7; pointer-events: none; } .btn-icon { font-size: 36rpx; margin-right: 8rpx; color: #fff; } .btn-text { font-size: 26rpx; font-weight: 500; color: #fff; } .loading-spinner-small { width: 30rpx; height: 30rpx; border: 4rpx solid rgba(255,255,255,0.2); border-top: 4rpx solid #ffaa00; border-radius: 50%; animation: spin 1s linear infinite; margin-right: 10rpx; } /* 专属海报展示区 */ .poster-section { margin-top: 40rpx; display: flex; flex-direction: column; align-items: center; width: 100%; } .poster-canvas { width: 600rpx; height: 900rpx; background: #1a1f2e; border: 4rpx solid #ffaa00; box-shadow: 0 0 60rpx #ffaa00; } .poster-actions { display: flex; gap: 30rpx; margin-top: 30rpx; justify-content: center; } .save-poster-btn { background: linear-gradient(45deg, #cc8400, #ffaa00); border-color: #ffaa00; } .back-btn { background: rgba(20, 20, 20, 0.8); border-color: #ffaa00; } /* 使用说明 */ .instruction { margin-top: 30rpx; padding: 20rpx 40rpx; background: rgba(20, 20, 20, 0.5); border-left: 4rpx solid #ffaa00; clip-path: polygon(0 0, 100% 0, 98% 100%, 0 100%); } .instruction-text { font-size: 24rpx; color: #ffd966; line-height: 1.6; } /* 动画 */ @keyframes qrcodePulse { 0% { box-shadow: 0 0 40rpx rgba(255, 170, 0, 0.3); } 100% { box-shadow: 0 0 100rpx rgba(255, 170, 0, 0.6); } } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }