

240411 김하영
@5860f3665c93cad097597fba46e3f3d96bd37862
--- resources/css/responsive.css
+++ resources/css/responsive.css
... | ... | @@ -616,7 +616,6 @@ |
616 | 616 |
.traffic-button button { |
617 | 617 |
padding: 7px 46px; |
618 | 618 |
font-size: 1.2rem; |
619 |
- margin: 2rem 0; |
|
620 | 619 |
} |
621 | 620 |
|
622 | 621 |
.traffic-button { |
--- views/pages/AboutUs.html
+++ views/pages/AboutUs.html
... | ... | @@ -612,7 +612,6 @@ |
612 | 612 |
</div> |
613 | 613 |
</div> |
614 | 614 |
</div> |
615 |
- <div class="swiper-scrollbar"></div> |
|
616 | 615 |
</div> |
617 | 616 |
</div> |
618 | 617 |
</div> |
... | ... | @@ -635,7 +634,7 @@ |
635 | 634 |
|
636 | 635 |
|
637 | 636 |
<script> |
638 |
- |
|
637 |
+ // history에서 슬라이드시 영역 별 year active 시키는 코드 |
|
639 | 638 |
document.addEventListener('DOMContentLoaded', function () { |
640 | 639 |
const years = document.querySelectorAll('.year'); |
641 | 640 |
const contents = document.querySelector('.contents'); |
... | ... | @@ -671,35 +670,11 @@ |
671 | 670 |
if (initialYearElement) { |
672 | 671 |
updateActiveYear('2020'); |
673 | 672 |
} else { |
674 |
- // console.error('2020년에 해당하는 요소를 찾을 수 없습니다.'); |
|
675 | 673 |
} |
676 | 674 |
}); |
677 | 675 |
|
678 |
- $(document).ready(function () { |
|
679 |
- $("#btnHeadquarter").click(function () { |
|
680 |
- $("#btnHeadquarter").addClass('on'); |
|
681 |
- $("#btnDaeguBranch").removeClass('on'); |
|
682 |
- $("#contentDaeguBranch").hide(); |
|
683 | 676 |
|
684 |
- $("#contentHeadquarter").show(); |
|
685 |
- }); |
|
686 |
- |
|
687 |
- $("#btnDaeguBranch").click(function () { |
|
688 |
- $("#btnDaeguBranch").addClass('on'); |
|
689 |
- $("#btnHeadquarter").removeClass('on'); |
|
690 |
- |
|
691 |
- $("#contentHeadquarter").hide(); |
|
692 |
- |
|
693 |
- $("#contentDaeguBranch").show(); |
|
694 |
- |
|
695 |
- |
|
696 |
- |
|
697 |
- |
|
698 |
- |
|
699 |
- }); |
|
700 |
- }); |
|
701 |
- |
|
702 |
- |
|
677 |
+ // business 아코디언 |
|
703 | 678 |
function slidesPlugin(activeSlide = 0) { |
704 | 679 |
const slides = document.querySelectorAll('.accordion'); |
705 | 680 |
let previousSlide = slides[activeSlide]; |
... | ... | @@ -739,7 +714,7 @@ |
739 | 714 |
|
740 | 715 |
slidesPlugin(); |
741 | 716 |
|
742 |
- |
|
717 |
+ // 페이지 스와이퍼 |
|
743 | 718 |
var swiper = new Swiper(".mySwiper", { |
744 | 719 |
direction: "vertical", |
745 | 720 |
slidesPerView: 1, |
... | ... | @@ -748,59 +723,18 @@ |
748 | 723 |
mousewheel: { |
749 | 724 |
releaseOnEdges: true, // 스와이퍼의 시작점과 끝점에서 마우스 휠 이벤트를 무시합니다. |
750 | 725 |
}, |
751 |
- slidesOffsetAfter: 220, |
|
752 |
- allowTouchMove: true, |
|
726 |
+ // slidesOffsetAfter: 220, |
|
753 | 727 |
|
754 |
- on: { |
|
755 |
- |
|
756 |
- slideChange: function () { |
|
757 |
- var currentIndex = this.realIndex; |
|
758 |
- if (currentIndex === 0) { |
|
759 |
- $('#header').removeClass('active'); |
|
760 |
- } else { |
|
761 |
- $('#header').addClass('active'); |
|
762 |
- } |
|
763 |
- var lastIndex = this.slides.length - 1; // 마지막 슬라이드의 인덱스 |
|
764 |
- if (this.activeIndex === lastIndex) { |
|
765 |
- $("#footer").show(); // 마지막 슬라이드에 도달하면 푸터를 보여줌 |
|
766 |
- } else { |
|
767 |
- $("#footer").hide(); // 그렇지 않으면 푸터를 숨김 |
|
768 |
- } |
|
769 |
- }, |
|
770 |
- |
|
771 |
- } |
|
772 | 728 |
}); |
729 |
+ // history 스와이퍼 |
|
773 | 730 |
var inner = new Swiper(".inner", { |
774 | 731 |
direction: "vertical", |
775 |
- slidesPerView: "auto", |
|
732 |
+ slidesPerView: "auto", |
|
776 | 733 |
freeMode: true, |
777 | 734 |
scrollbar: { |
778 | 735 |
el: ".swiper-scrollbar", |
779 | 736 |
}, |
780 |
- |
|
781 |
- // touchMoveStopPropagation: false, // 스와이퍼 내의 터치 이벤트가 바깥으로 전파되지 않도록 |
|
782 |
- preventClicks: true, // 스와이퍼에서 터치를 통한 클릭을 방지 |
|
783 |
- // preventClicksPropagation: true, // 스와이퍼에서 클릭 이벤트의 전파를 방지 |
|
784 |
- // 스와이프 동작 중에는 페이지 스크롤을 방지 |
|
785 |
- // onTouchMove: function (swiper, event) { |
|
786 |
- // if (swiper.isHorizontal() && (swiper.touches.diff < 0 || swiper.touches.diff > 0)) { |
|
787 |
- // event.preventDefault(); |
|
788 |
- // } |
|
789 |
- // } |
|
790 | 737 |
}); |
791 |
- |
|
792 |
- |
|
793 |
- // window.onload = function () { |
|
794 |
- // document.querySelectorAll('.mobile-contents').forEach(function (element) { |
|
795 |
- // element.addEventListener('click', function () { |
|
796 |
- // // 클릭 이벤트 핸들러 코드 |
|
797 |
- // swiper.mousewheel.enable(); |
|
798 |
- |
|
799 |
- // console.log('클릭 이벤트 발생!'); |
|
800 |
- // }); |
|
801 |
- // }); |
|
802 |
- // } |
|
803 |
- |
|
804 | 738 |
|
805 | 739 |
// 슬라이더 1이 움직이기 시작할 때 슬라이더 2의 움직임을 금지 |
806 | 740 |
inner.on('slideChangeTransitionStart', function () { |
--- views/pages/Solution.html
+++ views/pages/Solution.html
... | ... | @@ -25,9 +25,9 @@ |
25 | 25 |
<div class="swiper mySwiper" id="solution"> |
26 | 26 |
<div class="swiper-wrapper"> |
27 | 27 |
<div class="swiper-slide"> |
28 |
- <div class=" text-area pb60 pt60 slide-section flex align-center solution"> |
|
28 |
+ <div class=" text-area pb60 pt60 slide-section flex align-center solution" style="align-content: center;"> |
|
29 | 29 |
|
30 |
- <div class="solution-title"> |
|
30 |
+ <div class="solution-title mb20"> |
|
31 | 31 |
<p>Taken BI Manager v1.0</p> |
32 | 32 |
</div> |
33 | 33 |
<div class="flex justify-between align-end taken-wrap-box " style="flex-wrap: nowrap; gap: 20px;"> |
... | ... | @@ -70,9 +70,9 @@ |
70 | 70 |
</div> |
71 | 71 |
</div> |
72 | 72 |
<div class="swiper-slide"> |
73 |
- <div class=" text-area pb60 pt60 slide-section flex align-center"> |
|
73 |
+ <div class=" text-area pb60 pt60 slide-section flex align-center" style="align-content: center;"> |
|
74 | 74 |
|
75 |
- <div class="traffic-title"> |
|
75 |
+ <div class="traffic-title mb20"> |
|
76 | 76 |
<p>Traffic Agent</p> |
77 | 77 |
</div> |
78 | 78 |
|
... | ... | @@ -129,9 +129,9 @@ |
129 | 129 |
</div> |
130 | 130 |
</div> |
131 | 131 |
<div class="swiper-slide"> |
132 |
- <div class=" text-area pb60 pt60 slide-section flex align-center"> |
|
132 |
+ <div class=" text-area pb60 pt60 slide-section flex align-center" style="align-content: center;"> |
|
133 | 133 |
|
134 |
- <div class="ai-title"> |
|
134 |
+ <div class="ai-title mb20"> |
|
135 | 135 |
<p>AI 안전통합 횡단보도 관리 솔루션</p> |
136 | 136 |
</div> |
137 | 137 |
|
... | ... | @@ -186,15 +186,15 @@ |
186 | 186 |
</div> |
187 | 187 |
</div> |
188 | 188 |
<div class="swiper-slide meta-wrap"> |
189 |
- <div class=" text-area pb60 pt60 slide-section flex align-center"> |
|
190 |
- <div class="meta-title"> |
|
189 |
+ <div class=" text-area pb60 pt60 slide-section flex align-center" style="align-content: center;"> |
|
190 |
+ <div class="meta-title mb20"> |
|
191 | 191 |
<p>이동데이터 기반 성지순례길 메타버스 플랫폼</p> |
192 | 192 |
</div> |
193 | 193 |
|
194 | 194 |
|
195 | 195 |
<div class=" video-wrap"> |
196 | 196 |
<div class="traffic-video"> |
197 |
- <div class="flex justify-between mb10 "> |
|
197 |
+ <div class="flex justify-between "> |
|
198 | 198 |
<p>이동데이터 기반 성지순례길 메타버스 플랫폼</p> |
199 | 199 |
<p class="close-btn">x</p> |
200 | 200 |
</div> |
... | ... | @@ -239,9 +239,9 @@ |
239 | 239 |
</div> |
240 | 240 |
</div> |
241 | 241 |
<div class="swiper-slide"> |
242 |
- <div class=" text-area pb60 pt60 slide-section flex align-center"> |
|
242 |
+ <div class=" text-area pb60 pt60 slide-section flex align-center" style="align-content: center;"> |
|
243 | 243 |
|
244 |
- <div class="smart-title "> |
|
244 |
+ <div class="smart-title mb30" style="word-break: keep-all;"> |
|
245 | 245 |
<p>스마트제조 데이터 모니터링 서비스</p> |
246 | 246 |
</div> |
247 | 247 |
<div class="flex justify-between align-end taken-wrap-box" style="flex-wrap: nowrap; gap: 20px;"> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?