37 lines
677 B
TypeScript
37 lines
677 B
TypeScript
Component({
|
|
options: {
|
|
styleIsolation: 'apply-shared',
|
|
},
|
|
properties: {
|
|
title: {
|
|
type: String,
|
|
value: '',
|
|
},
|
|
previewBg: {
|
|
type: String,
|
|
value: '#f5f5f5',
|
|
},
|
|
previewText: {
|
|
type: String,
|
|
value: '',
|
|
},
|
|
ageRange: {
|
|
type: String,
|
|
value: '',
|
|
},
|
|
difficulty: {
|
|
type: String,
|
|
value: '',
|
|
},
|
|
img: {
|
|
type: String,
|
|
value: '',
|
|
},
|
|
},
|
|
methods: {
|
|
onTap() {
|
|
this.triggerEvent('tap');
|
|
},
|
|
},
|
|
});
|