Commit 697d79c6 authored by 罗超's avatar 罗超

调整部分样式

parent 08e25095
......@@ -25,7 +25,7 @@
chartData: {},
opts: {
color: ["#E53F4E", "#282828"],
padding: [0, 40, 6, 40],
padding: [0, 40, 0, 40],
legend: {
show: true,
position: "top",
......
......@@ -64,6 +64,7 @@
let cate = [];//模块名称
let grRate =[];//个人得分率
let avgRate =[];//平均得分率
let sumRate=[]
props.ModuleList && props.ModuleList.forEach(item=>{
if(item.Module.length>6){
cate.push(item.Module.substring(0,6)+'...');
......@@ -73,6 +74,7 @@
grRate.push((item.ScoreRate * 100).toFixed(0));
avgRate.push((item.AvgScoreRate * 100).toFixed(0));
sumRate.push(100)
});
let res = {
categories: cate,
......@@ -80,7 +82,7 @@
{
name: "",
legendShape:'none',
data: [100,100,100,100,100,100,100]
data: sumRate
},
{
name: "平均得分率",
......
......@@ -74,12 +74,12 @@
<text>{{x.GroupName.GroupName}}掌握情况</text>
</view>
<view class="index-student-information">
<view style="display: flex;justify-content: center;margin-bottom: 40rpx;zoom: .7;">
<view class="scoreDetails-header-num flex">
<view style="display: flex;justify-content: center;margin-bottom: 40rpx;">
<view class="scoreDetails-header-num flex small">
<view>总分</view>
<text>{{x.TScore}}</text>
</view>
<view class="scoreDetails-header-num flex" style="margin-left: 80rpx;background-color: #3ec283;">
<view class="scoreDetails-header-num flex small" style="margin-left: 80rpx;background-color: #3ec283;">
<view>排名</view>
<text>{{x.Rank}}</text>
</view>
......@@ -332,6 +332,17 @@
flex-shrink: 0;
text-align: center;
}
.scoreDetails-header-num.small{
width: 80rpx;
height: 80rpx;
border-radius: 20rpx;
}
.scoreDetails-header-num.small text{
font-size: 30rpx;
}
.scoreDetails-header-num.small view{
font-size: 18rpx;
}
.scoreDetails-header-title{
font-size: 50rpx;
font-weight: 800;
......
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