diff --git a/frontend-h5/src/components/MajorCategoryCard.vue b/frontend-h5/src/components/MajorCategoryCard.vue index f48b0ae..f488690 100644 --- a/frontend-h5/src/components/MajorCategoryCard.vue +++ b/frontend-h5/src/components/MajorCategoryCard.vue @@ -1,13 +1,16 @@ diff --git a/frontend-h5/src/views/Home.vue b/frontend-h5/src/views/Home.vue index 7da8536..df905b1 100644 --- a/frontend-h5/src/views/Home.vue +++ b/frontend-h5/src/views/Home.vue @@ -20,6 +20,13 @@ const fallbackMajors = [ { value: 'decoration', label: '装修' }, ] +const majorBg = { + architecture: 'https://picsum.photos/seed/mat3-architecture/600/300', + landscape: 'https://picsum.photos/seed/mat3-landscape/600/300', + equipment: 'https://picsum.photos/seed/mat3-equipment/600/300', + decoration: 'https://picsum.photos/seed/mat3-decoration/600/300', +} + const tree = ref([]) const loading = ref(true) const selected = ref(ui.selectedMajor) @@ -61,7 +68,7 @@ const onLogout = () => { auth.logout(); router.replace('/login') }