在react环境下,background-image: url(../imgs/icon-swipe-dp/maoyandianying.png);莫名其妙出不来,使用的相对路径,不报错。不知所以 background-image: url(给出链接就可以了);