You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.7 KiB
64 lines
1.7 KiB
|
|
var swiper = new Swiper('.swiper-container', {
|
|
spaceBetween: 0,
|
|
centeredSlides: true,
|
|
autoplay:true,
|
|
pagination: {
|
|
el: '.swiper-pagination',
|
|
clickable: true
|
|
},
|
|
navigation: {
|
|
nextEl: '.swiper-button-next',
|
|
prevEl: '.swiper-button-prev'
|
|
}
|
|
});
|
|
|
|
var movie_name;
|
|
$('.buy_hot_movie').mouseover(function(){
|
|
movie_name = $(this).html();
|
|
$(this).css('background','orangered');
|
|
$(this).css('color','white');
|
|
$(this).html('点击购票');
|
|
}).mouseleave(function(){
|
|
$(this).css('background','#F0FFFF');
|
|
$(this).css('color','darkorange');
|
|
$(this).html(movie_name)
|
|
});
|
|
$('.buy_after_movie').mouseover(function(){
|
|
movie_name = $(this).html();
|
|
$(this).css('background','orangered');
|
|
$(this).css('color','white');
|
|
$(this).html('点击预约');
|
|
}).mouseleave(function(){
|
|
$(this).css('background','#F0FFFF');
|
|
$(this).css('color','darkorange');
|
|
$(this).html(movie_name)
|
|
});
|
|
|
|
$('.buy_ago_movie').mouseover(function(){
|
|
movie_name = $(this).html();
|
|
$(this).css('background','orangered');
|
|
$(this).css('color','white');
|
|
$(this).html('查看详情');
|
|
}).mouseleave(function(){
|
|
$(this).css('background','#F0FFFF');
|
|
$(this).css('color','darkorange');
|
|
$(this).html(movie_name)
|
|
});
|
|
|
|
|
|
$('.navbar li').mouseover(function(){
|
|
$(this).children().css('color','#FF7F50')
|
|
}).mouseleave(function(){
|
|
$(this).children().css('color','white');
|
|
$('.first_page').css('color','orangered')
|
|
|
|
});
|
|
$('.hot_right_movie_list a li').mouseover(function(){
|
|
$(this).css('background','#FF7F50');
|
|
$(this).css('color','white');
|
|
}).mouseleave(function(){
|
|
$(this).css('background','white');
|
|
$(this).css('color','black');
|
|
})
|