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

调整

parent 115d6126
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
: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">
<scroll-view scroll-x="true" class="flex" style="width:100%;height: 561.6rpx;">
<view style="height: 100%;display: flex;flex-direction: row;flex-wrap: nowrap;" >
<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"> <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">
<view class="analysisTest-number">{{item.Sort}}</view> <view class="analysisTest-number">{{item.Sort}}</view>
<view class="analysisTest-difficulty"> <view class="analysisTest-difficulty">
...@@ -27,6 +29,8 @@ ...@@ -27,6 +29,8 @@
<view class="analysisTest-TheAverageAcore">{{item.AvgScore.toFixed(1)}}</view> <view class="analysisTest-TheAverageAcore">{{item.AvgScore.toFixed(1)}}</view>
<view class="analysisTest-averageScoringRate">{{(item.AvgScoreRate * 100).toFixed(0)}}%</view> <view class="analysisTest-averageScoringRate">{{(item.AvgScoreRate * 100).toFixed(0)}}%</view>
</td> </td>
</view>
</scroll-view>
</tr> </tr>
</table> </table>
...@@ -103,7 +107,15 @@ ...@@ -103,7 +107,15 @@
} }
.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;
......
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