Commit a0dcc050 authored by zhengke's avatar zhengke

修改

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