bls-dan 2 years ago
parent
commit
bec2738c4b
2 changed files with 0 additions and 121 deletions
  1. 0 120
      src/assets/css/globalStyle.scss
  2. 0 1
      src/pages/main.ts

+ 0 - 120
src/assets/css/globalStyle.scss

@@ -1,120 +0,0 @@
-* {
-  box-sizing: border-box;
-//   user-select: none;
-}
-
-/* 去除标签自带的margin和padding */
-body,
-ol,
-ul,
-h1,
-h2,
-h3,
-h4,
-h5,
-h6,
-p,
-th,
-td,
-dl,
-dd,
-form,
-fieldset,
-legend,
-input,
-textarea,
-select,
-td {
-  margin: 0;
-  padding: 0;
-}
-
-/* 设置页面的统一的样式 */
-body {
-  word-wrap: break-word;
-}
-
-/* 去除a标签默认样式 */
-a {
-  text-decoration: none;
-}
-
-/* i使斜体的文字正常 em使强调的内容正常 */
-em,
-i {
-  font-style: normal;
-}
-
-strong,
-b {
-  font-weight: 100;
-}
-
-/* 去除li元素默认的小圆点 */
-li {
-  list-style: none;
-}
-
-/* 去除图片的margin和padding */
-img {
-  display: block;
-}
-
-/* 设置单元格为单线样式 */
-table {
-  border-collapse: collapse;
-  border-spacing: 0;
-}
-
-/* 首行缩进连两个单位 */
-.indent {
-  text-indent: 2em;
-}
-
-.noborder {
-  border: 0;
-}
-
-/* 省略号 */
-.ellipsis {
-  white-space: nowrap;
-  overflow: hidden;
-  text-overflow: ellipsis;
-}
-
-*:focus-visible {
-  outline: none !important;
-}
-
-*:focus-visible {
-  outline: none !important;
-}
-
-/* 设置滚动条的宽度和背景色 */
-::-webkit-scrollbar {
-  width: 0;
-  height: 0;
-  background-color: transparent;
-}
-
-/* 设置滚动条轨道的样式 */
-::-webkit-scrollbar-track {
-  border-radius: 10px;
-}
-
-/* 设置滚动条滑块的样式 */
-::-webkit-scrollbar-thumb {
-  background-color: #57a3f3;
-  border-radius: 10px;
-}
-
-/* 设置滚动条角落的样式 */
-::-webkit-scrollbar-corner {
-  background-color: transparent;
-}
-
-tbody::-webkit-scrollbar {
-  width:0;
-  height: 0;
-}
-

+ 0 - 1
src/pages/main.ts

@@ -4,7 +4,6 @@ import { createPinia } from 'pinia'
 import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
 import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
 import piniaPersist from 'pinia-plugin-persist'
 import piniaPersist from 'pinia-plugin-persist'
 import VueAMap, { initAMapApiLoader } from '@vuemap/vue-amap'
 import VueAMap, { initAMapApiLoader } from '@vuemap/vue-amap'
-import '@/assets/css/globalStyle.scss'
 import '@vuemap/vue-amap/dist/style.css'
 import '@vuemap/vue-amap/dist/style.css'
 import Icon from '@/components/icon.vue'
 import Icon from '@/components/icon.vue'
 import 'virtual:svg-icons-register'
 import 'virtual:svg-icons-register'