Browse Source

font

release_0.0.1
巴林闲侠 3 years ago
parent
commit
14f8d00ea5
  1. 2
      web/client/src/index.less
  2. 2
      web/client/src/layout/components/header/index.jsx

2
web/client/src/index.less

@ -69,6 +69,6 @@ body {
}
@font-face {
font-family: 'icomoon'; //这个可以任意取,但是应与后面相对应eg:yxingguang
font-family: 'YouSheBiaoTiHei'; //这个可以任意取,但是应与后面相对应eg:yxingguang
src: url('/assets/fonts/YouSheBiaoTiHei-2.ttf');
}

2
web/client/src/layout/components/header/index.jsx

@ -36,7 +36,7 @@ const Header = (props) => {
/>
),
text: (
<div style={{ fontFamily: "icomoon", color: '#FFFFFF' }}>运维管理系统</div>
<div style={{ fontFamily: "YouSheBiaoTiHei", color: '#FFFFFF' }}>运维管理系统</div>
),
}}
footer={

Loading…
Cancel
Save