포토리뷰 추가 수정정

This commit is contained in:
2026-01-08 23:52:02 +09:00
parent 6a9bd1ae77
commit e607dc8472
5 changed files with 154 additions and 133 deletions

View File

@@ -1497,6 +1497,7 @@
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 7.2rem;
font-size: 1.4rem;
color: #9ea1a2;
@@ -1647,15 +1648,15 @@
gap: 1rem;
}
.reviewArea .reviewInner .reviewList .item .textArea .photoArea .photoItem {
width: 7.2rem;
height: 7.2rem;
width: 5.6rem;
height: 5.6rem;
border-radius: 0.8rem;
overflow: hidden;
}
@media (min-width: 768px) {
.reviewArea .reviewInner .reviewList .item .textArea .photoArea .photoItem {
width: 16rem;
height: 16rem;
width: 12rem;
height: 12rem;
}
}
.reviewArea .reviewInner .reviewList .item .textArea .photoArea .photoItem button {
@@ -5551,11 +5552,55 @@ body.scroll-up .displayThemeDesney.discover-epic-design .tab-wrap .tab-menu {
margin: 3rem 0;
padding: 3rem 0 0;
display: flex;
flex-wrap: wrap;
flex-wrap: nowrap;
align-items: flex-start;
}
.photoReviewList .allPhotoReview {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
flex-shrink: 0;
width: 7.2rem;
height: 7.2rem;
aspect-ratio: 1/1;
font-size: 1.1rem;
font-weight: 600;
color: #fff;
background-color: #05141f;
border-radius: 0.8rem;
margin-right: 1rem;
}
@media (min-width: 768px) {
.photoReviewList .allPhotoReview {
width: 16rem;
height: 16rem;
margin-right: 1.3rem;
font-size: 1.4rem;
}
}
.photoReviewList .allPhotoReview:before {
content: "";
display: block;
width: 100%;
height: 1.6rem;
margin-bottom: 0.2rem;
background: url(../images/common/icon_camera.png) no-repeat center center/auto 100%;
}
@media (min-width: 768px) {
.photoReviewList .allPhotoReview:before {
height: 3.2rem;
margin-bottom: 1.2rem;
}
}
.photoReviewList ul {
display: flex;
gap: 1rem;
flex: 1;
min-width: 0;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
.photoReviewList ul {
@@ -5565,24 +5610,24 @@ body.scroll-up .displayThemeDesney.discover-epic-design .tab-wrap .tab-menu {
.photoReviewList ul li {
overflow: hidden;
position: relative;
flex: 1 0 calc((100% - 3rem) / 4);
width: calc((100% - 3rem) / 4);
min-width: 0;
flex-shrink: 0;
width: 7.2rem;
height: 7.2rem;
aspect-ratio: 1/1;
border-radius: 0.8rem;
}
@media (min-width: 768px) {
.photoReviewList ul li {
flex: 0 0 14.2857142857%;
width: 14.2857142857%;
aspect-ratio: 1/1;
width: 16rem;
height: 16rem;
aspect-ratio: inherit;
}
}
.photoReviewList ul li:nth-child(n+5):nth-child(-n+7) {
.photoReviewList ul li:nth-child(n+4):nth-child(-n+7) {
display: none;
}
@media (min-width: 768px) {
.photoReviewList ul li:nth-child(n+5):nth-child(-n+7) {
.photoReviewList ul li:nth-child(n+4):nth-child(-n+7) {
display: block;
}
}
@@ -5612,30 +5657,6 @@ body.scroll-up .displayThemeDesney.discover-epic-design .tab-wrap .tab-menu {
z-index: 1;
line-height: 1;
}
.photoReviewList ul li .allPhotoReview: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;
}
@media (min-width: 768px) {
.photoReviewList ul li .allPhotoReview:before {
font-size: 2rem;
}
}
.photoReviewList ul li .allPhotoReview-mobile {
display: block;
}

File diff suppressed because one or more lines are too long

View File

@@ -1590,7 +1590,7 @@
}
}
.btn-select.on+.list-member {
.btn-select.on + .list-member {
display: block;
}
@@ -1621,6 +1621,7 @@
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 7.2rem;
font-size: 1.4rem;
color: #9ea1a2;
@@ -1716,7 +1717,7 @@
line-height: 1;
}
+span {
+ span {
@include tablet {
padding-left: 1.6rem;
margin-left: 1.6rem;
@@ -1774,14 +1775,14 @@
gap: 1rem;
.photoItem {
width: 7.2rem;
height: 7.2rem;
width: 5.6rem;
height: 5.6rem;
border-radius: 0.8rem;
overflow: hidden;
@include tablet {
width: 16rem;
height: 16rem;
width: 12rem;
height: 12rem;
}
button {
@@ -1999,7 +2000,7 @@
font-size: 1.8rem;
}
>p {
> p {
position: relative;
width: 93%;
@@ -2075,7 +2076,7 @@
}
}
dt.active+dd {
dt.active + dd {
display: block;
}
@@ -2207,7 +2208,7 @@
}
}
button+button {
button + button {
margin-top: 1rem;
@include tablet {
@@ -2219,7 +2220,7 @@
}
}
>.dd-padding {
> .dd-padding {
padding-left: 6.5rem;
}
}
@@ -2240,9 +2241,10 @@
content: none;
}
&:hover {}
&:hover {
}
>p {
> p {
span {
color: #9ea1a2;
}
@@ -2250,7 +2252,7 @@
}
}
dl+dl {
dl + dl {
margin-top: 1rem;
}
}
@@ -2470,7 +2472,6 @@
}
@include maxtablet {
&:before,
&:after {
display: none;
@@ -2539,7 +2540,6 @@
// height: 10rem;
.comp_body {
.text_area {
// display: flex;
h3 {
font-size: 3rem;
@@ -2550,7 +2550,7 @@
font-size: 1.6rem;
}
>* {
> * {
flex: 1;
}
}
@@ -2626,7 +2626,7 @@
}
}
&+.item {
& + .item {
margin-top: 8rem;
@include maxtablet {
@@ -2640,7 +2640,7 @@
}
}
&+.comp_1x_b_v_s_b {
& + .comp_1x_b_v_s_b {
position: relative;
z-index: 2;
margin-top: 0;
@@ -2666,7 +2666,7 @@
margin-top: 8rem;
.comp_body {
&+.comp_body {
& + .comp_body {
margin-top: 10rem;
}
@@ -2683,7 +2683,7 @@
.displayThemeDtl {
.swiper-navigation {
>* {
> * {
top: 210px;
left: -65px;
width: 5rem;
@@ -2918,7 +2918,6 @@
}
@include maxtablet {
&:before,
&:after {
display: none;
@@ -2989,13 +2988,12 @@
.comp_body {
.text_area {
// display: flex;
h3 {
margin-bottom: 2rem;
}
>* {
> * {
flex: 1;
}
}
@@ -3064,7 +3062,7 @@
}
}
&+.item {
& + .item {
margin-top: 8rem;
@include maxtablet {
@@ -3078,7 +3076,7 @@
}
}
&+.comp_1x_b_v_s_b {
& + .comp_1x_b_v_s_b {
position: relative;
z-index: 2;
margin-top: 2rem;
@@ -3351,7 +3349,7 @@
}
}
.contentWarp .productView .productRight .optionWarp .producOption .optionList .checkBtn.type2 input[type="checkbox"]+label {
.contentWarp .productView .productRight .optionWarp .producOption .optionList .checkBtn.type2 input[type="checkbox"] + label {
height: auto;
padding: 2rem 2rem 2rem 0;
@@ -3547,13 +3545,12 @@
// }
.comp_body {
.text_area {
// display: flex;
h3 {
margin-bottom: 2rem;
}
>* {
> * {
flex: 1;
}
}
@@ -3583,7 +3580,7 @@
.comp_wide {
&.title-only {
&+.comp_wide {
& + .comp_wide {
margin-top: 4rem;
}
}
@@ -3831,7 +3828,6 @@
}
&.paused {
.btn-play,
.btn-sound {
display: block !important;
@@ -3963,7 +3959,6 @@
}
&.playing {
.comp_body.layer_up,
.thumb-swiper,
.pdpInCarGameSwiper,
@@ -4104,7 +4099,7 @@
.pdpDtl {
.swiper-navigation {
>* {
> * {
top: 210px;
left: -65px;
width: 5rem;
@@ -4153,7 +4148,8 @@
}
.scroll_area {
@include maxtablet {}
@include maxtablet {
}
.web {
display: block;
@@ -4447,7 +4443,7 @@
display: block;
.swiper-slide {
&+.swiper-slide {
& + .swiper-slide {
margin-top: 5rem;
}
}
@@ -4455,7 +4451,7 @@
}
.swiper-navigation {
>* {
> * {
top: 210px;
left: -65px;
width: 5rem;
@@ -4727,7 +4723,7 @@
font-size: 1.6rem;
}
>* {
> * {
display: inline-block;
}
}
@@ -5037,7 +5033,7 @@
background: url(../images/kia/pdp/display_theme_mickey/bg_design.jpg) no-repeat center top / 192rem auto;
}
>.comp_top {
> .comp_top {
padding-bottom: 0;
h3 {
@@ -5068,7 +5064,7 @@
background: url(../images/kia/pdp/display_theme_mickey/pixar/bg_design.jpg) no-repeat center top / 192rem auto;
}
>.comp_top {
> .comp_top {
padding-bottom: 0;
h3 {
@@ -5619,7 +5615,7 @@
.welcome-goodbye {
.image_area {
&+.image_area {
& + .image_area {
margin-top: 0.4rem;
@include tablet {
@@ -5647,7 +5643,7 @@
padding: 2.2rem;
}
&+.video-area {
& + .video-area {
margin-top: 1.2rem;
@include tablet {
@@ -5779,7 +5775,7 @@
align-items: center;
}
&+li {
& + li {
margin-top: 3.7rem;
@include tablet {
@@ -6299,14 +6295,54 @@
border-top: 1px solid #dedede;
margin: 3rem 0;
padding: 3rem 0 0;
// overflow: hidden;
// overflow-x: auto;
display: flex;
flex-wrap: wrap;
flex-wrap: nowrap;
align-items: flex-start;
.allPhotoReview {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
flex-shrink: 0;
// width: calc((100% - 3rem) / 4);
width: 7.2rem;
height: 7.2rem;
aspect-ratio: 1/1;
font-size: 1.1rem;
font-weight: 600;
color: #fff;
background-color: #05141f;
border-radius: 0.8rem;
margin-right: 1rem;
@include tablet {
width: 16rem;
height: 16rem;
margin-right: 1.3rem;
font-size: 1.4rem;
}
&:before {
content: "";
display: block;
width: 100%;
height: 1.6rem;
margin-bottom: 0.2rem;
background: url(../images/common/icon_camera.png) no-repeat center center / auto 100%;
@include tablet {
height: 3.2rem;
margin-bottom: 1.2rem;
}
}
}
ul {
display: flex;
gap: 1rem;
flex: 1;
min-width: 0;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
@include tablet {
gap: 1.3rem;
@@ -6315,21 +6351,21 @@
li {
overflow: hidden;
position: relative;
flex: 1 0 calc((100% - 3rem) / 4);
width: calc((100% - 3rem) / 4);
min-width: 0;
flex-shrink: 0;
// width: calc((100% - 2rem) / 3);
width: 7.2rem;
height: 7.2rem;
aspect-ratio: 1 / 1;
border-radius: 0.8rem;
@include tablet {
flex: 0 0 calc(100% / 7);
width: calc(100% / 7);
aspect-ratio: 1 / 1;
width: 16rem;
height: 16rem;
aspect-ratio: inherit;
}
// 4~6 번째 숨김
&:nth-child(n + 5):nth-child(-n + 7) {
&:nth-child(n + 4):nth-child(-n + 7) {
display: none;
@include tablet {
@@ -6366,32 +6402,6 @@
line-height: 1;
}
.allPhotoReview {
&: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;
}
}
}
// 모바일용 전체 포토리뷰 버튼 (4번째에 표시)
.allPhotoReview-mobile {
display: block;
@@ -6466,7 +6476,7 @@
input[type="checkbox"]:disabled {
cursor: not-allowed;
&+span {
& + span {
color: #ccc;
cursor: not-allowed;
}
@@ -6478,4 +6488,4 @@
width: 15rem;
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 B

View File

@@ -1095,6 +1095,9 @@
</div>
</div>
<div class="photoReviewList">
<button class="allPhotoReview" onclick="open_layer_popup('photoReviewAll_Popup')">
전체 포토리뷰
</button>
<ul>
<li>
<button onclick="open_layer_popup('photoReviewDetail_Popup')">
@@ -1112,17 +1115,6 @@
<img src="../assets/images/kia/product-img/phptoreview-temp3.jpg" alt="리뷰 이미지">
</button>
</li>
<li>
<button onclick="open_layer_popup('photoReviewDetail_Popup')">
<img src="../assets/images/kia/product-img/phptoreview-temp4.jpg" alt="리뷰 이미지">
<div class="count">2</div>
</button>
<!-- 모바일용 전체 포토리뷰 버튼 -->
<button class="allPhotoReview allPhotoReview-mobile" onclick="open_layer_popup('photoReviewAll_Popup')">
<img src="../assets/images/kia/product-img/phptoreview-temp4.jpg" alt="리뷰 이미지">
</button>
<!-- //모바일용 전체 포토리뷰 버튼 -->
</li>
<li>
<button onclick="open_layer_popup('photoReviewDetail_Popup')">
<img src="../assets/images/kia/product-img/phptoreview-temp5.jpg" alt="리뷰 이미지">
@@ -1134,11 +1126,9 @@
</button>
</li>
<li>
<!-- PC용 전체 포토리뷰 버튼 -->
<button class="allPhotoReview allPhotoReview-pc" onclick="open_layer_popup('photoReviewAll_Popup')">
<img src="../assets/images/kia/product-img/phptoreview-temp7.jpg" alt="리뷰 이미지">
<button onclick="open_layer_popup('photoReviewDetail_Popup')">
<img src="../assets/images/kia/product-img/phptoreview-temp2.jpg" alt="리뷰 이미지">
</button>
<!-- //PC용 전체 포토리뷰 버튼 -->
</li>
</ul>