未加载完成无法点击

This commit is contained in:
ltx 2026-05-14 16:14:11 +08:00
parent 0df37d0ca7
commit 5509f15929

View File

@ -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',