From ae911b6cffb8d43a4ed57e60435f6840d31bfc89 Mon Sep 17 00:00:00 2001 From: yanzai Date: Fri, 21 Mar 2025 14:54:30 +0800 Subject: [PATCH] =?UTF-8?q?H5=E6=8A=A5=E5=91=8A=E6=9F=A5=E8=AF=A2=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 衡水博爱健康医院医院报告对比/pages/main/list/list.vue | 4 ++++ 衡水博爱健康医院医院报告对比/pages/main/report/report.vue | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/衡水博爱健康医院医院报告对比/pages/main/list/list.vue b/衡水博爱健康医院医院报告对比/pages/main/list/list.vue index 4affe30..0fdb513 100644 --- a/衡水博爱健康医院医院报告对比/pages/main/list/list.vue +++ b/衡水博爱健康医院医院报告对比/pages/main/list/list.vue @@ -28,10 +28,14 @@ }, }); const ReportList = async () => { + uni.showLoading({ + title: '加载中...' + }); const response = await ReportListAction({ id_number: $props.id_number }) $response(response, () => { + uni.hideLoading(); report_list.value = response.data.list }) } diff --git a/衡水博爱健康医院医院报告对比/pages/main/report/report.vue b/衡水博爱健康医院医院报告对比/pages/main/report/report.vue index e40df36..f2b821c 100644 --- a/衡水博爱健康医院医院报告对比/pages/main/report/report.vue +++ b/衡水博爱健康医院医院报告对比/pages/main/report/report.vue @@ -40,10 +40,14 @@ }) } const ReportInfo = async () => { + uni.showLoading({ + title: '加载中...' + }); const response = await ReportInfoAction({ id: $props.id }) $response(response, () => { + uni.hideLoading(); report_content.value = { content: response.data.content, conclusion: response.data.conclusion,