This commit is contained in:
292
public/plugin/css/loan_rate.css
Normal file
292
public/plugin/css/loan_rate.css
Normal file
@@ -0,0 +1,292 @@
|
||||
@charset "utf-8";
|
||||
|
||||
/* reset */
|
||||
/* body {font-size:1rem;color:#333;line-height:1.5;letter-spacing:0.5px;padding:0;margin:0;overflow-x:hidden;-webkit-text-size-adjust:none;
|
||||
font-family: -apple-system,BlinkMacSystemFont,'Malgun Gothic','맑은 고딕',helvetica,'Apple SD Gothic Neo',helvetica,'나눔바른고딕 옛한글','NanumBarunGothic YetHangul',sans-serif;}
|
||||
*/
|
||||
ul, li,dl,dt,dd {list-style:none;margin:0;padding:0;}
|
||||
a {color:#333;text-decoration:none;}
|
||||
p,h1,h2,h3,h4,h5,h6 {margin:0;}
|
||||
table {width:100%;border-collapse:collapse;border-spacing:0;font-size:inherit;}
|
||||
table th {font-weight:normal;}
|
||||
caption {height:0;width:0;overflow:hidden;font-size:0;line-height:0;text-indent:-99999em;}
|
||||
u {font-style:oblique;text-decoration:none;}
|
||||
html body * {box-sizing:border-box;}
|
||||
|
||||
/* tab */
|
||||
.tab_type01 {height:50px;border-bottom:1px solid #ddd;}
|
||||
.tab_type01 ul:after {content:'';display:block;clear:both;}
|
||||
.tab_type01 ul {border-left:1px solid #ddd;}
|
||||
.tab_type01 ul li {float:left;}
|
||||
.tab_type01 ul li a {display:block;height:49px;padding:0 5px;text-align:center;font-size:13px;color:#666;line-height:49px;border:1px solid #ddd;
|
||||
border-left:none;border-bottom:none;background-color:#f1f1f1;}
|
||||
.tab_type01 ul li a.active {position:relative;height:50px;line-height:48px;color:#333;background-color:#fff;}
|
||||
.tab_type01 ul li a.active:before {content:'';position:absolute;top:-1px;left:-1px;right:-1px;height:2px;background-color:#222;}
|
||||
.tab_type01.col_2 ul li {width:25%;}
|
||||
.tab_view_box {display:none;margin-top:35px;}
|
||||
.tab_view_box.block {display:block;}
|
||||
|
||||
.loan_rate {padding:20px;}
|
||||
.inner {position:relative;}
|
||||
|
||||
.owl_page {text-align:center;padding:0 0 20px 0;}
|
||||
.owl_page > span {display:inline-block;text-align:center;padding:0 10px;}
|
||||
.owl_page .owl_prev_btn,
|
||||
.owl_page .owl_next_btn {cursor:pointer;}
|
||||
.owl_page .owl_counter b {color:#00f;}
|
||||
|
||||
/* 담보대출정보 */
|
||||
.loan_rate .product_list .item {
|
||||
border-top: 1px solid #ddd;
|
||||
padding: 14px 18px 18px 18px;
|
||||
}
|
||||
.loan_rate .product_list .product_title {
|
||||
font-size: 15px;
|
||||
margin-bottom: 1px;
|
||||
font-weight: 600;
|
||||
line-height: 26px;
|
||||
}
|
||||
.loan_rate .product_list .product_title .bank_name {
|
||||
color: #00f;
|
||||
}
|
||||
.loan_rate .product_list .product_title .label_icon {
|
||||
display: inline-block;
|
||||
color:#555;
|
||||
margin: 4px 0 0 5px;
|
||||
border-radius: 15px;
|
||||
-webkit-border-radius: 15px;
|
||||
font-size: 11px;
|
||||
line-height: 13px;
|
||||
border: 1px solid #555;
|
||||
padding: 2px 6px;
|
||||
vertical-align: top;
|
||||
font-weight: bold;
|
||||
}
|
||||
.loan_rate .product_list .product_title .label_icon + .label_icon {
|
||||
margin-left: 0;
|
||||
}
|
||||
.loan_rate .product_list .rate_detail {
|
||||
overflow: hidden;
|
||||
padding: 0 0 2px;
|
||||
font-size: 13px;
|
||||
line-height: 22px;
|
||||
letter-spacing: -0.5px;
|
||||
}
|
||||
.loan_rate .product_list .rate_detail dt {
|
||||
float: left;
|
||||
margin: 3px 12px 0 0;
|
||||
clear: both;
|
||||
}
|
||||
.loan_rate .product_list .rate_detail dd {
|
||||
overflow: hidden;
|
||||
margin-top: 3px;
|
||||
}
|
||||
.loan_rate .product_list .rate_detail dd.line_align {
|
||||
float: left;
|
||||
position: relative;
|
||||
margin-right: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
.loan_rate .product_list .rate_detail dd.line_align + dt {
|
||||
clear: inherit;
|
||||
}
|
||||
.loan_rate .product_list .rate_detail dd strong.rate_text {
|
||||
color: #f7901e;
|
||||
}
|
||||
.loan_rate .product_list .rate_detail dd.line_align:after {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 0;
|
||||
width: 1px;
|
||||
height: 13px;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.loan_rate .info_detail .list_detail {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 10px 0 0;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
.loan_rate .info_detail .list_detail li {
|
||||
display: block;
|
||||
text-align: center;
|
||||
width: 50%;
|
||||
float: left;
|
||||
}
|
||||
.loan_rate .info_detail .list_detail li ~ li .option_btn {border-left:none;}
|
||||
.loan_rate .info_detail .list_detail li._foldingWrapper.active .layer_box {display:block;}
|
||||
.loan_rate .info_detail .list_detail li._foldingWrapper.active .option_btn {background-color:#fff;border-bottom:0;}
|
||||
|
||||
.loan_rate .info_detail .list_detail .option_btn {
|
||||
display: block;
|
||||
font-size:12px;
|
||||
padding: 8px 0 0 0;
|
||||
height: 36px;
|
||||
vertical-align: middle;
|
||||
color: #333;
|
||||
background-color: #f2f2f2;
|
||||
border: 1px solid #ddd;
|
||||
border-right: 1px solid #ddd;
|
||||
box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
}
|
||||
.loan_rate .info_detail .list_detail .option_btn::after {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 5px;
|
||||
background: url(../images/ico_arrow_down_gray.png) no-repeat;
|
||||
margin: 5px 0 0 5px;
|
||||
vertical-align: top;
|
||||
background-size:8px auto;
|
||||
}
|
||||
.loan_rate .info_detail .list_detail ._foldingWrapper.active .option_btn::after {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.loan_rate .info_detail .list_detail .layer_box {
|
||||
display: none;
|
||||
padding: 15px 0 0 15px;
|
||||
border: 1px solid #e4e5e7;
|
||||
border-width: 0px 1px 1px;
|
||||
width: 200%;
|
||||
box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
}
|
||||
.loan_rate .info_detail .list_detail li + li .layer_box {
|
||||
margin-left: -100%;
|
||||
padding:15px 10px 0 15px;
|
||||
}
|
||||
.loan_rate .info_detail .list_detail .info_box {
|
||||
margin: -1px 0 0;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
.loan_rate .info_detail .list_detail .detial_info {
|
||||
overflow: hidden;
|
||||
padding-right: 15px;
|
||||
font-size: 13px;
|
||||
line-height: 23px;
|
||||
text-align: left;
|
||||
}
|
||||
.loan_rate .info_detail .list_detail .detial_info dt {
|
||||
float: left;
|
||||
color: #222;
|
||||
margin: 6px 10px 0 0;
|
||||
font-weight:600;
|
||||
}
|
||||
.loan_rate .info_detail .list_detail .detial_info dt.none_float {
|
||||
float: none;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.loan_rate .info_detail .list_detail .detial_info dd {
|
||||
overflow: hidden;
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
.loan_rate .info_detail .list_detail .detial_info dt + dd {
|
||||
margin-top: 6px;
|
||||
}
|
||||
.loan_rate .info_detail .list_detail .detial_info .none_float + dd {
|
||||
margin-top: 1px;
|
||||
}
|
||||
.loan_rate .info_detail .list_detail .layer_box .notice_text {
|
||||
text-align: left;
|
||||
margin: 7px 0 0 0;
|
||||
font-size: 13px;
|
||||
color:#222;
|
||||
line-height: 21px;
|
||||
font-weight:600;
|
||||
}
|
||||
.loan_rate .info_detail .list_detail .layer_box .bottom_area {
|
||||
margin: 10px 15px 0 0;
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
.loan_rate .info_detail .list_detail .layer_box .bottom_area .btn_close {
|
||||
display: block;
|
||||
font-size:12px;
|
||||
height: 36px;
|
||||
padding: 8px 0 0;
|
||||
box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
text-align: center;
|
||||
font-weight:600;
|
||||
}
|
||||
|
||||
|
||||
.loan_rate .info_detail .list_detail .table_box table {
|
||||
width: 100%;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
.loan_rate .info_detail .list_detail .table_box thead tr th {
|
||||
color: #222;
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
background-color: #f2f2f2;
|
||||
border: 1px solid #ddd;
|
||||
padding: 10px 5px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
|
||||
.loan_rate .info_detail .list_detail .table_box tbody tr td {
|
||||
font-size: 13px;
|
||||
min-height: 42px;
|
||||
color: #222;
|
||||
vertical-align: middle;
|
||||
border: 1px solid #ddd;
|
||||
padding: 10px 7px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.loan_rate .info_detail .list_detail .table_box tbody tr td > span {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.loan_rate .info_detail .list_detail .layer_box .desp_info {
|
||||
padding: 0 15px 10px 0;
|
||||
font-size: 13px;
|
||||
line-height: 23px;
|
||||
color: #222;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.loan_rate .info_detail .list_detail .table_box tbody tr td .text_red {
|
||||
font-weight: 600;
|
||||
display: block;
|
||||
color: #f7901e;
|
||||
}
|
||||
|
||||
.loan_rate .info_detail .list_detail .layer_box .sub_info dl {
|
||||
overflow: hidden;
|
||||
font-size: 13px;
|
||||
line-height: 23px;
|
||||
color: #222;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.loan_rate .info_detail .list_detail .layer_box .notice_text + dl {
|
||||
margin: 7px 0 0 0;
|
||||
}
|
||||
|
||||
.loan_rate .info_detail .list_detail .layer_box .sub_info dl dt {
|
||||
float: left;
|
||||
margin: 3px 10px 0 0;
|
||||
font-size:13px;
|
||||
font-weight:600;
|
||||
}
|
||||
|
||||
.loan_rate .info_detail .list_detail .layer_box .sub_info dl dd {
|
||||
overflow: hidden;
|
||||
margin-top: 3px;
|
||||
font-weight:400;
|
||||
}
|
||||
|
||||
.loan_rate .info_detail .list_detail .layer_box .sub_info a,
|
||||
.info_detail .list_detail .detial_info dd a {
|
||||
color:#00f;
|
||||
}
|
||||
|
||||
6
public/plugin/css/owl.carousel.min.css
vendored
Normal file
6
public/plugin/css/owl.carousel.min.css
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Owl Carousel v2.3.4
|
||||
* Copyright 2013-2018 David Deutsch
|
||||
* Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
|
||||
*/
|
||||
.owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y;touch-action:manipulation;-moz-backface-visibility:hidden}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.no-js .owl-carousel,.owl-carousel.owl-loaded{display:block}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-nav button.owl-next,.owl-carousel .owl-nav button.owl-prev,.owl-carousel button.owl-dot{background:0 0;color:inherit;border:none;padding:0!important;font:inherit}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{-ms-touch-action:pan-y;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{animation-duration:1s;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{animation-name:fadeOut}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item .owl-lazy:not([src]),.owl-carousel .owl-item .owl-lazy[src^=""]{max-height:0}.owl-carousel .owl-item img.owl-lazy{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{-ms-transform:scale(1.3,1.3);transform:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%}
|
||||
6
public/plugin/css/owl.theme.default.min.css
vendored
Normal file
6
public/plugin/css/owl.theme.default.min.css
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Owl Carousel v2.3.4
|
||||
* Copyright 2013-2018 David Deutsch
|
||||
* Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
|
||||
*/
|
||||
.owl-theme .owl-dots,.owl-theme .owl-nav{text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-nav{margin-top:10px}.owl-theme .owl-nav [class*=owl-]{color:#FFF;font-size:14px;margin:5px;padding:4px 7px;background:#D6D6D6;display:inline-block;cursor:pointer;border-radius:3px}.owl-theme .owl-nav [class*=owl-]:hover{background:#869791;color:#FFF;text-decoration:none}.owl-theme .owl-nav .disabled{opacity:.5;cursor:default}.owl-theme .owl-nav.disabled+.owl-dots{margin-top:10px}.owl-theme .owl-dots .owl-dot{display:inline-block;zoom:1}.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#D6D6D6;display:block;-webkit-backface-visibility:visible;transition:opacity .2s ease;border-radius:30px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#869791}
|
||||
105
public/plugin/js/loan_rate.js
Normal file
105
public/plugin/js/loan_rate.js
Normal file
@@ -0,0 +1,105 @@
|
||||
|
||||
$(document).ready(function(){
|
||||
// tab
|
||||
$('.tab_type01 a').click(function (e) {
|
||||
var contentid = $(this).attr('title');
|
||||
e.preventDefault();
|
||||
|
||||
$('.tab_type01 .active').removeClass('active');
|
||||
$(this).addClass('active');
|
||||
$('.tab_view_box').removeClass('block');
|
||||
$('#' + contentid).addClass('block');
|
||||
|
||||
$('.owl-carousel.loan_rate_sgroup').trigger('to.owl.carousel', 0);
|
||||
$('.loan_rate ._foldingWrapper').removeClass('active');
|
||||
});
|
||||
|
||||
// content slide.
|
||||
var loanTotalOwl = $('.owl-carousel.type_total');
|
||||
var loanBankOwl = $('.owl-carousel.type_bank');
|
||||
var loanSavingsbankOwl = $('.owl-carousel.type_savingsbank');
|
||||
var loanInsuranceOwl = $('.owl-carousel.type_insurance');
|
||||
|
||||
loanTotalOwl.owlCarousel({
|
||||
items:1,
|
||||
loop: false,
|
||||
nav: false,
|
||||
dots: false,
|
||||
mouseDrag: false,
|
||||
touchDrag: false,
|
||||
onInitialized : counter,
|
||||
onTranslated : counter
|
||||
});
|
||||
|
||||
loanBankOwl.owlCarousel({
|
||||
items:1,
|
||||
loop: false,
|
||||
nav: false,
|
||||
dots: false,
|
||||
mouseDrag: false,
|
||||
touchDrag: false,
|
||||
onInitialized : counter,
|
||||
onTranslated : counter
|
||||
});
|
||||
|
||||
loanSavingsbankOwl.owlCarousel({
|
||||
items:1,
|
||||
loop: false,
|
||||
nav: false,
|
||||
dots: false,
|
||||
mouseDrag: false,
|
||||
touchDrag: false,
|
||||
onInitialized : counter,
|
||||
onTranslated : counter
|
||||
});
|
||||
|
||||
loanInsuranceOwl.owlCarousel({
|
||||
items:1,
|
||||
loop: false,
|
||||
nav: false,
|
||||
dots: false,
|
||||
mouseDrag: false,
|
||||
touchDrag: false,
|
||||
onInitialized : counter,
|
||||
onTranslated : counter
|
||||
});
|
||||
|
||||
$('.loan_rate .owl_prev_btn').click(function() {
|
||||
$(this).closest('.tab_view_box').find('.owl-carousel.loan_rate_sgroup').trigger('prev.owl.carousel');
|
||||
});
|
||||
|
||||
$('.loan_rate .owl_next_btn').click(function() {
|
||||
$(this).closest('.tab_view_box').find('.owl-carousel.loan_rate_sgroup').trigger('next.owl.carousel');
|
||||
})
|
||||
|
||||
function counter(event) {
|
||||
var element = event.target;
|
||||
var items = event.item.count;
|
||||
var item = event.item.index + 1;
|
||||
|
||||
if(item > items) {
|
||||
item = item - items
|
||||
}
|
||||
|
||||
$(element).closest('.tab_view_box').find('.owl_counter').html("<b>" + item + "</b> / " + items);
|
||||
}
|
||||
|
||||
// 상세보기 & 월평균상환액 tab.
|
||||
$('.loan_rate ul.list_detail .option_btn').click(function () {
|
||||
var isActive = $(this).parent('li._foldingWrapper').hasClass('active');
|
||||
|
||||
$(this).closest('ul.list_detail').find('li._foldingWrapper').removeClass('active');
|
||||
|
||||
if(!isActive) {
|
||||
$(this).parent('li._foldingWrapper').addClass('active');
|
||||
} else {
|
||||
$(this).parent('li._foldingWrapper').removeClass('active');
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
$('.loan_rate .info_detail .bottom_area .btn_close').click(function () {
|
||||
$(this).closest('ul.list_detail').find('li._foldingWrapper').removeClass('active');
|
||||
});
|
||||
|
||||
});
|
||||
7
public/plugin/js/owl.carousel.min.js
vendored
Normal file
7
public/plugin/js/owl.carousel.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user