From 1c3c45f944cf4576f8f6d1c3452ae4ea3a8034be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E5=B2=A9?= Date: Wed, 20 Aug 2025 09:22:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91=E6=B6=88=E6=81=AF=E9=A1=B5?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=EF=BC=8C=E5=88=9B=E5=BB=BA=E8=80=83=E8=AF=95?= =?UTF-8?q?=E6=8E=92=E8=A1=8C=E6=A6=9C=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/examination/touchBtn.vue | 4 ++-- src/components/nav-bar/nav-bar.vue | 4 +--- src/pages/examRanking/index.vue | 22 ++++++++++++++++++++++ src/pages/messageNotification/index.vue | 11 ++++++++--- src/pages/testingHall/details.vue | 18 +++++++++++------- 5 files changed, 44 insertions(+), 15 deletions(-) create mode 100644 src/pages/examRanking/index.vue 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 @@