Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZiBoYingJI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Kimber
ZiBoYingJI
Commits
703cff55
Commit
703cff55
authored
Jul 19, 2024
by
Kimber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'update'
parent
885d2ea8
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
252 additions
and
207 deletions
+252
-207
index.html
public/datav/index.html
+31
-11
natural.html
public/datav/natural.html
+9
-6
md40_1.png
public/datav/static/water/md40_1.png
+0
-0
md40_2.png
public/datav/static/water/md40_2.png
+0
-0
watersource.html
public/datav/watersource.html
+212
-190
No files found.
public/datav/index.html
View file @
703cff55
...
@@ -85,26 +85,24 @@
...
@@ -85,26 +85,24 @@
@keyframes
floatShadow
{
@keyframes
floatShadow
{
0
%
{
0
%
{
text-shadow
:
0
0
5px
#fff
;
transform
:
translateX
(
1300px
);
transform
:
translateX
(
1300px
);
display
:
block
;
display
:
block
;
}
}
100
%
{
100
%
{
text-shadow
:
0
0
5px
#fff
;
transform
:
translateX
(
-1300px
);
transform
:
translateX
(
-1300px
);
display
:
none
;
display
:
none
;
}
}
}
}
.floating-text
{
.floating-text
{
font-size
:
30px
;
font-size
:
18px
;
line-height
:
1
;
color
:
#FDD756
;
color
:
#FDD756
;
text-shadow
:
0
0
5px
#fff
;
//
animation
:
floatShadow
;
animation
:
floatShadow
;
animation-name
:
floatShadow
;
animation-name
:
floatShadow
;
animation-duration
:
20s
;
animation-duration
:
20s
;
animation-iteration-count
:
infinite
;
animation-iteration-count
:
infinite
;
animation-timing-function
:
linear
;
animation-timing-function
:
linear
;
position
:
absolute
;
position
:
absolute
;
top
:
3px
;
}
}
.a0a_
{
.a0a_
{
...
@@ -159,9 +157,14 @@
...
@@ -159,9 +157,14 @@
<div
class=
"floating-text"
>
中和地信有限公司欢迎您
</div>
<div
class=
"floating-text"
>
中和地信有限公司欢迎您
</div>
<div
class=
"a0a_"
>
<div
class=
"a0a_"
id=
"h_tab"
>
<ul><li
data-id=
"1"
class=
"active"
>
应急管理
</li>
<li
data-id=
"2"
class=
""
>
自然资源
</li></ul>
<ul>
<ul><li
data-id=
"5"
class=
""
>
水利系统
</li>
<li
data-id=
"6"
class=
""
>
电子档案
</li></ul>
<li
data-id=
"1"
class=
"active"
>
应急管理
</li>
<li
data-id=
"2"
class=
""
>
自然资源
</li></ul>
<ul>
<li
data-id=
"3"
class=
""
>
水利系统
</li>
<li
data-id=
"4"
class=
""
>
电子档案
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -796,8 +799,6 @@
...
@@ -796,8 +799,6 @@
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.226
'
?
'
192.168.3.37
'
:
'
192.168.13.200
'
)
+
'
:8013
'
;
const
host
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.226
'
?
'
192.168.3.37
'
:
'
192.168.13.200
'
)
+
'
:8013
'
;
console
.
log
(
'
host ________________
'
,
location
.
hostname
);
const
selfHost
=
location
.
hostname
===
'
192.168.3.226
'
?
'
http://192.168.3.226:8057
'
:
'
http://192.168.13.200:8057
'
;
const
selfHost
=
location
.
hostname
===
'
192.168.3.226
'
?
'
http://192.168.3.226:8057
'
:
'
http://192.168.13.200:8057
'
;
...
@@ -986,6 +987,25 @@
...
@@ -986,6 +987,25 @@
}
}
this
.
noticeIndex
=
this
.
noticeIndex
+
1
;
this
.
noticeIndex
=
this
.
noticeIndex
+
1
;
},
10
*
1000
);
},
10
*
1000
);
// tab event
var
h_tab
=
this
.
$el
.
querySelector
(
"
#h_tab
"
);
console
.
log
(
'
h_tab ________________
'
,
h_tab
);
h_tab
.
onclick
=
function
(
e
){
var
tag
=
e
.
target
||
e
.
srcElement
;
console
.
log
(
'
tag ________________
'
,
tag
);
if
(
tag
.
nodeName
===
'
LI
'
){
var
did
=
~~
tag
.
dataset
.
id
;
if
(
did
===
2
){
window
.
open
(
'
/datav/natural.html
'
)
}
else
if
(
did
===
3
){
window
.
open
(
'
/datav/watersource.html
'
)
};
};
};
},
},
methods
:
{
methods
:
{
querySearchAsync
(
queryString
,
cb
)
{
querySearchAsync
(
queryString
,
cb
)
{
...
...
public/datav/natural.html
View file @
703cff55
...
@@ -752,10 +752,10 @@
...
@@ -752,10 +752,10 @@
</div>
</div>
<div
class=
"a0a_"
id=
"a0a_"
>
<div
class=
"a0a_"
id=
"a0a_"
>
<ul>
<ul>
<li><a
href=
"
javascript:void(0)
"
>
返回首页
</a></li>
<li><a
href=
"
/datav/index.html
"
>
返回首页
</a></li>
</ul>
</ul>
<ul>
<ul>
<li><a
href=
"
javascript:void(0)
"
>
后台管理
</a></li>
<li><a
href=
"
/#/dashboard
"
>
后台管理
</a></li>
</ul>
</ul>
</div>
</div>
</header>
</header>
...
@@ -916,12 +916,17 @@
...
@@ -916,12 +916,17 @@
const
LOCAL_API
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.226
'
?
'
192.168.3.37
'
:
'
192.168.13.200
'
)
+
'
:8013
'
;
const
LOCAL_API
=
location
.
protocol
+
'
//
'
+
(
location
.
hostname
===
'
192.168.3.226
'
?
'
192.168.3.37
'
:
'
192.168.13.200
'
)
+
'
:8013
'
;
cons
ole
.
log
(
'
LOCAL_API ________________
'
,
LOCAL_API
)
;
cons
t
selfHost
=
location
.
hostname
===
'
192.168.3.226
'
?
'
http://192.168.3.226:8057
'
:
'
http://192.168.13.200:8013
'
;
qf
(
function
(){
qf
(
function
(){
var
host
=
location
.
protocol
+
'
//
'
+
window
.
location
.
host
;
var
host
=
location
.
protocol
+
'
//
'
+
window
.
location
.
host
;
var
token
=
Cookies
.
get
(
'
ELADMIN-TOEKN
'
);
var
token
=
Cookies
.
get
(
'
ELADMIN-TOEKN
'
);
if
(
!
token
)
{
window
.
open
(
selfHost
+
'
/#/login
'
,
'
_self
'
)
return
}
axios
=
axios
.
create
({
axios
=
axios
.
create
({
baseURL
:
LOCAL_API
,
baseURL
:
LOCAL_API
,
...
@@ -997,8 +1002,6 @@
...
@@ -997,8 +1002,6 @@
var
wrap33
=
amd33
.
querySelector
(
"
.wrap
"
);
var
wrap33
=
amd33
.
querySelector
(
"
.wrap
"
);
var
select33
=
amd33
.
querySelector
(
"
select
"
);
var
select33
=
amd33
.
querySelector
(
"
select
"
);
console
.
log
(
'
mounted ________________
'
,
this
);
select33
.
onchange
=
function
(
e
){
select33
.
onchange
=
function
(
e
){
var
value
=
this
.
selectedOptions
[
0
].
value
;
var
value
=
this
.
selectedOptions
[
0
].
value
;
m
.
alarmTrend
(
value
);
m
.
alarmTrend
(
value
);
...
@@ -1176,7 +1179,7 @@
...
@@ -1176,7 +1179,7 @@
})();
})();
//
温度
监测
//
风速
监测
(
m
.
fengsu
=
function
(
dateRange
){
(
m
.
fengsu
=
function
(
dateRange
){
m
.
requst
(
'
get
'
,
'
/data/sz/countStatistics/feng
'
,
{}).
then
(
function
(
res
){
m
.
requst
(
'
get
'
,
'
/data/sz/countStatistics/feng
'
,
{}).
then
(
function
(
res
){
self
.
dm4
=
res
;
self
.
dm4
=
res
;
...
...
public/datav/static/water/md40_1.png
0 → 100644
View file @
703cff55
20.6 KB
public/datav/static/water/md40_2.png
0 → 100644
View file @
703cff55
6.6 KB
public/datav/watersource.html
View file @
703cff55
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