設(shè)置背景圖后要注意其層級(jí)關(guān)系
.content {
width: 100%;
height: 100%;
background-image: url(../../static/common/img_bg.png);
position: fixed;
left: 0;
top: 0;
// 注意調(diào)整層級(jí)關(guān)系 否則會(huì)導(dǎo)致上面的元素不顯示
z-index: -1;
}