Commit a0dcc050 authored by zhengke's avatar zhengke

修改

parent a1fe7886
......@@ -67,6 +67,7 @@
},
//交卷
async savePaper() {
data.saveMsg.ExamDetailsList=[];
data.questionList.forEach(x => {
let obj = {
DetailId: 0,
......@@ -97,6 +98,7 @@
})
SetStudentExam(data.saveMsg).then(res=>{
console.log(res);
uni.navigateBack();
})
},
};
......
......@@ -153,5 +153,6 @@
.Exam_Score{
color:#999999;
font-size:28rpx;
flex-shrink: 0;
}
</style>
......@@ -254,7 +254,7 @@
</view>
<view class="Janpa_Level" style="margin-top:20rpx;">
<view class="Ques_Title">日语真题演练</view>
<view class="JanpaTrueTi" style="margin:26rpx 0 20rpx 0">
<view class="JanpaTrueTi" style="margin:26rpx 0 20rpx 0" @click="goJpGrade(6)">
<img src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/educationStu/true2.png" alt="" />
<view class="Join_Content">
<view class="Join_Linian">高考真题</view>
......
......@@ -87,10 +87,8 @@
uni.navigateBack();
},
onchange(e) {
data.current = e.detail.current;
if (data.current + 1 == data.dataList.length) {
data.msg.pageIndex++;
this.getList();
if(e&&e.detail){
data.current = e.detail.current;
}
},
getList() {
......@@ -112,11 +110,7 @@
});
}
})
if (data.msg.pageIndex === 1) {
data.dataList = TempData;
} else {
data.dataList = [...data.dataList, ...TempData];
}
data.dataList = TempData;
data.Count = res.Data.Count;
}
}
......
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