diff --git a/frontend-h5/public/img/majors/architecture.jpg b/frontend-h5/public/img/majors/architecture.jpg new file mode 100644 index 0000000..9a5b556 Binary files /dev/null and b/frontend-h5/public/img/majors/architecture.jpg differ diff --git a/frontend-h5/public/img/majors/decoration.jpg b/frontend-h5/public/img/majors/decoration.jpg new file mode 100644 index 0000000..8c20413 Binary files /dev/null and b/frontend-h5/public/img/majors/decoration.jpg differ diff --git a/frontend-h5/public/img/majors/equipment.jpg b/frontend-h5/public/img/majors/equipment.jpg new file mode 100644 index 0000000..80c317e Binary files /dev/null and b/frontend-h5/public/img/majors/equipment.jpg differ diff --git a/frontend-h5/public/img/majors/landscape.jpg b/frontend-h5/public/img/majors/landscape.jpg new file mode 100644 index 0000000..3f516e4 Binary files /dev/null and b/frontend-h5/public/img/majors/landscape.jpg differ diff --git a/frontend-h5/src/views/Home.vue b/frontend-h5/src/views/Home.vue index df905b1..3f833cf 100644 --- a/frontend-h5/src/views/Home.vue +++ b/frontend-h5/src/views/Home.vue @@ -20,11 +20,12 @@ const fallbackMajors = [ { value: 'decoration', label: '装修' }, ] +const BASE = import.meta.env.BASE_URL 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', + architecture: `${BASE}img/majors/architecture.jpg`, + landscape: `${BASE}img/majors/landscape.jpg`, + equipment: `${BASE}img/majors/equipment.jpg`, + decoration: `${BASE}img/majors/decoration.jpg`, } const tree = ref([])