试试这个
$('.fr-sheetbutton-container-active').css('color', 'red');
$('.fr-sheetbutton-container').bind('click', function() {
$('.fr-sheetbutton-container-active').css('color', 'red')
$('.fr-sheetbutton-container:not(.fr-sheetbutton-container-active)').css('color', 'black');
});
---------------------
参考
https://bbs.fanruan.com/wenda/question/187484.html
$('.fr-sheetbutton-container').eq(1).css('color', 'red');
$(".fr-sheetbutton-middlepart").css("font-size","15px")
$(".fr-sheetbutton-middlepart").eq(2).css("font-size","18px")
参考上面的语句。。
eq(1)表示第二个工作表。因为序号是从0开始的