require(['jquery','bxslider'],function($){
$(document).ready(function() {
if(jQuery(window).width() < 768 ) {
$('.product-slider .product-items').bxSlider({
auto: false,
touchEnabled: true,
oneToOneTouch: true,
swipeThreshold: 10,
preventDefaultSwipeX: true,
maxSlides: 6,
slideWidth: 200,
slideMargin: 0,
moveSlides: 1,
minSlides: 2,
pager: false,
controls: true,
prevText: '<span class="icon fa fa-angle-left">',
nextText: '<span class="icon fa fa-angle-right">'
});
}else {
$('.product-slider .product-items').bxSlider({
auto: false,
touchEnabled: true,
oneToOneTouch: true,
swipeThreshold: 10,
preventDefaultSwipeX: true,
maxSlides: 6,
slideWidth: 200,
slideMargin: 0,
moveSlides: 2,
minSlides: 6,
pager: false,
controls: true,
prevText: '<span class="icon fa fa-angle-left">',
nextText: '<span class="icon fa fa-angle-right">'
});
}
});
});
.products-slider span {vertical-align: middle;}
MD 추천상품
MD 추천상품
.main-online-specials p {text-align: center; font-size: 1.4rem; font-weight: bold;}
.main-online-specials img {width: 86%; margin: 7%;}
.main-online-specials .mobile {display: none;}
.main-online-specials a:hover img {opacity: 0.9;}
@media screen and (min-width: 769px){
}
@media screen and (max-width: 768px) and (min-width: 480px){
.main-online-specials p {text-align: center; font-size: 1.4rem; font-weight: bold;}
.main-online-specials .mobile {display: none;}
}
@media screen and (max-width: 479px) {
.main-online-specials .pagebuilder-column-group {flex-flow: initial;}
.main-online-specials p {text-align: center; font-size: 1.15rem; font-weight: bold; padding: 0;}
.main-online-specials .mobile {display: block;}
}
.meat-product .main-title span {vertical-align: middle;}
.meat-product .banners {display: flex; border-top: 1px solid #ddd;}
.meat-product .small-banner-wrapper {display: flex;}
.meat-product .small-banner {border-right: 1px solid #ddd;}
.meat-product .banners img {display: block; width: 100%;}
@media screen and (max-width: 479px) {
.meat-product .banners {display: block;}
.meat-product .big-banner {width: 100%;}
.meat-product .small-banner-wrapper {display: block; overflow: hidden; border-right: 1px solid #ddd;}
.meat-product .small-banner {width: 50%; float: left; border-top: 1px solid #ddd; border-left: 1px solid #ddd; border-right: none; box-sizing: border-box;}
}
한우 & 수입육See More
한우 & 수입육 more ›
.health-tea-product .main-title span {vertical-align: middle;}
.health-tea-product .banners {display: flex; border-top: 1px solid #ddd;}
.health-tea-product .small-banner-wrapper {display: flex;}
.health-tea-product .small-banner {border-right: 1px solid #ddd;}
.health-tea-product .banners img {display: block; width: 100%;}
@media screen and (max-width: 479px) {
.health-tea-product .banners {display: block;}
.health-tea-product .big-banner {width: 100%;}
.health-tea-product .small-banner-wrapper {display: block; overflow: hidden; border-right: 1px solid #ddd;}
.health-tea-product .small-banner {width: 50%; float: left; border-top: 1px solid #ddd; border-left: 1px solid #ddd; border-right: none; box-sizing: border-box;}
}
홍삼 & 건강식품 & 차See More
홍삼 & 건강식품 & 차 more ›
.korean-cookie-product .main-title span {vertical-align: middle;}
.korean-cookie-product .banners {display: flex; border-top: 1px solid #ddd;}
.korean-cookie-product .small-banner-wrapper {display: flex;}
.korean-cookie-product .small-banner-wrapper .small-banner {border-right: 1px solid #ddd;}
.korean-cookie-product .banners img {display: block; width: 100%;}
@media screen and (max-width: 479px) {
.korean-cookie-product .banners {display: block;}
.korean-cookie-product .big-banner {width: 100%;}
.korean-cookie-product .small-banner-wrapper {display: block; overflow: hidden; border-right: 1px solid #ddd;}
.korean-cookie-product .small-banner-wrapper .small-banner {width: 50%; float: left; border-top: 1px solid #ddd; border-left: 1px solid #ddd; border-right: none; box-sizing: border-box;}
}
떡 & 한과 & 화고버섯See More
떡 & 한과 & 스낵 more ›