style(frontend): add global base style for app
补充全局基础样式,统一页面字体、边距和背景色,修复页面初始样式错乱问题
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<router-view />
|
<router-view />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
html, body, #app { height: 100%; margin: 0; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
|
||||||
|
body { background: #f0f2f5; }
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user