Jqueryu problem Mouse move in and out remove default style Toggle style

$(".case-icon li").hover(function(){                
//    $(this).children(".xianshi").eq(0).removeClass("yincang");
//    $(this).children(".aa").eq(0).addClass("yincang");

    $(this).children(".yincang").removeClass("yincang");
    $(this).children(".xianshi").addClass("yincang");
},function(){
//    $(this).children(".yincang").eq(0).removeClass("yincang");
//    $(this).children(".xianshi").eq(0).addClass("yincang");
                
    $(this).children(".aa").addClass("yincang");
    $(this).children(".xianshi").removeClass("yincang");
});

I would like to ask, how do I get rid of the first default style and let it move the mouse into the picture and change the text into the picture and the other into the picture as its content? Move the mouse out the opposite way.

Dec.21,2021

$('.case-icon li').hover(function(){                
  $(this).children().toggleClass('yincang xianshi');
  $(this).siblings().children()
    .eq(0).addClass('xianshi').removeClass('yincang')
    .next().addClass('yincang').removeClass('xianshi');
});

this logic css is sufficient and does not require js

.case-icon li a:last-child,
.case-icon li:hover a:first-child{
  display: none;
}
.case-icon li:hover a:last-child{
  display: inline;
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e58f-e957.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e58f-e957.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?