This commit is contained in:
rulingcom 2021-09-17 16:09:44 +08:00
parent 477700f698
commit 34ad9aaec7
4 changed files with 21 additions and 4 deletions

View File

@ -623,14 +623,23 @@ extendPanelWidget();
// //
// } // }
//RWD 自動縮放headerbannner //RWD 自動縮放headerbannner
function headerH() { function headerH() {
if ($(window).width() < 768) { if ($(window).width() < 768) {
const navH = $('.layout-header .navbar-header').outerHeight(); const navH = $('.layout-header .navbar-header').outerHeight();
$('.extra-box').after($('.box'));
}else{
$('.modules-menu-level-0').after($('.box'));
} }
} }
headerH(); headerH();
$(window).resize(function() { $(window).resize(function() {
headerH(); headerH();
if ($(window).width() < 769) {
$('.extra-box').after($('.box'));
}else{
$('.modules-menu-level-0').after($('.box'));
}
}) })
init(); init();

View File

@ -12,10 +12,15 @@
} }
.layout-content-inner{ .layout-content-inner{
}
.colorwraper{
padding: 0;
} }
.colerbox{ .colerbox{
background: #288e8e; padding: 0;
padding: 0.9375em; }
.colerbox2{
} }
.middlebox{ .middlebox{
.w-annc__widget-title{ .w-annc__widget-title{

View File

@ -13,7 +13,10 @@
<div class="layout-content-inner container"> <div class="layout-content-inner container">
<section class="body-banner" data-pp="6"></section> <section class="body-banner" data-pp="6"></section>
<div class="row"> <div class="row">
<section class="layout-content-box col-sm-4 colerbox" data-pp="24"></section> <section class="layout-content-box colorwraper col-sm-4">
<section class=" col-sm-12 colerbox" data-pp="24"></section>
<section class=" col-sm-12 colerbox2" data-pp="27"></section>
</section>
<section class="layout-content-box col-sm-6 middlebox" data-pp="25"></section> <section class="layout-content-box col-sm-6 middlebox" data-pp="25"></section>
<section class="layout-content-box rightpart col-sm-2" data-pp="26"></section> <section class="layout-content-box rightpart col-sm-2" data-pp="26"></section>
</div> </div>

View File

@ -1 +1 @@
{"key":"asia_kstyle4","title":"asia_Kstyle4","author":"kenlee","thumbnail":"assets/images/design_thumb.png"} {"key":"asia_Kstyle4","title":"asia_Kstyle4","author":"kenlee","thumbnail":"assets/images/design_thumb.png"}