bw-mini-app/src/pages/result/index.css

143 lines
2.4 KiB
CSS

.result-page {
width: 100%;
height: 100vh;
background: black;
display: flex;
flex-direction: column;
}
.result-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 40rpx;
background: transparent;
color: white;
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 10;
border-bottom: 2rpx solid rgba(255, 255, 255, 0.1);
}
.result-title {
font-size: 36rpx;
font-weight: bold;
}
.close-btn {
width: 80rpx;
height: 80rpx;
background: rgba(255, 255, 255, 0.2);
color: white;
border: none;
border-radius: 40rpx;
font-size: 48rpx;
line-height: 80rpx;
text-align: center;
}
.result-image-container {
flex: 1;
width: 100%;
position: relative;
overflow: hidden;
display: flex;
}
.backdrop-blur {
width: 100%;
height: 100%;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
background: rgba(0, 0, 0, 0.3);
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
/* 添加磨砂玻璃渐变遮罩层,增强高级感 */
.backdrop-blur::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(
135deg,
rgba(255, 255, 255, 0.1) 0%,
rgba(255, 255, 255, 0.05) 50%,
rgba(0, 0, 0, 0.1) 100%
);
pointer-events: none;
z-index: 1;
}
.result-image {
max-width: 100%;
max-height: 100%;
width: 100%;
height: 100%;
z-index: 2;
position: relative;
border-radius: 0rpx;
box-shadow: 0 20rpx 60rpx rgba(0, 0, 0, 0.3);
}
/* 模板处理结果对比样式 */
.template-name {
font-size: 36rpx;
font-weight: 700;
margin-bottom: 8rpx;
text-align: center;
}
.result-status {
font-size: 28rpx;
opacity: 0.8;
text-align: center;
}
/* 对比容器 */
.comparison-container {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 40rpx 32rpx;
gap: 32rpx;
}
.comparison-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
max-width: 45%;
}
.comparison-image {
width: 100%;
max-height: 600rpx;
border-radius: 24rpx;
box-shadow: 0 8rpx 40rpx rgba(0, 0, 0, 0.2);
background: #fff;
}
.comparison-label {
margin-top: 16rpx;
color: #fff;
font-size: 28rpx;
font-weight: 600;
text-align: center;
}
.comparison-arrow {
color: #fff;
font-size: 48rpx;
font-weight: bold;
opacity: 0.8;
}