Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openApi
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
hj
openApi
Commits
011ebc6b
Commit
011ebc6b
authored
Apr 17, 2022
by
hangjun83
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前端:页面样式调整
parent
e159d7c4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
10 deletions
+18
-10
front/src/styles/table-common.less
front/src/styles/table-common.less
+2
-2
front/src/styles/tree-common.less
front/src/styles/tree-common.less
+9
-2
front/src/views/sys/menu-manage/menuManage.vue
front/src/views/sys/menu-manage/menuManage.vue
+7
-6
No files found.
front/src/styles/table-common.less
View file @
011ebc6b
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
}
}
.operation button {
.operation button {
width: 1
5
0px;
width: 1
3
0px;
height:
40
px;
height:
35
px;
}
}
.select-count {
.select-count {
...
...
front/src/styles/tree-common.less
View file @
011ebc6b
...
@@ -2,10 +2,17 @@
...
@@ -2,10 +2,17 @@
.operation {
.operation {
margin-bottom: 2vh;
margin-bottom: 2vh;
height: 80vh;
height: 80vh;
overflow-y: auto;
}
}
.operation form input {
.content {
width: 550px;
margin-bottom: 2vh;
height: 80vh;
width: 50vw;
}
.content form input {
width: 350px;
height: 35px;
height: 35px;
}
}
...
...
front/src/views/sys/menu-manage/menuManage.vue
View file @
011ebc6b
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"search"
>
<div
class=
"search"
>
<Row
type=
"flex"
justify=
"start"
:gutter=
"24"
v-show=
"showType == 'tree'"
>
<Row
type=
"flex"
justify=
"start"
:gutter=
"24"
v-show=
"showType == 'tree'"
:style=
"
{ maxHeight: maxHeight }"
>
<Col
:sm=
"1
0"
:md=
"10"
:lg=
"10"
:xl=
"8"
>
<Col
:sm=
"1
2"
:md=
"12"
:lg=
"12"
:xl=
"10"
>
<Card
class=
"operation"
>
<Card
class=
"operation"
>
<Row
align=
"middle"
justify=
"start"
>
<Row
align=
"middle"
justify=
"start"
>
<div>
<div>
...
@@ -35,8 +35,8 @@
...
@@ -35,8 +35,8 @@
<a
class=
"select-clear"
v-show=
"form.id && editTitle"
@
click=
"cancelEdit"
>
取消选择
</a>
<a
class=
"select-clear"
v-show=
"form.id && editTitle"
@
click=
"cancelEdit"
>
取消选择
</a>
</
template
>
</
template
>
</Alert>
</Alert>
<div
style=
"position: relative"
>
<div
style=
"position: relative
;
"
>
<div
class=
"tree-bar"
:style=
"{ maxHeight: maxHeight }"
>
<div
class=
"tree-bar"
>
<Tree
ref=
"tree"
:data=
"data"
show-checkbox
:render=
"renderContent"
@
on-select-change=
"selectTree"
@
on-check-change=
"changeSelect"
:check-strictly=
"!strict"
></Tree>
<Tree
ref=
"tree"
:data=
"data"
show-checkbox
:render=
"renderContent"
@
on-select-change=
"selectTree"
@
on-check-change=
"changeSelect"
:check-strictly=
"!strict"
></Tree>
</div>
</div>
<Spin
size=
"large"
fix
v-if=
"loading"
></Spin>
<Spin
size=
"large"
fix
v-if=
"loading"
></Spin>
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
</Card>
</Card>
</Col>
</Col>
<Col
:sm=
"18"
:md=
"18"
:lg=
"18"
:xl=
"11"
>
<Col
:sm=
"18"
:md=
"18"
:lg=
"18"
:xl=
"11"
>
<Card
class=
"
operation
"
bordered
shadow
>
<Card
class=
"
content
"
bordered
shadow
>
<Row>
<Row>
<Icon
type=
"ios-apps"
style=
"display:inline-block;padding-top:5px;"
/>
<Icon
type=
"ios-apps"
style=
"display:inline-block;padding-top:5px;"
/>
<span
style=
"display:inline-block;padding-left:15px;font-size:16px;font-weight:bold;color:#252b2d"
>
菜单编辑
</span>
<span
style=
"display:inline-block;padding-left:15px;font-size:16px;font-weight:bold;color:#252b2d"
>
菜单编辑
</span>
...
@@ -417,6 +417,7 @@ export default {
...
@@ -417,6 +417,7 @@ export default {
}
}
let
str
=
JSON
.
stringify
(
v
[
0
]);
let
str
=
JSON
.
stringify
(
v
[
0
]);
let
data
=
JSON
.
parse
(
str
);
let
data
=
JSON
.
parse
(
str
);
console
.
info
(
data
)
this
.
form
=
data
;
this
.
form
=
data
;
this
.
editTitle
=
data
.
title
;
this
.
editTitle
=
data
.
title
;
}
else
{
}
else
{
...
@@ -620,7 +621,7 @@ export default {
...
@@ -620,7 +621,7 @@ export default {
mounted
()
{
mounted
()
{
// 计算高度
// 计算高度
let
height
=
document
.
documentElement
.
clientHeight
;
let
height
=
document
.
documentElement
.
clientHeight
;
this
.
maxHeight
=
Number
(
height
-
2
8
7
)
+
"
px
"
;
this
.
maxHeight
=
Number
(
height
-
2
3
7
)
+
"
px
"
;
this
.
init
();
this
.
init
();
},
},
};
};
...
...
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