Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
18742b8c
authored
Apr 15, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移除 css 的引入
parent
f1f49fdf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
48 deletions
+0
-48
src/main.ts
+0
-7
src/styles/index.scss
+0
-1
src/styles/variables.scss
+0
-2
src/styles/vxe.css
+0
-30
src/utils/env.ts
+0
-8
No files found.
src/main.ts
View file @
18742b8c
...
@@ -37,8 +37,6 @@ import App from './App.vue'
...
@@ -37,8 +37,6 @@ import App from './App.vue'
import
'./permission'
import
'./permission'
import
{
isDevMode
}
from
'@/utils/env'
import
{
MyPD
}
from
'@/components/bpmnProcessDesigner/package/index.js'
import
{
MyPD
}
from
'@/components/bpmnProcessDesigner/package/index.js'
import
'@/components/bpmnProcessDesigner/package/theme/index.scss'
import
'@/components/bpmnProcessDesigner/package/theme/index.scss'
import
'bpmn-js/dist/assets/diagram-js.css'
import
'bpmn-js/dist/assets/diagram-js.css'
...
@@ -53,11 +51,6 @@ import '@/plugins/tongji' // 百度统计
...
@@ -53,11 +51,6 @@ import '@/plugins/tongji' // 百度统计
import
Logger
from
'@/utils/Logger'
import
Logger
from
'@/utils/Logger'
// 本地开发模式 全局引入 element-plus 样式,加快第一次进入速度
if
(
isDevMode
())
{
import
(
'element-plus/dist/index.css'
)
}
// 创建实例
// 创建实例
const
setupAll
=
async
()
=>
{
const
setupAll
=
async
()
=>
{
const
app
=
createApp
(
App
)
const
app
=
createApp
(
App
)
...
...
src/styles/index.scss
View file @
18742b8c
@import
'./var.css'
;
@import
'./var.css'
;
@import
'./vxe.css'
;
@import
'element-plus/theme-chalk/dark/css-vars.css'
;
@import
'element-plus/theme-chalk/dark/css-vars.css'
;
.reset-margin
[
class
*=
'el-icon'
]
+
span
{
.reset-margin
[
class
*=
'el-icon'
]
+
span
{
...
...
src/styles/variables.scss
View file @
18742b8c
...
@@ -2,5 +2,3 @@
...
@@ -2,5 +2,3 @@
$namespace
:
v
;
$namespace
:
v
;
// el命名空间
// el命名空间
$elNamespace
:
el
;
$elNamespace
:
el
;
// vxe命名空间
$vxeNamespace
:
vxe
;
src/styles/vxe.css
deleted
100644 → 0
View file @
f1f49fdf
/*滚动条整体部分*/
.xtable-scrollbar
::-webkit-scrollbar
{
width
:
10px
;
height
:
10px
;
}
/*滚动条的轨道*/
.xtable-scrollbar
::-webkit-scrollbar-track
{
background-color
:
#ffffff
;
}
/*滚动条里面的小方块,能向上向下移动*/
.xtable-scrollbar
::-webkit-scrollbar-thumb
{
background-color
:
#bfbfbf
;
border-radius
:
5px
;
border
:
1px
solid
#f1f1f1
;
box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0.3
);
}
.xtable-scrollbar
::-webkit-scrollbar-thumb:hover
{
background-color
:
#a8a8a8
;
}
.xtable-scrollbar
::-webkit-scrollbar-thumb:active
{
background-color
:
#787878
;
}
/*边角,即两个滚动条的交汇处*/
.xtable-scrollbar
::-webkit-scrollbar-corner
{
background-color
:
#ffffff
;
}
/*移除 vxe-grid 右侧外框*/
.vxe-button.size--medium.type--button.is--circle
{
border
:
0
;
}
src/utils/env.ts
deleted
100644 → 0
View file @
f1f49fdf
export
const
isDevMode
=
()
=>
{
const
dev
=
import
.
meta
.
env
.
VITE_DEV
if
(
dev
&&
dev
===
'true'
)
{
return
true
}
else
{
return
false
}
}
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