@font-face { font-family: "Persagy"; src: url("../assets/font/Persagy/Persagy-Regular.ttf"); // 找到你自己的字体文件地址 } @font-face { font-family: "Jost"; font-weight: 400; src: url("../assets/font/Jost/Jost-Regular.otf"); // 找到你自己的字体文件地址 } @font-face { font-family: "Jost"; font-weight: 300; src: url("../assets/font/Jost/Jost-300-Light.otf"); // 找到你自己的字体文件地址 }