feat: 完成分龄页开发

This commit is contained in:
R524809
2026-05-06 17:28:51 +08:00
parent 50394154f7
commit 9bdf850f20
54 changed files with 3499 additions and 1021 deletions
@@ -3,10 +3,18 @@ Component({
styleIsolation: 'apply-shared',
},
properties: {
variant: {
type: String,
value: 'classic',
},
title: {
type: String,
value: '',
},
subtitle: {
type: String,
value: '',
},
previewBg: {
type: String,
value: '#f5f5f5',
@@ -19,6 +27,10 @@ Component({
type: String,
value: '',
},
ageBand: {
type: String,
value: '',
},
difficulty: {
type: String,
value: '',
@@ -27,10 +39,25 @@ Component({
type: String,
value: '',
},
previewImg: {
type: String,
value: '',
},
icon: {
type: String,
value: '',
},
path: {
type: String,
value: '',
},
},
methods: {
onTap() {
this.triggerEvent('tap');
this.triggerEvent('tap', {
title: this.data.title,
path: this.data.path,
});
},
},
});