diff --git a/src/assets/css/style.css b/src/assets/css/style.css index a1102e0..6b10ffe 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -1,12 +1,9 @@ body, html, -div, +p, ul, -li, -h1, -h2, -h3, -p { +ol, +li { margin: 0; padding: 0; } diff --git a/src/assets/css/style.less b/src/assets/css/style.less index d146a31..e2159b5 100644 --- a/src/assets/css/style.less +++ b/src/assets/css/style.less @@ -1,16 +1,3 @@ -body, -html, -div, -ul, -li, -h1, -h2, -h3, -p { - margin: 0; - padding: 0; -} - html, body, #app { diff --git a/src/main.ts b/src/main.ts index 171751e..d148cc9 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,6 +3,7 @@ import { createApp } from 'vue' import App from './App.vue' import router from './router' import store from './stores/index' +import 'normalize.css' import './assets/css/style.css' import SvgIcon from "@/components/SvgIcon/index.vue"; import "virtual:svg-icons-register"; @@ -14,7 +15,6 @@ import flexible from "./utils/flexible.js"; import "./router/router-config" // 路由守卫,做动态路由的地方 import ElementPlus from 'element-plus' import 'element-plus/dist/index.css' -import 'normalize.css' const app = createApp(App) app.use(router)