Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
3
3DWeb
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
徐来柯
3DWeb
Commits
6303dc4e
Commit
6303dc4e
authored
Jan 07, 2022
by
徐来柯
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://139.159.244.151:2900/laike/3DWeb
parents
e259fa99
bd8f4bc3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
62 additions
and
33 deletions
+62
-33
index.css
css/index.css
+38
-0
numerical.png
imgs/numerical.png
+0
-0
index.html
index.html
+21
-30
index.js
js/index.js
+3
-3
No files found.
css/index.css
View file @
6303dc4e
...
@@ -104,6 +104,44 @@ body {
...
@@ -104,6 +104,44 @@ body {
line-height
:
32px
;
line-height
:
32px
;
}
}
.item_val_wrap
{
display
:
flex
;
}
.item_wrap_content
{
margin-top
:
20px
;
flex
:
1
;
height
:
170px
;
text-align
:
center
;
flex-wrap
:
wrap
;
}
.item_wrap_content
>
div
{
width
:
96px
;
height
:
100%
;
background
:
url(../imgs/numerical.png)
no-repeat
;
background-size
:
100%
;
overflow
:
hidden
;
}
.item_wrap_content
:nth-child
(
2
)>
div
{
margin-top
:
34px
;
}
.val
{
margin-top
:
33px
;
margin-bottom
:
5px
;
font-size
:
19px
;
font-family
:
PingFang
SC
;
font-weight
:
bold
;
color
:
#FB9931
;
line-height
:
1
;
}
.name
{
font-size
:
12px
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#FFFEFE
;
line-height
:
1
;
}
.item_img
{
.item_img
{
width
:
23px
;
width
:
23px
;
height
:
23px
;
height
:
23px
;
...
...
imgs/numerical
value1
.png
→
imgs/numerical.png
View file @
6303dc4e
File moved
index.html
View file @
6303dc4e
...
@@ -23,15 +23,33 @@
...
@@ -23,15 +23,33 @@
<img
class=
"item_img"
src=
"./imgs/title@2x.png"
alt=
""
>
<img
class=
"item_img"
src=
"./imgs/title@2x.png"
alt=
""
>
<span
class=
"item_title"
>
文本标题
</span>
<span
class=
"item_title"
>
文本标题
</span>
</div>
</div>
<div
class=
"item_wrap"
></div>
<div
class=
"item_wrap item_val_wrap"
>
<div
class=
"item_wrap_content"
>
<div>
<div
class=
"val"
id=
"pro_eff"
>
0
</div>
<div
class=
"name"
>
生产效率
</div>
</div>
</div>
<div
class=
"item_wrap_content"
>
<div>
<div
class=
"val"
id=
"per_eff"
>
0
</div>
<div
class=
"name"
>
合格率
</div>
</div>
</div>
<div
class=
"item_wrap_content"
>
<div>
<div
class=
"val"
id=
"act_eff"
>
0
</div>
<div
class=
"name"
>
稼动率
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
<div
class=
"item_header"
>
<div
class=
"item_header"
>
<img
class=
"item_img"
src=
"./imgs/title@2x.png"
alt=
""
>
<img
class=
"item_img"
src=
"./imgs/title@2x.png"
alt=
""
>
<span
class=
"item_title"
>
文本标题
</span>
<span
class=
"item_title"
>
文本标题
</span>
</div>
</div>
<div
class=
"item_wrap"
></div>
<div
class=
"item_wrap"
id=
"act_torque"
></div>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item"
>
...
@@ -39,33 +57,6 @@
...
@@ -39,33 +57,6 @@
<img
class=
"item_img"
src=
"./imgs/title@2x.png"
alt=
""
>
<img
class=
"item_img"
src=
"./imgs/title@2x.png"
alt=
""
>
<span
class=
"item_title"
>
文本标题
</span>
<span
class=
"item_title"
>
文本标题
</span>
</div>
</div>
<div
class=
"item_wrap"
>
<div>
<div
class=
"val"
id=
"pro_eff"
>
0
</div>
<div
class=
"name"
>
生产效率
</div>
</div>
<div>
<div
class=
"val"
id=
"per_eff"
>
0
</div>
<div
class=
"name"
>
合格率
</div>
</div>
<div>
<div
class=
"val"
id=
"act_eff"
>
0
</div>
<div
class=
"name"
>
稼动率
</div>
</div>
</div>
</div>
<div
class=
"item"
>
<div
class=
"item_header"
>
<img
src=
""
alt=
""
>
<span>
文本标题
</span>
</div>
<div
class=
"item_wrap"
id=
"act_torque"
></div>
</div>
<div
class=
"item"
>
<div
class=
"item_header"
>
<img
src=
""
alt=
""
>
<span>
文本标题
</span>
</div>
<div
class=
"item_wrap"
id=
"torque"
></div>
<div
class=
"item_wrap"
id=
"torque"
></div>
</div>
</div>
</div>
</div>
...
...
js/index.js
View file @
6303dc4e
...
@@ -192,7 +192,7 @@ function getTorque(){
...
@@ -192,7 +192,7 @@ function getTorque(){
},
},
series
:
[
series
:
[
{
{
name
:
'
转矩
1'
,
name
:
'
功率
1'
,
data
:
data1
,
data
:
data1
,
type
:
'bar'
,
type
:
'bar'
,
stack
:
'1'
,
stack
:
'1'
,
...
@@ -208,7 +208,7 @@ function getTorque(){
...
@@ -208,7 +208,7 @@ function getTorque(){
}
}
},
},
{
{
name
:
'
转矩
2'
,
name
:
'
功率
2'
,
data
:
data2
,
data
:
data2
,
type
:
'bar'
,
type
:
'bar'
,
stack
:
'2'
,
stack
:
'2'
,
...
@@ -266,7 +266,7 @@ function getTorque(){
...
@@ -266,7 +266,7 @@ function getTorque(){
url
:
baseUrl
+
"/Base/PostRediusTest"
,
url
:
baseUrl
+
"/Base/PostRediusTest"
,
dataType
:
"json"
,
dataType
:
"json"
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
(
[
"
TORQUE1"
,
"TORQUE
2"
]),
data
:
JSON
.
stringify
(
[
"
PROWER1"
,
"PROWER
2"
]),
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
xAxis
.
length
===
6
){
if
(
xAxis
.
length
===
6
){
data1
.
shift
()
data1
.
shift
()
...
...
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