- 新增图片转视频相关的API接口 - 调整AIGC详情页英雄区块高度至380px - 添加结果详情页升级动效视频入口 - 完善升级流程的逻辑与费用计算 - 适配多类型生成任务的判断规则
117 lines
2.2 KiB
SCSS
117 lines
2.2 KiB
SCSS
.template-version-hero {
|
|
position: relative;
|
|
height: 380px;
|
|
overflow: hidden;
|
|
border-radius: 24px;
|
|
background: var(--template-accent, #0a4d46);
|
|
color: #ffffff;
|
|
box-shadow: 0 16px 30px rgba(15, 29, 37, 0.1);
|
|
}
|
|
|
|
.template-version-hero.is-confirm {
|
|
height: 248px;
|
|
border-radius: 18px;
|
|
box-shadow: 0 12px 24px rgba(15, 29, 37, 0.08);
|
|
}
|
|
|
|
.template-version-image,
|
|
.template-version-video {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.template-version-shade {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(8, 22, 28, 0.05) 0%,
|
|
rgba(8, 22, 28, 0.18) 46%,
|
|
rgba(8, 22, 28, 0.72) 100%
|
|
);
|
|
}
|
|
|
|
.template-version-copy {
|
|
position: absolute;
|
|
z-index: 1;
|
|
right: 18px;
|
|
bottom: 18px;
|
|
left: 18px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.template-version-badge {
|
|
height: 22px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
max-width: 132px;
|
|
overflow: hidden;
|
|
padding: 0 9px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.78);
|
|
color: #172033;
|
|
font-size: 10px;
|
|
line-height: 22px;
|
|
font-weight: 900;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.template-version-title,
|
|
.template-version-desc {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.template-version-title {
|
|
margin-top: 10px;
|
|
color: #ffffff;
|
|
font-size: 24px;
|
|
line-height: 30px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.template-version-desc {
|
|
margin-top: 5px;
|
|
color: rgba(255, 255, 255, 0.82);
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.template-version-hero.is-confirm .template-version-copy {
|
|
right: 16px;
|
|
bottom: 18px;
|
|
left: 16px;
|
|
}
|
|
|
|
.template-version-hero.is-confirm .template-version-badge {
|
|
height: 22px;
|
|
max-width: 88px;
|
|
line-height: 22px;
|
|
}
|
|
|
|
.template-version-hero.is-confirm .template-version-title {
|
|
margin-top: 9px;
|
|
font-size: 24px;
|
|
line-height: 30px;
|
|
}
|
|
|
|
.template-version-hero.is-confirm .template-version-desc {
|
|
max-width: 294px;
|
|
margin-top: 4px;
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
}
|