我正在尝试制作一个轮播,该轮播在其上方使用较小的导航轮播,以在网站上发布时事通讯。我正在使用Slick.js,并且文件中包含了SCSS和min.js。
在我甚至可以编辑SCSS对其样式进行设置之前,我只是想让轮播工作而遇到麻烦。
它应该像这样:
有人可以帮忙吗?
SELECT "Banda","Plec", NVL(SZEFUNIO,0) as SZEFUNIO, NVL(BANDZIOR,0) AS BANDZIOR, NVL(LOWCZY,0) AS LOWCZY, NVL(LAPACZ,0) AS LAPACZ, NVL(KOT,0) AS KOT, NVL(MILUSIA,0) AS MILUSIA, NVL(DZIELCZY,0) AS DZIELCZY,
(NVL(SZEFUNIO,0) + NVL(BANDZIOR,0) + NVL(LOWCZY,0) + NVL(LAPACZ,0) + NVL(KOT,0) + NVL(MILUSIA,0) + NVL(DZIELCZY,0)) as Suma
FROM (SELECT b.nazwa "Banda", funkcja "Funkcja", plec "Plec", przydzial_myszy "przydzial", NVL(myszy_extra,0) "myszy_extra" FROM Kocury k
join Bandy b on b.numer_bandy = k.nr_bandy
)
PIVOT
( sum("przydzial" + NVL("myszy_extra",0))
for "Funkcja"
in ('SZEFUNIO' as SZEFUNIO, 'BANDZIOR' AS BANDZIOR, 'LOWCZY' AS LOWCZY, 'LAPACZ' AS LAPACZ, 'KOT' AS KOT, 'MILUSIA' AS MILUSIA, 'DZIELCZY' AS DZIELCZY ))
order by "Banda";
$(document).ready(function(){
"use strict";
$("#menu_open").on('click', () => {
$("#hidden_menu").fadeIn(600);
$("#address").fadeOut(600);
});
$("#menu_close").on('click', () => {
$("#hidden_menu").fadeOut(600);
if (screen.width > 1024) {
$("#address").fadeIn(600);
} else {
$("#address").hide();
}
});
$('#more_advice').on('click', () => {
if ($('#more_advice').hasClass('.active')) {
$('.hidden_advice').hide();
$('#more_advice').removeClass('.active');
} else {
$('.hidden_advice').show();
$('#more_advice').addClass('.active');
}
});
$('.slider-for').slick({
slidesToShow: 1,
slidesToScroll: 1,
arrows: false,
fade: true,
asNavFor: '.slider-nav'
});
$('.slider-nav').slick({
slidesToShow: 3,
slidesToScroll: 1,
asNavFor: '.slider-for',
dots: true,
centerMode: true,
focusOnSelect: true
});
});
.newsletter {
img {
height: 6em;
width: 6em;
float: left;
}
background-color: $grey;
@include curvededges();
&.small {
font-size: 0.2em;
img {
height: 1em;
width: 1em;
float: left;
}
div {
box-shadow: 5px 10px $dark-grey;
}
}
};