Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
web-monitor
Project
Project
Details
Activity
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
Administrator
web-monitor
Commits
824d0878
Commit
824d0878
authored
Feb 11, 2022
by
neogcg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录页
parent
5dc76026
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
189 additions
and
140 deletions
+189
-140
login.png
src/assets/img/login.png
+0
-0
AppMain.vue
src/layout/components/AppMain.vue
+1
-1
common.scss
src/styles/common.scss
+4
-2
index.vue
src/views/alarm/cableTime/index.vue
+1
-1
index.vue
src/views/alarm/device/index.vue
+1
-1
index.vue
src/views/dashboard/index.vue
+9
-2
index.vue
src/views/login/index.vue
+173
-133
No files found.
src/assets/img/login.png
0 → 100644
View file @
824d0878
675 KB
src/layout/components/AppMain.vue
View file @
824d0878
...
...
@@ -26,7 +26,7 @@ export default {
border-radius
:
8px
;
/*50 = navbar */
min-height
:
calc
(
100vh
-
50px
);
width
:
98%
;
width
:
calc
(
98%
-
20px
)
;
position
:
relative
;
overflow
:
hidden
;
}
...
...
src/styles/common.scss
View file @
824d0878
/**
公共样式
*/
*
{
font-family
:
'Source Han Sans CN'
;
}
.ml10
{
margin-left
:
10px
;
}
...
...
@@ -11,7 +13,7 @@
}
.mb20
{
margin-bottom
:
2
0
px
;
margin-bottom
:
2
4
px
;
}
.ml20
{
...
...
src/views/alarm/cableTime/index.vue
View file @
824d0878
<
template
>
<!-- 漏缆
实时状态
-->
<!-- 漏缆
监测告警
-->
<div
class=
"leakage-cable"
><el-button-group>
<el-button
v-for=
"item in tabs"
:key=
"item.key"
:type=
"activeName === item.key ? 'primary' : ''"
@
click=
"changeType(item)"
>
{{
item
.
label
}}
</el-button>
</el-button-group>
...
...
src/views/alarm/device/index.vue
View file @
824d0878
<
template
>
<!--
漏缆实时状态
-->
<!--
设备连接告警
-->
<div
class=
"leakage-cable"
>
<el-button-group>
<el-button
v-for=
"item in tabs"
:key=
"item.key"
:type=
"activeName === item.key ? 'primary' : ''"
@
click=
"changeType(item)"
>
{{
item
.
label
}}
</el-button>
...
...
src/views/dashboard/index.vue
View file @
824d0878
...
...
@@ -5,9 +5,9 @@
<el-row
:gutter=
"24"
>
<el-col
:span=
"12"
v-for=
"item in listData"
class=
"mb20"
>
<el-card
shadow=
"never"
>
<div
slot=
"header"
class=
"clearfix"
>
<div
slot=
"header"
class=
"clearfix
posa
"
>
<span>
{{
item
.
title
}}
</span>
<el-button
v-if=
"item.option"
style=
"float: right; padding: 3px 0;margin-right:20px"
type=
"text"
>
保存
</el-button>
<el-button
v-if=
"item.option"
style=
"float: right; padding: 3px 0;margin-right:20px"
type=
"text"
class=
"savebtn"
>
保存
</el-button>
</div>
<div
v-for=
"k in item.list"
:key=
"k.name"
:class=
"item.list.length
<
=
2
?
'
text2
'
:
'
text
'"
>
<el-row
:gutter=
"24"
>
...
...
@@ -82,6 +82,13 @@ export default {
padding
:
0px
;
}
}
.posa
{
position
:
relative
;
}
.savebtn
{
position
:
absolute
;
right
:
2%
;
}
// .el-col {
// margin-bottom: 20px;
// }
...
...
src/views/login/index.vue
View file @
824d0878
This diff is collapsed.
Click to expand it.
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