diff --git a/js/index.js b/js/index.js index 2d42603..a7bf168 100644 --- a/js/index.js +++ b/js/index.js @@ -110,7 +110,8 @@ $(function(){ } if($(this).children()[1].innerText=='电子信息'){ $('.second3Title>.title')[0].innerText = '电子信息' - $('.section3').css ('background','url(images/电子信息-bg.jpg) center top no-repeat') + $('.section3').css ('background','url(images/电子信息-bg.jpg) no-repeat') + $('.section3').css ('backgroundSize','cover') $('.second3Title>.title')[0].innerText = '电子信息' $('.second3Title>p')[0].innerHTML = 'ELECTRONIC
INFORMATION' $('.second3Title>.textsecond3')[0].innerHTML = '重点关注计算机与智能消费设备制造、信息通信、新型显示、集成电路、电子元器件与专用材料产业、人工智能等领域'