Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
海康威视
web-project
Commits
51bfe549
Commit
51bfe549
authored
Sep 04, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式问题调整
parent
b076f056
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
BackHome.vue
src/views/BackGround/BackHome.vue
+1
-1
EnergyManagePage.vue
src/views/SchedulingPage/EnergyManagePage.vue
+7
-6
home.vue
src/views/home.vue
+1
-1
No files found.
src/views/BackGround/BackHome.vue
View file @
51bfe549
...
@@ -403,7 +403,7 @@
...
@@ -403,7 +403,7 @@
}
}
const
created
=
()
=>
{
const
created
=
()
=>
{
mainHeight
.
value
=
window
.
innerHeight
-
1
1
0
;
mainHeight
.
value
=
window
.
innerHeight
-
1
0
0
;
mainWidth
.
value
=
iscollapse
.
value
mainWidth
.
value
=
iscollapse
.
value
?
window
.
innerWidth
-
63
?
window
.
innerWidth
-
63
:
window
.
innerWidth
-
200
;
:
window
.
innerWidth
-
200
;
...
...
src/views/SchedulingPage/EnergyManagePage.vue
View file @
51bfe549
...
@@ -409,6 +409,7 @@ onMounted(() => {
...
@@ -409,6 +409,7 @@ onMounted(() => {
<el-table
v-loading=
"loading"
:data=
"tableData"
style=
"width: 60%;font-size: 12px;color: #181818;"
<el-table
v-loading=
"loading"
:data=
"tableData"
style=
"width: 60%;font-size: 12px;color: #181818;"
height=
"calc(100vh - 160px)"
height=
"calc(100vh - 160px)"
:default-sort =
"
{prop: 'recordDate', order: 'descending'}"
:header-cell-style="{ color: '#225475', backgroundColor: '#B8CFEE', 'text-align': 'center', height: '40px', padding: '0px', border: '1px solid #99bbe8' }"
:header-cell-style="{ color: '#225475', backgroundColor: '#B8CFEE', 'text-align': 'center', height: '40px', padding: '0px', border: '1px solid #99bbe8' }"
:cell-style="{ 'text-align': 'center', padding: '0px' }" :row-style="{ height: '40px', padding: '0px' }" border
:cell-style="{ 'text-align': 'center', padding: '0px' }" :row-style="{ height: '40px', padding: '0px' }" border
stripe>
stripe>
...
@@ -425,7 +426,7 @@ onMounted(() => {
...
@@ -425,7 +426,7 @@ onMounted(() => {
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"record"
label=
"用度"
/>
<el-table-column
prop=
"record"
label=
"用度"
/>
<el-table-column
prop=
"recordDate"
label=
"用度日期"
/>
<el-table-column
prop=
"recordDate"
sortable
label=
"用度日期"
/>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"120"
>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"120"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-button
link
type=
"primary"
size=
"small"
@
click=
"handleEdit(scope.row)"
>
<el-button
link
type=
"primary"
size=
"small"
@
click=
"handleEdit(scope.row)"
>
...
@@ -521,11 +522,11 @@ onMounted(() => {
...
@@ -521,11 +522,11 @@ onMounted(() => {
<
style
scoped
lang=
"less"
>
<
style
scoped
lang=
"less"
>
.contentBlock {
.contentBlock {
position: absolute;
//
position: absolute;
top: 0;
//
top: 0;
left: 0;
//
left: 0;
right: 0;
//
right: 0;
bottom: 0;
//
bottom: 0;
background-color: #ffffff;
background-color: #ffffff;
overflow: auto;
overflow: auto;
overflow-x: hidden;
overflow-x: hidden;
...
...
src/views/home.vue
View file @
51bfe549
...
@@ -536,7 +536,7 @@ export default defineComponent({
...
@@ -536,7 +536,7 @@ export default defineComponent({
};
};
const
created
=
()
=>
{
const
created
=
()
=>
{
mainHeight
.
value
=
window
.
innerHeight
-
1
1
0
;
mainHeight
.
value
=
window
.
innerHeight
-
1
0
0
;
mainWidth
.
value
=
iscollapse
.
value
mainWidth
.
value
=
iscollapse
.
value
?
window
.
innerWidth
-
63
?
window
.
innerWidth
-
63
:
window
.
innerWidth
-
200
;
:
window
.
innerWidth
-
200
;
...
...
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