页面左上角加个标志

This commit is contained in:
许晓东
2021-12-04 14:47:32 +08:00
parent 12431db525
commit d15ec4a2db

View File

@@ -1,6 +1,7 @@
<template> <template>
<div id="app"> <div id="app">
<div id="nav"> <div id="nav">
<h2 class="logo">Kafka 控制台</h2>
<router-link to="/" class="pad-l-r">主页</router-link> <router-link to="/" class="pad-l-r">主页</router-link>
<span>|</span <span>|</span
><router-link to="/cluster-page" class="pad-l-r">集群</router-link> ><router-link to="/cluster-page" class="pad-l-r">集群</router-link>
@@ -81,4 +82,10 @@ export default {
height: 90%; height: 90%;
width: 100%; width: 100%;
} }
.logo {
float: left;
left: 1%;
top: 1%;
position: absolute;
}
</style> </style>