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
7a1a2ae5
Commit
7a1a2ae5
authored
Aug 05, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 学练记录页面布局
parent
9a0bda86
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
8 deletions
+18
-8
index.vue
src/components/calendar/index.vue
+2
-2
record.vue
src/pages/learn/record.vue
+16
-6
No files found.
src/components/calendar/index.vue
View file @
7a1a2ae5
...
...
@@ -101,7 +101,7 @@
</view>
<!--
<view
class=
"u-calendar__content__bg-month"
>
{{
month
}}
</view>
-->
</view>
<
view
class=
"u-calendar__line"
></view
>
<
!--
<view
class=
"u-calendar__line"
></view>
--
>
<!--
<view
class=
"u-calendar__bottom"
>
<view
class=
"u-calendar__bottom__choose"
>
<text>
{{
mode
==
'date'
?
activeDate
:
startDate
}}
</text>
...
...
@@ -621,7 +621,7 @@ export default {
flex-wrap
:
wrap
;
padding
:
0
20rpx
30rpx
10rpx
;
box-sizing
:
border-box
;
background-color
:
#fff
;
background-color
:
transparent
;
position
:
relative
;
&
--end-date
{
...
...
src/pages/learn/record.vue
View file @
7a1a2ae5
...
...
@@ -33,6 +33,7 @@
></Calendar>
</view>
</view>
<view
class=
"space-view"
></view>
<view
class=
"charts-view"
>
<view
class=
"content-title"
id=
"part-total"
>
练习分析
</view>
<view
class=
"range-view"
>
...
...
@@ -76,6 +77,7 @@
<qiun-data-charts
type=
"area"
:opts=
"
{
padding: [15, 34, 0, 10],
dataLabel: false,
xAxis: { labelCount: 4 },
extra: {
...
...
@@ -109,6 +111,7 @@
</view>
</view>
</view>
<view
class=
"space-view"
></view>
<view
class=
"list-view"
>
<view
class=
"content-title"
id=
"part-today"
>
模考成绩
</view>
<view
class=
"list-content"
>
...
...
@@ -376,7 +379,8 @@ export default {
background-image
:
linear-gradient
(
to
top
,
#2272ff
0%
,
#2953ff
50%
);
background-size
:
100%
400rpx
;
background-repeat
:
no-repeat
;
display
:
flex
;
flex-direction
:
column
;
.head-view
{
padding
:
10rpx
60rpx
50rpx
60rpx
;
display
:
flex
;
...
...
@@ -405,6 +409,9 @@ export default {
}
}
.body-view
{
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
::-webkit-scrollbar
{
width
:
0
;
height
:
0
;
...
...
@@ -413,7 +420,6 @@ export default {
}
border-radius
:
24rpx
24rpx
0
0
;
background-color
:
#ffffff
;
height
:
calc
(
100vh
-
178px
);
overflow
:
auto
;
.scroll-view
{
height
:
100%
;
...
...
@@ -427,7 +433,7 @@ export default {
font-size
:
32rpx
;
color
:
#191c27
;
font-weight
:
bold
;
padding
:
2
4
rpx
30rpx
0rpx
30rpx
;
padding
:
2
6
rpx
30rpx
0rpx
30rpx
;
}
.charts-view
{
.range-view
{
...
...
@@ -480,20 +486,24 @@ export default {
.charts-content
{
width
:
100%
;
height
:
570rpx
;
padding
:
0
0
10rpx
0rpx
;
margin-bottom
:
3
0rpx
;
.charts-box
{
width
:
100%
;
height
:
570rpx
;
}
}
}
.space-view
{
height
:
8rpx
;
width
:
100%
;
background-color
:
#f7f9fc
;
}
.list-view
{
padding-bottom
:
44rpx
;
min-height
:
240rpx
;
border-top
:
2rpx
solid
#f7f9fc
;
.list-content
{
padding
:
0
30rpx
20rpx
30rpx
;
min-height
:
44
rpx
;
min-height
:
100
rpx
;
.show-more
{
display
:
flex
;
justify-content
:
center
;
...
...
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