From 4be46bcb790c3edf320fc03b2ec7df34ae53140e Mon Sep 17 00:00:00 2001 From: jacobxu666 Date: Mon, 31 Aug 2026 16:43:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=97=A8=E5=BA=97=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E5=A4=B1=E8=B4=A5=E6=98=BE=E7=A4=BA=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E9=A1=B5=E6=9B=BF=E4=BB=A3=E7=A9=BA=E7=99=BD=EF=BC=8C?= =?UTF-8?q?=E5=AF=BC=E8=88=AA=E6=9D=A1=E6=A0=87=E9=A2=98=E4=B8=BA=E8=AF=A6?= =?UTF-8?q?=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- pages/venue/detail.vue | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/pages/venue/detail.vue b/pages/venue/detail.vue index 18c08cf..bd6adbc 100644 --- a/pages/venue/detail.vue +++ b/pages/venue/detail.vue @@ -1,5 +1,6 @@ @@ -69,7 +83,8 @@ export default { data() { return { - store: null + store: null, + loaded: false } }, computed: { @@ -129,6 +144,9 @@ export default { if (res.errcode === 0 && res.data) { this.store = res.data } + this.loaded = true + }).catch(() => { + this.loaded = true }) }, goBack() { @@ -276,6 +294,18 @@ export default { color: #0088ff; } +/* xuchao: 加载失败提示态 */ +.load-failed { + display: flex; + justify-content: center; + padding: 80px 24px; +} + +.load-failed-text { + font-size: 14px; + color: #999999; +} + /* xuchao: 顶部返回导航条 */ .nav-bar { display: flex;