diff --git a/src/components/PinPuYi/Helvetica.css b/src/components/PinPuYi/Helvetica.css new file mode 100644 index 0000000..8616de7 --- /dev/null +++ b/src/components/PinPuYi/Helvetica.css @@ -0,0 +1,12 @@ +@font-face { + font-family: 'Helvetica Custom'; + src: url('fonts/Helvetica-Light-05.eot'); + src: url('fonts/Helvetica-Light-05.eot?#iefix') format('embedded-opentype'), + url('fonts/Helvetica-Light-05.woff2') format('woff2'), + url('fonts/Helvetica-Light-05.woff') format('woff'), + url('fonts/Helvetica-Light-05.ttf') format('truetype'), + url('fonts/Helvetica-Light-05.svg#Helvetica') format('svg'); + font-weight: 400; /* 400 通常代表 'normal' 或 'regular' */ + font-style: normal; + font-display: swap; /* 推荐 */ +} \ No newline at end of file diff --git a/src/components/PinPuYi/PinPuYi.vue b/src/components/PinPuYi/PinPuYi.vue index 7442f43..7b228c6 100644 --- a/src/components/PinPuYi/PinPuYi.vue +++ b/src/components/PinPuYi/PinPuYi.vue @@ -26,6 +26,7 @@ import DeviceImage from './pin-pu-yi-bg.png';