포토리뷰 작업 중

This commit is contained in:
2025-12-21 23:29:48 +09:00
parent 7ee87344bf
commit a23a4b3f2a
8 changed files with 3347 additions and 104 deletions

View File

@@ -1495,10 +1495,14 @@
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
@include tablet {
flex-wrap: nowrap;
}
h2 {
width: 100%;
font-size: 2.4rem;
font-size: 3rem;
font-weight: 600;
@include maxtablet {
@@ -1506,6 +1510,15 @@
}
}
.oneButton {
width: 100%;
margin-top: 2rem;
@include tablet {
width: auto;
margin-top: 0;
}
}
.searchBox {
.selectInner {
.cont-select {
@@ -1602,10 +1615,34 @@
}
}
.noneReview {
display: flex;
align-items: center;
justify-content: center;
height: 7.2rem;
font-size: 1.4rem;
color: #9ea1a2;
background: #f3f3f3;
border-radius: 0.8rem;
@include tablet {
height: 16rem;
font-size: 1.6rem;
}
P {
text-align: center;
br {
display: block;
@include tablet {
display: none;
}
}
}
}
.reviewList {
margin-top: 3rem;
border-top: 1px solid #999999;
border-bottom: 1px solid #999999;
// border-bottom: 1px solid #999999;
@include maxtablet {
margin-top: 2rem;
@@ -1614,8 +1651,8 @@
.item {
display: flex;
justify-content: space-between;
align-items: flex-end;
padding: 2rem 0;
align-items: center;
padding: 1.6rem 0;
border-bottom: 1px solid #dedede;
@include maxtablet {
@@ -1648,10 +1685,56 @@
}
}
.info {
display: flex;
align-items: flex-start;
justify-content: flex-start;
margin-top: 1rem;
flex-direction: column;
@include tablet {
flex-direction: row;
align-items: center;
}
span {
position: relative;
font-size: 1.4rem;
color: #a6a6a6;
line-height: 1.5;
@include tablet {
font-size: 1.6rem;
line-height: 1;
}
+ span {
@include tablet {
padding-left: 1.6rem;
margin-left: 1.6rem;
}
&::before {
content: "";
display: none;
width: 0.1rem;
height: 1.2rem;
background-color: #d9d9d9;
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
@include tablet {
display: block;
}
}
}
}
}
.contents {
margin-top: 1.5rem;
font-size: 1.6rem;
line-height: 2.4rem;
font-size: 1.4rem;
line-height: 1.5;
@include tablet {
font-size: 1.6rem;
line-height: 2.4rem;
}
@include maxtablet {
margin-top: 1.3rem;
@@ -1666,6 +1749,28 @@
overflow: hidden;
}
}
.photoArea {
display: flex;
justify-content: flex-start;
align-items: center;
margin-top: 1rem;
gap: 1rem;
.photoItem {
width: calc((100% - 3rem) / 4);
aspect-ratio: 1 / 1;
border-radius: 0.8rem;
overflow: hidden;
@include tablet {
width: 12rem;
height: 12rem;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
}
}
}
.contentMoreBtn {
display: none;
@@ -1695,50 +1800,21 @@
}
}
.reviewBtnArea {
width: 10rem;
@include maxtablet {
display: flex;
justify-content: flex-end;
width: 100%;
margin-top: 1.5rem;
}
.reviewBtn {
display: flex;
justify-content: center;
align-items: center;
width: 10rem;
height: 3.5rem;
border: 1px solid #dedede;
border-radius: 0.6rem;
transition: 0.3s;
.icon-good {
width: 2rem;
height: 2rem;
background-image: url("/kr/assets/images/common/icon_good.svg");
background-repeat: no-repeat;
background-size: contain;
}
.goodNum {
margin-left: 0.8rem;
padding-top: 0.2rem;
color: #9ea1a2;
font-size: 1.4rem;
font-weight: 600;
line-height: 2rem;
}
&:hover {
border: 1px solid #000000;
}
&.active {
.goodNum {
color: #000000;
&.best {
.textArea {
.info {
&:after {
content: "";
display: block;
width: 6.8rem;
height: 2.4rem;
margin-left: 0;
margin-top: 1rem;
background: url("/kr/assets/images/kia/contents/review_best.png") no-repeat center center / contain;
@include tablet {
margin-left: 1.6rem;
margin-top: 0;
}
}
}
}
@@ -1754,11 +1830,61 @@
margin-top: 4rem;
border: 1px solid #dedede;
border-radius: 0.6rem;
font-size: 1.8rem;
font-size: 1.6rem;
color: #9ea1a2;
@include tablet {
font-size: 2rem;
font-size: 1.8rem;
}
}
}
}
.reviewBtnArea {
// width: 10rem;
@include maxtablet {
display: flex;
justify-content: flex-end;
width: 100%;
margin-top: 1.5rem;
}
.reviewBtn {
display: flex;
justify-content: center;
align-items: center;
// width: 10rem;
height: 3.5rem;
padding: 0 1.6rem;
border: 1px solid #dedede;
border-radius: 1.75rem;
transition: 0.3s;
.icon-good {
width: 2rem;
height: 2rem;
background-image: url("/kr/assets/images/common/icon_good.svg");
background-repeat: no-repeat;
background-size: contain;
}
.goodNum {
margin-left: 0.8rem;
padding-top: 0.2rem;
color: #9ea1a2;
font-size: 1.4rem;
font-weight: 600;
line-height: 2rem;
}
&:hover {
border: 1px solid #000000;
}
&.active {
.goodNum {
color: #000000;
}
}
}
@@ -6131,3 +6257,129 @@
background: url(../images/kia/pdp/display_theme_disney/btn_zoom_close.png) no-repeat 0 0 / 100% auto;
cursor: pointer;
}
.photoReviewList {
border-top: 1px solid #dedede;
margin-top: 3.2rem;
padding: 3rem 0;
ul {
display: flex;
gap: 1rem;
@include tablet {
gap: 1.3rem;
}
li {
overflow: hidden;
position: relative;
width: calc(100% / 4);
@include tablet {
width: calc(100% / 7);
}
aspect-ratio: 16 / 16;
border-radius: 0.8rem;
// 4~6 번째 숨김
&:nth-child(n + 4):nth-child(-n + 6) {
display: none;
@include tablet {
display: block;
}
}
img {
width: 100%;
height: 100%;
}
.count {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
bottom: 0.8rem;
right: 0.8rem;
width: 2.4rem;
height: 2.4rem;
padding-top: 0.35rem;
border-radius: 50%;
background-color: #fff;
color: #05141f;
font-size: 1.2rem;
z-index: 1;
line-height: 1;
}
&:nth-child(7) {
&:before {
content: "전체 \A 포토리뷰";
white-space: pre;
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
color: #fff;
font-size: 1.4rem;
font-weight: 600;
text-align: center;
background: linear-gradient(88.44deg, rgba(145, 145, 145, 0) 1.49%, rgba(0, 0, 0, 0.8) 62.8%);
line-height: 1.5;
@include tablet {
font-size: 2rem;
}
}
}
}
.popInner & {
flex-wrap: wrap;
}
}
}
.popInner {
.photoReviewList {
padding-top: 0;
ul {
gap: 1rem;
li {
width: calc((100% - 2rem) / 3);
@include tablet {
width: calc((100% - 5rem) / 6);
}
&:nth-child(7) {
&:before {
display: none;
}
}
}
}
}
}
.sortBox {
display: flex;
align-items: center;
gap: 2rem;
label {
display: flex;
align-items: center;
gap: 1rem;
cursor: pointer;
input[type="checkbox"]:disabled {
cursor: not-allowed;
& + span {
color: #ccc;
cursor: not-allowed;
}
}
}
.selectInner {
.cont-select {
width: 15rem;
}
}
}