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