- backend: NestJS service with exercise/plan data - miniprogram: WeChat mini program client - exclude node_modules, dist, runtime data-store, local env
17 lines
344 B
JavaScript
17 lines
344 B
JavaScript
Component({
|
|
properties: {
|
|
label: { type: String, value: '' },
|
|
active: { type: Boolean, value: false },
|
|
color: { type: String, value: '' },
|
|
value: { type: String, value: '' }
|
|
},
|
|
methods: {
|
|
onTap() {
|
|
this.triggerEvent('tap', {
|
|
value: this.data.value,
|
|
label: this.data.label
|
|
});
|
|
}
|
|
}
|
|
});
|