perf: 全域数据引擎页面优化
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
.arco-table {
|
||||
@mixin table-cell-text {
|
||||
color: var(--Text-1, #211f24);
|
||||
font-family: 'Alibaba PuHuiTi';
|
||||
color: var(--Text-1, #3C4043);
|
||||
font-family: 'PuHuiTi-Regular';
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
@ -19,6 +19,7 @@
|
||||
padding: 13px 16px;
|
||||
.arco-table-th-title {
|
||||
@include table-cell-text;
|
||||
font-family: 'PingFangSC-Medium';
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -29,7 +30,8 @@
|
||||
.arco-table-td {
|
||||
.arco-table-cell {
|
||||
padding: 13px 16px;
|
||||
.arco-table-cell-content {
|
||||
.arco-table-cell-content,
|
||||
.arco-table-td-content {
|
||||
@include table-cell-text;
|
||||
}
|
||||
}
|
||||
|
||||
24
src/styles/font.scss
Normal file
24
src/styles/font.scss
Normal file
@ -0,0 +1,24 @@
|
||||
@font-face {
|
||||
font-family: 'PuHuiTi-Medium';
|
||||
src: url('@/assets/fonts/Alibaba-PuHuiTi-Medium.otf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'PuHuiTi-Regular';
|
||||
src: url('@/assets/fonts/Alibaba-PuHuiTi-Regular.otf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'PuHuiTi-Bold';
|
||||
src: url('@/assets/fonts/Alibaba-PuHuiTi-Bold.otf');
|
||||
}
|
||||
|
||||
.font-family-puhui-bold {
|
||||
font-family: PuHuiTi-Bold !important;
|
||||
}
|
||||
.font-family-puhui-medium {
|
||||
font-family: PuHuiTi-Medium !important;
|
||||
}
|
||||
.font-family-puhui-regular {
|
||||
font-family: PuHuiTi-Regular !important;
|
||||
}
|
||||
@ -4,5 +4,6 @@
|
||||
*/
|
||||
import './vars.css';
|
||||
import './components/index.scss';
|
||||
import './font.scss';
|
||||
import 'normalize.css';
|
||||
import 'uno.css';
|
||||
|
||||
Reference in New Issue
Block a user