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
bd8f4bc3
Commit
bd8f4bc3
authored
Jan 06, 2022
by
lixiaoyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
功率图修改
parent
6623fd71
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
index.css
css/index.css
+3
-0
index.html
index.html
+1
-1
index.js
js/index.js
+3
-3
No files found.
css/index.css
View file @
bd8f4bc3
...
...
@@ -102,6 +102,9 @@ body {
.item_wrap
{
height
:
calc
(
100%
-
32px
);
line-height
:
32px
;
}
.item_val_wrap
{
display
:
flex
;
}
...
...
index.html
View file @
bd8f4bc3
...
...
@@ -23,7 +23,7 @@
<img
class=
"item_img"
src=
"./imgs/title@2x.png"
alt=
""
>
<span
class=
"item_title"
>
文本标题
</span>
</div>
<div
class=
"item_wrap"
>
<div
class=
"item_wrap
item_val_wrap
"
>
<div
class=
"item_wrap_content"
>
<div>
<div
class=
"val"
id=
"pro_eff"
>
0
</div>
...
...
js/index.js
View file @
bd8f4bc3
...
...
@@ -192,7 +192,7 @@ function getTorque(){
},
series
:
[
{
name
:
'
转矩
1'
,
name
:
'
功率
1'
,
data
:
data1
,
type
:
'bar'
,
stack
:
'1'
,
...
...
@@ -208,7 +208,7 @@ function getTorque(){
}
},
{
name
:
'
转矩
2'
,
name
:
'
功率
2'
,
data
:
data2
,
type
:
'bar'
,
stack
:
'2'
,
...
...
@@ -266,7 +266,7 @@ function getTorque(){
url
:
baseUrl
+
"/Base/PostRediusTest"
,
dataType
:
"json"
,
contentType
:
"application/json"
,
data
:
JSON
.
stringify
(
[
"
TORQUE1"
,
"TORQUE
2"
]),
data
:
JSON
.
stringify
(
[
"
PROWER1"
,
"PROWER
2"
]),
success
:
function
(
res
)
{
if
(
xAxis
.
length
===
6
){
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