feat: 添加服务页面,更新首页以显示国徽图片
This commit is contained in:
BIN
src/assets/images/guohui.png
Normal file
BIN
src/assets/images/guohui.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 140 KiB |
@@ -21,6 +21,10 @@ const routes: Array<RouteRecordRaw> = [
|
|||||||
path: "home",
|
path: "home",
|
||||||
component: () => import("@/views/home/index.vue"),
|
component: () => import("@/views/home/index.vue"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: "service",
|
||||||
|
component: () => import("@/views/service/index.vue"),
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -100,9 +100,12 @@ onUnmounted(() => {
|
|||||||
<ion-page>
|
<ion-page>
|
||||||
<ion-header class="ion-no-border header">
|
<ion-header class="ion-no-border header">
|
||||||
<ion-toolbar class="ion-toolbar">
|
<ion-toolbar class="ion-toolbar">
|
||||||
<div slot="start" class="font-semibold">
|
<div slot="start" class="flex items-center px-5 py-3">
|
||||||
|
<img src="@/assets/images/guohui.png" alt="国徽" class="inline-block h-10 mr-2">
|
||||||
|
<div class="font-semibold text-md">
|
||||||
国务院深化改革战略推进委员会
|
国务院深化改革战略推进委员会
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</ion-toolbar>
|
</ion-toolbar>
|
||||||
</ion-header>
|
</ion-header>
|
||||||
|
|
||||||
|
|||||||
13
src/views/service/index.vue
Normal file
13
src/views/service/index.vue
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<script lang='ts' setup>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<ion-page>
|
||||||
|
<ion-content>
|
||||||
|
11
|
||||||
|
</ion-content>
|
||||||
|
</ion-page>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style lang='css' scoped></style>
|
||||||
Reference in New Issue
Block a user