feat: init fitness-coach (backend + miniprogram)

- backend: NestJS service with exercise/plan data
- miniprogram: WeChat mini program client
- exclude node_modules, dist, runtime data-store, local env
This commit is contained in:
2026-07-22 00:35:40 +08:00
commit b3b58e66fb
103 changed files with 154759 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
Component({
properties: {
exercise: { type: Object, value: {} },
score: { type: Number, value: 0 },
reason: { type: String, value: '' },
compact: { type: Boolean, value: false }
},
methods: {
onTap() {
const ex = this.data.exercise || {};
this.triggerEvent('tap', { id: ex.id, exercise: ex });
}
}
});