下載地址:https://github.com/ybx13579/fixed-Header-Table
效果圖:
table裏的th和td加了邊框後,他是兩個邊框重合的,1PX就變成了2PX,解決方法 .table{ border-collapse: collapse; border-spacing: 0; } .table
function is_weixin(){ var ua = navigator.userAgent.toLowerCase(); //判斷瀏覽器的類型 if(ua.match(/MicroMessenger/i