/* ===== 整体 ===== */ .page { display: flex; flex-direction: column; height: 100vh; background: #16181d; } /* ===== 预览区(深色)===== */ .stage { position: relative; flex: 1; min-height: 0; background: linear-gradient(180deg, #21252d 0%, #14161b 100%); } .stage-canvas { width: 100%; height: 100%; display: block; } .stage-mask { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48rpx; box-sizing: border-box; text-align: center; } .empty-icon { font-size: 76rpx; margin-bottom: 22rpx; } .empty-title { font-size: 34rpx; font-weight: 600; color: #ffffff; margin-bottom: 14rpx; } .empty-title.error { color: #ff6b6b; } .empty-sub { font-size: 26rpx; color: rgba(255, 255, 255, 0.62); line-height: 1.6; } .empty-tip { margin-top: 20rpx; font-size: 23rpx; color: rgba(255, 255, 255, 0.38); line-height: 1.6; max-width: 560rpx; } .stage-badge { position: absolute; left: 22rpx; top: 22rpx; padding: 8rpx 18rpx; border-radius: 999rpx; background: rgba(0, 0, 0, 0.34); color: rgba(255, 255, 255, 0.72); font-size: 22rpx; } /* ===== 控制面板(白色圆角卡片)===== */ .sheet { background: #ffffff; border-radius: 32rpx 32rpx 0 0; padding: 0 28rpx 28rpx; box-shadow: 0 -10rpx 36rpx rgba(0, 0, 0, 0.3); } .grabber { width: 76rpx; height: 8rpx; border-radius: 4rpx; background: #e3e6ee; margin: 14rpx auto 18rpx; } .section { margin-bottom: 26rpx; } .section:last-child { margin-bottom: 0; } .section-title { font-size: 23rpx; color: #9aa1b1; font-weight: 600; letter-spacing: 2rpx; margin-bottom: 14rpx; } /* ===== 选择文件按钮 ===== */ .pick-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 94rpx; padding: 0; border-radius: 16rpx; background: linear-gradient(135deg, #4a6cf7 0%, #6d8bff 100%); color: #ffffff; font-size: 30rpx; font-weight: 500; box-shadow: 0 8rpx 20rpx rgba(74, 108, 247, 0.3); } .pick-btn::after { border: none; } .pick-icon { font-size: 32rpx; margin-right: 12rpx; } .pick-text { font-size: 30rpx; } .pick-hint { margin-left: 14rpx; padding: 4rpx 14rpx; border-radius: 999rpx; background: rgba(255, 255, 255, 0.22); font-size: 21rpx; } /* ===== 文件类型标签 ===== */ .chips { display: flex; flex-wrap: wrap; margin-top: 18rpx; } .chip { display: flex; align-items: center; margin: 0 12rpx 12rpx 0; padding: 8rpx 18rpx; border-radius: 999rpx; background: #f3f5f9; } .chip-dot { width: 12rpx; height: 12rpx; border-radius: 50%; background: #94a3b8; margin-right: 10rpx; flex-shrink: 0; } .chip-name { font-size: 23rpx; color: #4a5264; } .chip-skel .chip-dot { background: #4a6cf7; } .chip-atlas .chip-dot { background: #7c5cff; } .chip-img .chip-dot { background: #22c55e; } .chip-json .chip-dot { background: #f59e0b; } .missing { margin-top: 2rpx; font-size: 24rpx; color: #f59e0b; } .link { margin-top: 14rpx; font-size: 24rpx; color: #9aa1b1; } .link.inline { margin-top: 0; margin-left: 18rpx; color: #4a6cf7; } /* ===== 动画选择 ===== */ .select { display: flex; align-items: center; justify-content: space-between; height: 86rpx; padding: 0 26rpx; margin-bottom: 14rpx; background: #f5f6fa; border-radius: 14rpx; } .select-label { font-size: 29rpx; font-weight: 500; color: #1f2430; } .select-arrow { font-size: 26rpx; color: #9aa1b1; } /* ===== 分段控件 ===== */ .segment { display: flex; padding: 6rpx; background: #f2f4f8; border-radius: 14rpx; } .seg { flex: 1; height: 68rpx; line-height: 68rpx; text-align: center; font-size: 25rpx; color: #7b8290; border-radius: 10rpx; } .seg.on { background: #ffffff; color: #4a6cf7; font-weight: 600; box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.08); } /* ===== 参数行 ===== */ .param { display: flex; align-items: center; margin-bottom: 20rpx; } .param-name { width: 76rpx; flex-shrink: 0; font-size: 26rpx; color: #6b7280; } .param-slider { flex: 1; margin: 0 16rpx; } .param-val { width: 76rpx; flex-shrink: 0; text-align: right; font-size: 25rpx; font-weight: 600; color: #4a6cf7; } /* ===== 缩放步进器 ===== */ .stepper { display: flex; align-items: center; margin-left: 16rpx; background: #f2f4f8; border-radius: 12rpx; overflow: hidden; } .step-btn { width: 70rpx; height: 64rpx; line-height: 64rpx; text-align: center; font-size: 32rpx; color: #4a5264; } .step-btn:active { background: #e6e9f2; } .step-val { min-width: 104rpx; text-align: center; font-size: 25rpx; font-weight: 600; color: #1f2430; } .gesture-hint { margin-top: 4rpx; text-align: center; font-size: 22rpx; color: #b6bcc9; }