Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
complex-manager-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
complex-manager-ui
Commits
bc3f2995
Commit
bc3f2995
authored
Aug 26, 2024
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed:修改样式
parent
8e9ce12f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
330 additions
and
5 deletions
+330
-5
admin/src/assets/less/base.css
admin/src/assets/less/base.css
+303
-0
admin/src/assets/less/base.less
admin/src/assets/less/base.less
+21
-1
admin/src/components/Header.vue
admin/src/components/Header.vue
+4
-2
admin/src/components/Table.vue
admin/src/components/Table.vue
+2
-2
No files found.
admin/src/assets/less/base.css
0 → 100644
View file @
bc3f2995
html
{
-webkit-text-size-adjust
:
100%
;
-ms-text-size-adjust
:
100%
;
box-sizing
:
border-box
;
}
html
*
{
outline
:
0
;
box-sizing
:
inherit
;
-webkit-text-size-adjust
:
none
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
);
}
html
,
body
{
width
:
100%
;
height
:
100%
;
font-family
:
"Microsoft Yahei"
,
"Helvetica Neue"
,
Helvetica
,
STHeiTi
,
Arial
,
sans-serif
;
}
body
{
overflow-y
:
auto
;
}
body
,
div
,
dl
,
dt
,
dd
,
ul
,
ol
,
li
,
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
pre
,
code
,
form
,
fieldset
,
legend
,
input
,
textarea
,
p
,
blockquote
,
th
,
td
,
hr
,
button
,
article
,
aside
,
details
,
figcaption
,
figure
,
footer
,
header
,
hgroup
,
menu
,
nav
,
section
{
margin
:
0
;
padding
:
0
;
}
input
,
select
,
textarea
,
button
{
font-size
:
100%
;
-webkit-appearance
:
none
;
border
:
0
;
outline
:
0
;
}
table
{
border-collapse
:
collapse
;
border-spacing
:
0
;
}
fieldset
,
img
{
border
:
0
;
}
abbr
,
acronym
{
border
:
0
;
font-variant
:
normal
;
}
del
{
text-decoration
:
line-through
;
}
address
,
caption
,
cite
,
code
,
dfn
,
em
,
th
,
var
{
font-style
:
normal
;
font-weight
:
500
;
}
ol
,
ul
{
list-style
:
none
;
}
caption
,
th
{
text-align
:
left
;
}
q
:before
,
q
:after
{
content
:
""
;
}
sub
,
sup
{
font-size
:
75%
;
line-height
:
0
;
position
:
relative
;
vertical-align
:
baseline
;
}
sup
{
top
:
-0.5em
;
}
sub
{
bottom
:
-0.25em
;
}
ins
,
a
{
text-decoration
:
none
;
cursor
:
pointer
;
}
/* ============================================================
flex:定义布局为盒模型
flex-v:盒模型垂直布局
flex-1:子元素占据剩余的空间
flex-align-center:子元素垂直居中
flex-pack-center:子元素水平居中
flex-pack-justify:子元素两端对齐
兼容性:ios 4+、android 2.3+、winphone8+
============================================================ */
.flex
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
-ms-flexbox
;
display
:
flex
;
}
.flex-v
{
-webkit-box-orient
:
vertical
;
-webkit-flex-direction
:
column
;
-ms-flex-direction
:
column
;
flex-direction
:
column
;
}
.flex-1
{
-webkit-box-flex
:
1
;
-webkit-flex
:
1
;
-ms-flex
:
1
;
flex
:
1
;
}
.flex-align-center
{
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
-ms-flex-align
:
center
;
align-items
:
center
;
}
.flex-pack-center
{
-webkit-box-pack
:
center
;
-webkit-justify-content
:
center
;
-ms-flex-pack
:
center
;
justify-content
:
center
;
}
.flex-pack-justify
{
-webkit-box-pack
:
justify
;
-webkit-justify-content
:
space-between
;
-ms-flex-pack
:
justify
;
justify-content
:
space-between
;
}
.clearfix
:after
{
content
:
""
;
display
:
table
;
clear
:
both
;
font-size
:
0
;
}
.fl
{
float
:
left
;
}
.fr
{
float
:
right
;
}
.hide
{
display
:
none
;
}
.disabled
{
pointer-events
:
none
;
}
#app
{
height
:
100%
;
}
.pages
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
-ms-flexbox
;
display
:
flex
;
-webkit-box-orient
:
vertical
;
-webkit-flex-direction
:
column
;
-ms-flex-direction
:
column
;
flex-direction
:
column
;
height
:
100%
;
}
.ellipsis
{
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
}
[
v-cloak
]
{
display
:
none
;
}
[
disabled
]
{
pointer-events
:
none
;
}
.el-dialog
.el-checkbox-group
.el-checkbox
{
margin
:
5px
0
;
width
:
33.33%
;
}
.el-dialog
.el-checkbox-group
.pointBox
{
width
:
50%
;
}
.table-foot
{
display
:
flex
;
justify-content
:
flex-end
;
}
.el-table
th
{
user-select
:
all
;
}
/* el-table列数据为空自动显示-- */
.cell
:empty::before
{
content
:
"--"
;
color
:
gray
;
}
.el-progress-bar
{
padding-right
:
70px
;
margin-right
:
-70px
;
}
#operatorUserCabinCheckBox
.el-checkbox
{
white-space
:
normal
!important
;
width
:
100%
;
}
#operatorUserCabinCheckBox
.el-checkbox__label
{
display
:
inline
;
}
.page-statistics
.chart
{
margin-bottom
:
80px
;
border
:
1px
solid
#ededed
;
height
:
400px
;
}
.page-statistics
.el-table
th
.color-gray
,
.page-statistics
.el-table
tr
.color-gray
{
background-color
:
#f0f9eb
;
}
@media
screen
and
(
max-width
:
800px
)
{
.page
{
margin
:
5px
5px
;
}
.el-dialog
{
width
:
98%
!important
;
}
.el-dialog
.el-checkbox-group
.el-checkbox
{
margin
:
5px
0
;
width
:
50%
;
font-size
:
12px
;
}
.el-dialog
.el-checkbox-group
.el-checkbox
.el-checkbox__label
{
font-size
:
12px
;
}
}
.mobile-table-card
{
margin
:
10px
auto
;
padding
:
10px
;
box-shadow
:
0
0
5px
#ccc
;
}
.mobile-table-card
.mobile-table-cell
{
padding
:
5px
0
;
border-bottom
:
1px
dotted
#eee
;
}
.mobile-table-card
.mobile-table-cell
.cell-title
{
font-size
:
13px
;
color
:
#666
;
}
.mobile-table-card
.mobile-table-cell
.cell-content
{
padding-left
:
5px
;
text-align
:
right
;
word-break
:
break-word
;
}
.table_title
{
margin-left
:
12px
;
}
.right_box
.layout-table
{
padding
:
0
;
}
.right_box
.table_title
{
margin-left
:
4px
;
}
.left_box
.layout-table
{
padding
:
0
;
}
.layout-table
{
padding
:
0
20px
;
}
admin/src/assets/less/base.less
View file @
bc3f2995
...
@@ -226,7 +226,7 @@ a {
...
@@ -226,7 +226,7 @@ a {
pointer-events: none;
pointer-events: none;
}
}
#app{
#app
{
height: 100%;
height: 100%;
}
}
.pages {
.pages {
...
@@ -354,3 +354,23 @@ a {
...
@@ -354,3 +354,23 @@ a {
}
}
}
}
}
}
.table_title {
margin-left: 12px;
}
.right_box {
.layout-table {
padding: 0;
}
.table_title {
margin-left: 4px;
}
}
.left_box {
.layout-table {
padding: 0;
}
}
.layout-table {
padding: 0 20px;
}
admin/src/components/Header.vue
View file @
bc3f2995
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<HeaderSite></HeaderSite>
<HeaderSite></HeaderSite>
</div>
</div>
<!-- 一级菜单 -->
<!-- 一级菜单 -->
<ul
class=
"menu-list
flex
"
>
<ul
class=
"menu-list"
>
<li
v-for=
"item in menu"
:key=
"item.id"
>
<li
v-for=
"item in menu"
:key=
"item.id"
>
<router-link
<router-link
:to=
"item.path"
:to=
"item.path"
...
@@ -230,7 +230,7 @@ export default {
...
@@ -230,7 +230,7 @@ export default {
}
}
.layout-logo {
.layout-logo {
height: 50px;
height: 50px;
padding-left: 45px;
padding-left: 45px
!important
;
align-items: center;
align-items: center;
.el-icon-menu {
.el-icon-menu {
...
@@ -246,7 +246,9 @@ export default {
...
@@ -246,7 +246,9 @@ export default {
}
}
.menu-list {
.menu-list {
display: flex;
margin-left: 3rem;
margin-left: 3rem;
justify-content: center;
li {
li {
a {
a {
display: block;
display: block;
...
...
admin/src/components/Table.vue
View file @
bc3f2995
...
@@ -303,9 +303,9 @@ export default {
...
@@ -303,9 +303,9 @@ export default {
};
};
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
scoped
>
.table-body {
.table-body {
margin-left:
3
0px;
margin-left:
1
0px;
}
}
@media screen and (max-width: 800px) {
@media screen and (max-width: 800px) {
.layout-table {
.layout-table {
...
...
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