Commit a56b59f8 authored by nick zheng's avatar nick zheng

chore: 更换字体

parent 84532bf6
...@@ -5,7 +5,7 @@ const layoutSideWidth = 243 ...@@ -5,7 +5,7 @@ const layoutSideWidth = 243
</script> </script>
<template> <template>
<NLayout has-sider class="h-full"> <NLayout has-sider class="h-full min-w-[1280px]">
<NLayoutSider <NLayoutSider
class="border-r border-[#e8e9eb] px-2" class="border-r border-[#e8e9eb] px-2"
collapse-mode="width" collapse-mode="width"
......
// mixin.scss // mixin.scss
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}
@mixin custom-scrollbar($scrollbarSize: 5px, $scrollbarColor: #ededed) { @mixin custom-scrollbar($scrollbarSize: 5px, $scrollbarColor: #ededed) {
::-webkit-scrollbar { ::-webkit-scrollbar {
width: $scrollbarSize; width: $scrollbarSize;
......
...@@ -8,9 +8,30 @@ body { ...@@ -8,9 +8,30 @@ body {
width: 100%; width: 100%;
height: 100%; height: 100%;
margin: 0; margin: 0;
font-family:
'SourceHanSansCN-Regular',
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
'Helvetica Neue',
Arial,
'Noto Sans',
sans-serif,
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji';
} }
#app { #app {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
@font-face {
font-family: 'SourceHanSansCN-Regular';
font-style: normal;
font-weight: normal;
src: url('https://gsst-poe-sit.gz.bcebos.com/front/SourceHanSansCN-Regular.otf');
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment