From 5509f1592988b8f5a3537f4cf743ac1512e14334 Mon Sep 17 00:00:00 2001 From: ltx <1006158920@qq.com> Date: Thu, 14 May 2026 16:14:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E5=8A=A0=E8=BD=BD=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/detail/detail.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/detail/detail.js b/pages/detail/detail.js index 654f3ec..9141850 100644 --- a/pages/detail/detail.js +++ b/pages/detail/detail.js @@ -502,12 +502,12 @@ Page({ /** 是否显示上传素材截止时间(isNeedMaterial=false 时隐藏) */ showMaterialRange: true, /** 是否灰态展示(不等同于 disabled) */ - applyGrey: false, + applyGrey: true, /** 是否原生禁用(禁用后无法点击) */ - applyDisabled: false, - /** 是否被“需后台报名”规则拦截(按钮灰但可点,点后弹窗引导) */ + applyDisabled: true, + /** 是否被"需后台报名"规则拦截(按钮灰但可点,点后弹窗引导) */ applyBlockedByAdmin: false, - applyButtonText: '报名', + applyButtonText: '加载中...', /** 当前用户是否已报名该赛事 */ isRegistered: false, /** 收费模式 0免费 1定价赛事 2单价赛事 3单价项目 */ @@ -541,6 +541,7 @@ Page({ }, fetchDetail(id) { + this.setData({ applyDisabled: true, applyGrey: true, applyButtonText: '加载中...' }); request({ path: API.eventDetail(id), method: 'GET',