Files
inchstep/miniapp/components/checkin-card/index.js
T
zeronline 545329ac40
CI / Server (Go) (push) Has been cancelled
CI / Web (Next.js) (push) Has been cancelled
CI / Mobile (React Native) (push) Has been cancelled
CI / Admin (React) (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
修改页面
2026-06-25 16:33:32 +08:00

14 lines
353 B
JavaScript

Component({
properties: {
item: { type: Object, value: {} },
done: { type: Boolean, value: false },
streak: { type: Number, value: undefined },
categoryLabel: { type: String, value: '' },
cycleLabel: { type: String, value: '' },
},
methods: {
onTap() {
this.triggerEvent('tap', { id: this.data.item.id })
}
}
})