Ship signup sheet, subscribe reminders, cover crop, and theme updates.
Wire real WeChat app config, prefer activity cover over posters, and add admin cover cropping for the home banner. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -5,7 +5,8 @@ const fallback = require('../../utils/fallback')
|
||||
|
||||
Page({
|
||||
data: {
|
||||
activity: fallback.CURRENT
|
||||
activity: fallback.CURRENT,
|
||||
signupOpen: false
|
||||
},
|
||||
|
||||
onLoad(query) {
|
||||
@@ -34,8 +35,14 @@ Page({
|
||||
activityUtil.openMap(this.data.activity)
|
||||
},
|
||||
|
||||
goSignup() {
|
||||
activityUtil.goSignup(this.data.activity)
|
||||
openSignup() {
|
||||
if (!this.data.activity || !this.data.activity.id) return
|
||||
if (this.data.activity.status === 'past') return
|
||||
this.setData({ signupOpen: true })
|
||||
},
|
||||
|
||||
closeSignup() {
|
||||
this.setData({ signupOpen: false })
|
||||
},
|
||||
|
||||
goPast() {
|
||||
|
||||
Reference in New Issue
Block a user