Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-fe
Commits
a56b59f8
Commit
a56b59f8
authored
Oct 16, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 更换字体
parent
84532bf6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
6 deletions
+22
-6
index.vue
src/layout/index.vue
+1
-1
mixin.scss
src/styles/mixin.scss
+0
-5
reset.scss
src/styles/reset.scss
+21
-0
No files found.
src/layout/index.vue
View file @
a56b59f8
...
@@ -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"
...
...
src/styles/mixin.scss
View file @
a56b59f8
// 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
;
...
...
src/styles/reset.scss
View file @
a56b59f8
...
@@ -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')
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment