Commit d3216dd3 authored by 罗超's avatar 罗超

1

parent 8b27752c
......@@ -26,13 +26,13 @@
v-for="(item, index) in examList"
:key="index"
class="exam-item"
:style="{ 'background-image': `url(${item.bgimg})` }"
@click="jumpPage"
:style="{ 'background-image': `url(${item.PicList[0]})` }"
@click="jumpPage(item.PaperId, item.Id)"
>
<view class="testName">
{{ item.testName }}
{{ item.PaperName }}
</view>
<view class="testTime"> 考试时间:{{ item.testTime }} </view>
<view class="testTime"> 考试时间:{{ item.ExamStartTime }} </view>
<view class="teacherInfo-bg"></view>
<view class="teacherInfo flex flex_between_center">
<view class="flex flex_start_center">
......@@ -46,7 +46,7 @@
<view class="teacherName">{{ item.teacherName }}</view>
</view>
<view class="exam-status">
{{ item.status }}
{{ item.ExamStatusStr }}
</view>
</view>
</view>
......@@ -99,11 +99,13 @@ export default {
});
let methods = {
changeTab(e) {
this.msg.ExamStatus = e.detail.name;
data.msg.ExamStatus = e.detail.name;
data.msg.pageIndex = 1;
methods.getList();
},
jumpPage() {
jumpPage(PaperId, Id) {
uni.navigateTo({
url: "/pages/exam/examPaper",
url: "/pages/exam/examPaper?PaperId=" + PaperId + "&&Id=" + Id,
});
},
lower(e) {
......
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