diff --git a/src/components/examination/touchBtn.vue b/src/components/examination/touchBtn.vue index dbac1ffb..14644e75 100644 --- a/src/components/examination/touchBtn.vue +++ b/src/components/examination/touchBtn.vue @@ -142,7 +142,7 @@ startTimer.value = null; } const endTime = Date.now(); - const times = Math.max(400 - endTime + startTime, 0); + const times = Math.max(500 - endTime + startTime, 0); setTimeout(() => { console.log('延迟数据', times); nextTick(() => { @@ -150,7 +150,7 @@ recorderManager.stop(); }); }, times); - nextTick(() => setTimeout(() => recordingStatus.value = 'not_started', 300)); + nextTick(() => recordingStatus.value = 'not_started'); }; onMounted(async () => { diff --git a/src/components/nav-bar/nav-bar.vue b/src/components/nav-bar/nav-bar.vue index 4c9f6a19..8fd5ca5f 100644 --- a/src/components/nav-bar/nav-bar.vue +++ b/src/components/nav-bar/nav-bar.vue @@ -34,13 +34,11 @@ .nav-bar-seat { width: 100%; height: var(--status-bar-height); - height: 200rpx; - background-color: gold; } .nav-bar-div { z-index: 2001; width: 100%; - // position: relative; + position: relative; } \ No newline at end of file diff --git a/src/pages/examRanking/index.vue b/src/pages/examRanking/index.vue new file mode 100644 index 00000000..8183fd03 --- /dev/null +++ b/src/pages/examRanking/index.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/src/pages/messageNotification/index.vue b/src/pages/messageNotification/index.vue index fb6997fc..be3eb074 100644 --- a/src/pages/messageNotification/index.vue +++ b/src/pages/messageNotification/index.vue @@ -66,7 +66,7 @@ {{ item.noticeContent }} - + @@ -174,9 +174,14 @@ }; const readMessage = () => { - readNotice({ noticeId: popup_info.id }).then(() => { - // todo + readNotice({ noticeId: popup_info.id }).then((res) => { popup.value.close(); + data_list.forEach((item) => { + if (item.noticeId === popup_info.id) { + item.isRead = res.body.isRead; + return; + } + }); }); }; // 读取消息 diff --git a/src/pages/testingHall/details.vue b/src/pages/testingHall/details.vue index 003e73d5..a5e51726 100644 --- a/src/pages/testingHall/details.vue +++ b/src/pages/testingHall/details.vue @@ -1,6 +1,6 @@