parent
07d3330a4f
commit
7fafbc75e4
@ -0,0 +1,41 @@
|
||||
<template>
|
||||
<div class="logo">
|
||||
<img :src="MenuLogo">
|
||||
<span class="logo-title">{{ title }}</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue'
|
||||
const MenuLogo = ref(
|
||||
"https://wpimg.wallstcn.com/69a1c46c-eb1c-4b46-8bd4-e9e686ef5251.png"
|
||||
);
|
||||
|
||||
const title = ref('校园点餐系统')
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.logo{
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 60px;//高度与头部区域header对应
|
||||
line-height: 60px;
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
background-color: #00c6bf;
|
||||
cursor: pointer;
|
||||
img{
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
margin-left: 20px;
|
||||
margin-right: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.logo-title{
|
||||
color: #fff;
|
||||
font-size: 25px;
|
||||
font-weight: 800;
|
||||
font-family: FangSong;
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue