style中引入本地字体包文件目录 @font-face{ font-family: fangsongGB2312; src: url("../font/fangsongGB2312.ttf"); } 使用: .title { font-family: fangsongGB2312; }