feat: 拍照攻略组件
This commit is contained in:
@@ -226,6 +226,64 @@
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.photo-card-swiper {
|
||||
width: 100%;
|
||||
height: 228px;
|
||||
}
|
||||
|
||||
.photo-card {
|
||||
position: relative;
|
||||
height: 200px;
|
||||
overflow: hidden;
|
||||
border-radius: 16px;
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.photo-card-image {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
background: #f1f5f9;
|
||||
}
|
||||
|
||||
.photo-card-caption {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 28px 14px 12px;
|
||||
background: linear-gradient(to top, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0));
|
||||
}
|
||||
|
||||
.photo-card-title {
|
||||
color: #fff;
|
||||
font-size: 13px;
|
||||
font-weight: 900;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.photo-card-subtitle {
|
||||
margin-top: 2px;
|
||||
color: rgba(255, 255, 255, 0.78);
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.photo-card-expand {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 50%;
|
||||
color: #fff;
|
||||
background: rgba(15, 23, 42, 0.42);
|
||||
font-size: 15px;
|
||||
font-weight: 900;
|
||||
line-height: 28px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.detail-faq-wrap {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user