fix(practice): 修复练习页面题目列表滚动和接口调用问题

- 为题目编号容器添加高度限制和滚动样式
- 修复练习列表页面接口地址错误,从 trainVideoList 改为 getQuestionTypes
- 优化题目列表的显示效果和用户体验
This commit is contained in:
hanguangpu01
2026-01-21 11:30:17 +08:00
parent 5430678eaf
commit d817ce2524
2 changed files with 3 additions and 2 deletions

View File

@@ -109,7 +109,7 @@
<div>题号</div>
<div style="font-size: 40rpx;" @click="clones()">×</div>
</div>
<div class="questionNums">
<div class="questionNums" style = "height:77vh;overflow: auto;">
<div class="questions" :class="item.whether=='正确'?'questionCorrect':item.whether=='错误'?'questionError':questionIndex==(index+1)?'questionsActive':''" @click="switchs(index)" v-for="(item,index) in problemList" :key="index">{{index+1}}</div>
</div>
</div>