Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
study
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
Damon
study
Commits
9b4b86fb
Commit
9b4b86fb
authored
Aug 04, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 学练记录图表
parent
6446e516
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
8 deletions
+25
-8
record.vue
src/pages/learn/record.vue
+25
-8
No files found.
src/pages/learn/record.vue
View file @
9b4b86fb
...
...
@@ -74,6 +74,28 @@
<view
class=
"charts-content"
>
<view
class=
"charts-box"
>
<qiun-data-charts
type=
"area"
:opts=
"
{
xAxis: { labelCount: 4 },
extra: {
area: {
type: 'curve',
opacity: 0.2,
addLine: true,
width: 2,
gradient: true,
},
},
}"
:chartData="chartData"
:inScrollView="true"
:pageScrollTop="pageScrollTop"
canvasId="scroll-viewid"
fontColor="#9EA5BB"
background="none"
canvas2d="true"
/>
<!--
<qiun-data-charts
type=
"tarea"
:chartData=
"chartData"
:canvas2d=
"true"
...
...
@@ -82,12 +104,7 @@
canvasId=
"scroll-viewid"
:pageScrollTop=
"pageScrollTop"
background=
"none"
:opts=
"
{
xAxis: {
labelCount: 4,
},
}"
/>
/>
-->
</view>
</view>
</view>
...
...
@@ -241,7 +258,6 @@ export default {
keys
.
push
(
v
)
})
keys
.
sort
()
for
(
let
index
=
0
;
index
<
keys
.
length
;
index
++
)
{
const
ele
=
keys
[
index
]
console
.
log
(
'ele'
,
ele
)
...
...
@@ -464,7 +480,7 @@ export default {
.charts-content
{
width
:
100%
;
height
:
570rpx
;
padding
:
0
24rpx
10rpx
0rpx
;
padding
:
0
0
10rpx
0rpx
;
.charts-box
{
width
:
100%
;
height
:
570rpx
;
...
...
@@ -474,6 +490,7 @@ export default {
.list-view
{
padding-bottom
:
44rpx
;
min-height
:
240rpx
;
border-top
:
2rpx
solid
#f7f9fc
;
.list-content
{
padding
:
0
30rpx
20rpx
30rpx
;
min-height
:
44rpx
;
...
...
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