Commit 7a1a2ae5 authored by Facius's avatar Facius

fix: 学练记录页面布局

parent 9a0bda86
......@@ -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 {
......
......@@ -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: 24rpx 30rpx 0rpx 30rpx;
padding: 26rpx 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: 30rpx;
.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: 44rpx;
min-height: 100rpx;
.show-more {
display: flex;
justify-content: center;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment