forked from JointCloud/JCC-RIP
新版大屏字体包新增
This commit is contained in:
parent
c2a5f40d96
commit
9d05dce5fb
|
@ -0,0 +1,12 @@
|
|||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
|
||||
loader: 'url-loader',
|
||||
options: {
|
||||
limit: 10000,
|
||||
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -31,6 +31,7 @@
|
|||
"js-cookie": "2.2.0",
|
||||
"jsonlint": "1.6.3",
|
||||
"jszip": "3.2.1",
|
||||
"less-loader": "^6.0.0",
|
||||
"levenary": "^1.1.1",
|
||||
"moment": "^2.29.1",
|
||||
"normalize.css": "7.0.0",
|
||||
|
@ -72,6 +73,7 @@
|
|||
"eslint-plugin-vue": "6.2.2",
|
||||
"html-webpack-plugin": "3.2.0",
|
||||
"husky": "^1.3.1",
|
||||
"less": "^4.1.1",
|
||||
"lint-staged": "8.1.5",
|
||||
"mockjs": "1.0.1-beta3",
|
||||
"plop": "2.3.0",
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,18 @@
|
|||
@font-face {
|
||||
font-family: 'DISPLAY FREE TFB'; /* 重命名字体名 */
|
||||
src: url('DISPLAY FREE TFB.ttf'); /* 引入字体 */
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'PangMenZhengDao'; /* 重命名字体名 */
|
||||
src: url('PangMenZhengDao.ttf'); /* 引入字体 */
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'SourceHanSansCN'; /* 重命名字体名 */
|
||||
src: url('SourceHanSansCN.otf'); /* 引入字体 */
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
Loading…
Reference in New Issue