$(function () { if (!isFrontEnv()) { $(".sfq").parent().addClass("des"); } $(".sfq:nth-child(1)").find(".s_img").addClass("show"); $(".sfq").mouseenter(function () { $(this).siblings().find(".s_img").removeClass("show"); $(this).find(".s_img").addClass("show"); }); }); var qie1 = $("#c_effect_103-16772360723220 .e_loop-1 .p_list .sfq"); var qie2 = $("#c_effect_103-16772360723220 .e_loop-7 .p_list .cbox-7"); qie2.eq(0).addClass("show"); qie2.eq(0).addClass("show"); qie1.each(function(i){ $(this).mouseenter(function () { $(this).siblings().removeClass("show"); $(this).addClass("show"); qie2.eq(i).addClass("show"); qie2.eq(i).siblings().removeClass("show"); }); }); var qie11 = $("#c_effect_103-16772409509980 .e_loop-1 .p_list .sfq"); var qie22 = $("#c_effect_103-16772409509980 .e_loop-7 .p_list .cbox-7"); qie22.eq(0).addClass("show"); qie22.eq(0).addClass("show"); qie11.each(function(i){ $(this).mouseenter(function () { $(this).siblings().removeClass("show"); $(this).addClass("show"); qie22.eq(i).addClass("show"); qie22.eq(i).siblings().removeClass("show"); }); });