feat: add image

master
xjs 2025-07-23 17:35:39 +08:00
parent c325f56ed9
commit 1777470f47
4 changed files with 21 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 978 KiB

View File

@ -306,6 +306,14 @@ export const publicRoutes:RouteRecordRaw[] = [
},
components: {default:() => import("../views/housekeeping/detail.vue"),backButton:() => import("../components/back-button/index.vue")},
},
{
path:'/decoration',
name:'decoration',
meta:{
title:'装饰'
},
component: () => import("../views/decoration/index.vue")
},
{
path: "/unauthorized",
name: "unauthorized",

View File

@ -0,0 +1,9 @@
<template>
<div class="bg-[#CF2719]">
<img src="/images/decoration/decoration.png" alt="" class="w-[100%]" />
</div>
</template>
<script lang="ts" setup></script>
<style lang="scss" scoped></style>

View File

@ -25,7 +25,7 @@
</div>
<div class="flex justify-center mt-[30rpx]">
<img src="/images/home/housing-renovation.png" alt="housing" class="h-[382rpx]">
<img src="/images/home/housing-renovation.png" alt="housing" class="h-[382rpx]" @click="navigateToDecoration()">
<div class="flex flex-col justify-between">
<img src="/images/home/tourism.png" alt="tourism" class="w-[328rpx]" @click="toTravel">
<img src="/images/home/medical.png" alt="medical" class="w-[336rpx]" @click="toJinze">
@ -89,6 +89,9 @@ const toJinze = () => {
router.push({path:'/jinze'})
}
const navigateToDecoration = () => {
router.push({path:'/decoration'})
}
</script>
<style lang="scss" scoped>