huahuazenmehua/pages/work-submit/work-submit.wxss

207 lines
3.3 KiB
Plaintext

.submit-page {
display: flex;
flex-direction: column;
height: 100vh;
background: #f7f8fc;
}
/* 完成横幅 */
.complete-banner {
background: linear-gradient(135deg, #6C8CFF 0%, #8BA4FF 100%);
padding: 40rpx 32rpx 32rpx;
text-align: center;
}
.complete-emoji {
font-size: 72rpx;
display: block;
margin-bottom: 12rpx;
}
.complete-title {
display: block;
font-size: 44rpx;
font-weight: 700;
color: #ffffff;
}
.complete-sub {
display: block;
font-size: 26rpx;
color: rgba(255,255,255,0.85);
margin-top: 8rpx;
}
/* 视图切换 */
.view-switch {
background: #ffffff;
display: flex;
border-bottom: 1rpx solid #F0F0F0;
flex-shrink: 0;
}
.switch-item {
flex: 1;
text-align: center;
padding: 24rpx 0;
font-size: 28rpx;
color: #666666;
border-bottom: 4rpx solid transparent;
}
.switch-item.active {
color: #6C8CFF;
font-weight: 600;
border-bottom-color: #6C8CFF;
}
/* 内容区 */
.submit-body {
flex: 1;
overflow: hidden;
}
.work-display {
padding: 32rpx;
display: flex;
flex-direction: column;
align-items: center;
gap: 20rpx;
}
.work-frame {
width: 100%;
height: 500rpx;
border-radius: 24rpx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12rpx;
overflow: hidden;
}
.example-frame {
/* background from style */
}
.my-frame {
background: #F5F5F5;
border: 4rpx dashed #CCCCCC;
}
.work-emoji {
font-size: 100rpx;
}
.work-label {
font-size: 24rpx;
color: rgba(255,255,255,0.8);
}
.upload-icon {
font-size: 72rpx;
}
.upload-text {
font-size: 28rpx;
color: #666666;
font-weight: 500;
}
.upload-hint {
font-size: 22rpx;
color: #AAAAAA;
}
.work-image {
width: 100%;
height: 100%;
}
.reupload-hint {
position: absolute;
bottom: 16rpx;
font-size: 22rpx;
color: rgba(255,255,255,0.7);
background: rgba(0,0,0,0.3);
padding: 6rpx 16rpx;
border-radius: 20rpx;
}
.work-hint {
font-size: 24rpx;
color: #AAAAAA;
text-align: center;
line-height: 1.6;
}
/* 对比查看 */
.compare-display {
padding: 32rpx;
}
.compare-row {
display: flex;
flex-direction: row;
align-items: center;
gap: 16rpx;
}
.compare-item {
flex: 1;
display: flex;
flex-direction: column;
gap: 12rpx;
}
.compare-label {
text-align: center;
font-size: 24rpx;
color: #888888;
font-weight: 500;
}
.compare-frame {
height: 320rpx;
border-radius: 20rpx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8rpx;
overflow: hidden;
}
.compare-emoji {
font-size: 64rpx;
}
.compare-image {
width: 100%;
height: 100%;
}
.upload-icon-sm {
font-size: 48rpx;
}
.upload-text-sm {
font-size: 22rpx;
color: #888888;
}
.compare-divider {
font-size: 28rpx;
font-weight: 700;
color: #CCCCCC;
flex-shrink: 0;
}
.compare-encourage {
display: block;
text-align: center;
margin-top: 24rpx;
font-size: 28rpx;
color: #6C8CFF;
font-weight: 500;
}
/* 底部操作 */
.submit-footer {
display: flex;
gap: 20rpx;
padding: 20rpx 32rpx;
background: #ffffff;
border-top: 1rpx solid #F0F0F0;
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
align-items: center;
flex-shrink: 0;
}
.save-btn {
flex: 1;
}
.continue-btn {
flex: 1;
}
.saved-hint {
flex: 1;
text-align: center;
font-size: 26rpx;
color: #3CB371;
font-weight: 500;
}