feat: 完成首页UI展示初版开发

This commit is contained in:
R524809
2026-03-31 10:59:25 +08:00
parent 1b45ba7d11
commit b18dbcb0d1
17 changed files with 258 additions and 10 deletions
@@ -0,0 +1,39 @@
Component({
properties: {
title: {
type: String,
value: '',
},
previewBg: {
type: String,
value: '#f5f5f5',
},
previewText: {
type: String,
value: '',
},
ageRange: {
type: String,
value: '',
},
difficulty: {
type: String,
value: '',
},
downloads: {
type: String,
value: '',
},
},
methods: {
onTap() {
this.triggerEvent('tap');
},
onGenerate() {
this.triggerEvent('generate');
},
onFav() {
this.triggerEvent('fav');
},
},
});