调整0121

master
Lee 2022-01-21 13:51:56 +08:00
parent e73816df07
commit 30ba124b52
1 changed files with 30 additions and 38 deletions

View File

@ -9,8 +9,8 @@ jQuery(function($){
}, },
pagination: { pagination: {
el: '.banner-swiper .swiper-pagination', el: '.banner-swiper .swiper-pagination',
}, clickable :true,
},
effect : 'slide',//轮播的动效 默认为"slide"(普通位移切换),还可设置为"fade"(淡入)、"cube"(方块)、"coverflow"3d流、"flip"3d翻转、"cards"(卡片式)、"creative"(创意性)。 effect : 'slide',//轮播的动效 默认为"slide"(普通位移切换),还可设置为"fade"(淡入)、"cube"(方块)、"coverflow"3d流、"flip"3d翻转、"cards"(卡片式)、"creative"(创意性)。
// fadeEffect: { // fadeEffect: {
// crossFade: true, // crossFade: true,
@ -89,14 +89,6 @@ jQuery(function($){
$(".join-list li.cur .join-list-item").eq($(this).index()).addClass("active").siblings().removeClass('active'); $(".join-list li.cur .join-list-item").eq($(this).index()).addClass("active").siblings().removeClass('active');
}); });
// 资质展示
// if(screen.width <= 768){
// }else{
// }
// 判断价格图片是否为空 // 判断价格图片是否为空
if(!$('.price img').attr('src')){ if(!$('.price img').attr('src')){
$(".price").html("<span>定价图片后台上传</span>"); $(".price").html("<span>定价图片后台上传</span>");
@ -125,33 +117,33 @@ jQuery(function($){
// 控制hover背景 // 控制hover背景
$('.nav>li').eq(1).mouseover(function() { // $('.nav>li').eq(1).mouseover(function() {
$(".nav-bg.wap-show").show(); // $(".nav-bg.wap-show").show();
}).mouseout(function() { // }).mouseout(function() {
$(".nav-bg.wap-show").hide(); // $(".nav-bg.wap-show").hide();
}); // });
$('.nav>li').eq(2).mouseover(function() { // $('.nav>li').eq(2).mouseover(function() {
$(".nav-bg.wap-show").show(); // $(".nav-bg.wap-show").show();
}).mouseout(function() { // }).mouseout(function() {
$(".nav-bg.wap-show").hide(); // $(".nav-bg.wap-show").hide();
}); // });
$('.nav>li').eq(3).mouseover(function() { // $('.nav>li').eq(3).mouseover(function() {
$(".nav-bg.wap-show").show(); // $(".nav-bg.wap-show").show();
}).mouseout(function() { // }).mouseout(function() {
$(".nav-bg.wap-show").hide(); // $(".nav-bg.wap-show").hide();
}); // });
$('.nav>li').eq(4).mouseover(function() { // $('.nav>li').eq(4).mouseover(function() {
$(".nav-bg.wap-show").show(); // $(".nav-bg.wap-show").show();
}).mouseout(function() { // }).mouseout(function() {
$(".nav-bg.wap-show").hide(); // $(".nav-bg.wap-show").hide();
}); // });
$('.side-nav-item>li').mouseover(function() { // $('.side-nav-item>li').mouseover(function() {
$(".nav-bg.wap-show").show(); // $(".nav-bg.wap-show").show();
}).mouseout(function() { // }).mouseout(function() {
$(".nav-bg.wap-show").hide(); // $(".nav-bg.wap-show").hide();
}); // });
$('.side-nav-item>li').eq(4).mouseover(function() { // $('.side-nav-item>li').eq(4).mouseover(function() {
$(".nav-bg.wap-show").hide(); // $(".nav-bg.wap-show").hide();
}); // });
}) })