Commit 51b7beb3 authored by 罗超's avatar 罗超

调整

parent 115d6126
...@@ -12,21 +12,25 @@ ...@@ -12,21 +12,25 @@
:key="index" :key="index"
width="200">{{item}}</th> width="200">{{item}}</th>
</tr> </tr>
<tr class="analysisTest-content-right flex"> <tr class="analysisTest-content-right">
<td class="analysisTest-td" style="min-width: 56rpx;" :style="{'min-width':(item.KnowledgePoint.length*20+20)+'rpx'}" v-for="(item,index) in ScoreList" :key="index"> <scroll-view scroll-x="true" class="flex" style="width:100%;height: 561.6rpx;">
<view class="analysisTest-number">{{item.Sort}}</view> <view style="height: 100%;display: flex;flex-direction: row;flex-wrap: nowrap;" >
<view class="analysisTest-difficulty"> <td class="analysisTest-td" style="min-width: 56rpx;" :style="{'min-width':(item.KnowledgePoint.length*20+20)+'rpx'}" v-for="(item,index) in ScoreList" :key="index">
<template v-if="item.Difficulty == '易'"><van-icon name="star" v-for="(s,i) in 1" :key="i"/></template> <view class="analysisTest-number">{{item.Sort}}</view>
<template v-else-if="item.Difficulty == '中'"><van-icon name="star" v-for="(s,i) in 2" :key="i"/></template> <view class="analysisTest-difficulty">
<template v-else-if="item.Difficulty == '难'"><van-icon name="star" v-for="(s,i) in 3" :key="i"/></template> <template v-if="item.Difficulty == '易'"><van-icon name="star" v-for="(s,i) in 1" :key="i"/></template>
</view> <template v-else-if="item.Difficulty == '中'"><van-icon name="star" v-for="(s,i) in 2" :key="i"/></template>
<view class="analysisTest-KnowledgePoint">{{item.KnowledgePoint}}</view> <template v-else-if="item.Difficulty == '难'"><van-icon name="star" v-for="(s,i) in 3" :key="i"/></template>
<view class="analysisTest-ScoreOne">{{item.QScore}}</view> </view>
<view class="analysisTest-ScoreTwo">{{item.Score}}</view> <view class="analysisTest-KnowledgePoint">{{item.KnowledgePoint}}</view>
<view class="analysisTest-scoringRate">{{(item.ScoreRate * 100).toFixed(0)}}%</view> <view class="analysisTest-ScoreOne">{{item.QScore}}</view>
<view class="analysisTest-TheAverageAcore">{{item.AvgScore.toFixed(1)}}</view> <view class="analysisTest-ScoreTwo">{{item.Score}}</view>
<view class="analysisTest-averageScoringRate">{{(item.AvgScoreRate * 100).toFixed(0)}}%</view> <view class="analysisTest-scoringRate">{{(item.ScoreRate * 100).toFixed(0)}}%</view>
</td> <view class="analysisTest-TheAverageAcore">{{item.AvgScore.toFixed(1)}}</view>
<view class="analysisTest-averageScoringRate">{{(item.AvgScoreRate * 100).toFixed(0)}}%</view>
</td>
</view>
</scroll-view>
</tr> </tr>
</table> </table>
...@@ -103,8 +107,16 @@ ...@@ -103,8 +107,16 @@
} }
.analysisTest-content-left th{ .analysisTest-content-left th{
background: #282828; background: #282828;
padding: 18rpx 24rpx; padding: 0rpx 24rpx;
height: 11.8%;
overflow: hidden;
display: flex;
align-items: center;
text-align: center;
} }
.analysisTest-content-left th:last-child{
height: 17.4%;
}
.analysisTest-content-left{ .analysisTest-content-left{
width: 120rpx; width: 120rpx;
border-radius: 35rpx 0 0 35rpx; border-radius: 35rpx 0 0 35rpx;
......
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