This commit is contained in:
ken 2026-09-22 14:53:31 +08:00
parent 50061c3049
commit 16ee85a174
3 changed files with 11 additions and 2 deletions

View File

@ -132,7 +132,7 @@ sup {
sup {
font-size: 0.65em;
color: #6a6a6a;
color: #c5c5c5;
align-self: flex-end;
}
}
@ -143,7 +143,7 @@ sup {
margin: 0;
display: flex;
justify-content: space-between;
align-items: anchor-center;
// @media (max-width: $screen-sm) {
// width: 100%;
// display: flex;

View File

@ -628,6 +628,9 @@ ul.button-mid{
// widget8
.ba-banner-widget-8 {
position: relative;
.banner-overlay{
background:$theme-color-second;
}
// ✅ mp4 jPlayer 修正:讓 jplayer_slide 有固定高度,不繼承 wrap 的 padding-bottom 0
.jplayer_slide {

View File

@ -398,6 +398,12 @@
$(this).addClass('active');
$(this).parents('.controlplay').eq(0).find('.pause-slide').removeClass('active');
});
$('[data-subpart-id="{{subpart-id}}"] .next-button').click(function(){
$(this).parent("ul").parent('.w-ba-banner').find(".cycle-slideshow").cycle("next");
})
$('[data-subpart-id="{{subpart-id}}"] .prev-button').click(function(){
$(this).parent("ul").parent('.w-ba-banner').find(".cycle-slideshow").cycle("prev");
})
});
/* 修正點:處理 Pager 無障礙朗讀文字 */
$('.cycle-slideshow').on('cycle-post-initialize', function(event, optionHash) {