Files

204 lines
3.3 KiB
Plaintext

.detail {
background: #f7f5f1;
min-height: 100vh;
color: #252525;
padding-bottom: 150rpx;
}
.hero {
width: 100%;
height: 600rpx;
display: block;
}
.hero-wrap {
position: relative;
height: 520rpx;
overflow: hidden;
background: #202221;
}
.hero-wrap .hero {
height: 100%;
}
.hero-shade {
position: absolute;
inset: 0;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78));
}
.hero-copy {
position: absolute;
right: 40rpx;
bottom: 32rpx;
left: 40rpx;
color: #fff;
}
.hero-copy text {
display: block;
}
.hero-copy text:first-child {
color: #d9c8b2;
font-size: 20rpx;
}
.hero-copy text:nth-child(2) {
margin-top: 12rpx;
font: 38rpx serif;
}
.hero-copy text:last-child {
margin-top: 8rpx;
color: rgba(255, 255, 255, 0.72);
font-size: 23rpx;
}
.content {
padding: 42rpx 40rpx;
}
.price-card {
display: flex;
justify-content: space-between;
gap: 24rpx;
padding: 26rpx;
border: 1rpx solid #e6ded5;
border-radius: 16rpx;
background: #fff;
}
.price-card view:last-child {
text-align: right;
}
.price-card text {
display: block;
}
.price-card text:first-child {
color: #77736b;
font-size: 20rpx;
}
.price-card text:last-child {
margin-top: 8rpx;
color: #8a6846;
font: 25rpx serif;
}
.detail-section {
margin-top: 38rpx;
}
.section-title {
display: block;
padding-left: 16rpx;
border-left: 5rpx solid #8a6846;
color: #202221;
font: 27rpx serif;
}
.body {
display: block;
margin-top: 16rpx;
padding: 24rpx;
border: 1rpx solid #e6ded5;
border-radius: 14rpx;
background: #fff;
color: #252525;
font-size: 23rpx;
line-height: 1.8;
}
.warm {
background: #efece6;
}
.craft {
display: flex;
gap: 18rpx;
margin-top: 14rpx;
padding: 20rpx;
border: 1rpx solid #e6ded5;
border-radius: 12rpx;
background: #fff;
color: #252525;
font-size: 22rpx;
line-height: 1.65;
}
.craft text:first-child {
flex: 0 0 auto;
color: #8a6846;
font-family: monospace;
font-weight: 700;
}
.materials {
margin-top: 16rpx;
overflow: hidden;
border: 1rpx solid #e6ded5;
border-radius: 12rpx;
background: #fff;
}
.materials view {
display: flex;
justify-content: space-between;
gap: 24rpx;
padding: 20rpx;
color: #252525;
font-size: 21rpx;
line-height: 1.5;
}
.materials view + view {
border-top: 1rpx solid #e6ded5;
}
.materials text:first-child {
flex: 0 0 auto;
color: #77736b;
}
.materials text:last-child {
text-align: right;
}
.category {
font-size: 21rpx;
color: #8a6846;
}
.title {
display: block;
font: 46rpx serif;
line-height: 1.35;
margin: 18rpx 0 8rpx;
}
.series {
display: block;
color: #77736b;
font-size: 26rpx;
}
.price {
display: block;
color: #8a6846;
font-size: 30rpx;
margin-top: 26rpx;
}
.desc {
display: block;
margin-top: 30rpx;
color: #77736b;
font-size: 27rpx;
line-height: 1.9;
}
.chips {
display: flex;
flex-wrap: wrap;
gap: 14rpx;
margin: 30rpx 0;
}
.chips text {
border: 1px solid #c9b7a0;
color: #8a6846;
padding: 10rpx 18rpx;
font-size: 22rpx;
}
.bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding: 22rpx 32rpx;
background: #f7f5f1;
}
.bar button {
background: #252827;
color: #fff;
border-radius: 0;
}
.bar text {
display: block;
margin-top: 10rpx;
color: #77736b;
text-align: center;
font-size: 19rpx;
}