Files
apes-Authon-Web/src/components/tracing/screen/Header.vue
T
2026-08-09 11:46:38 +08:00

70 lines
1.5 KiB
Vue

<!--
* @Author: 844772650@qq.com 844772650@qq.com
* @Date: 2026-01-06 19:58:19
* @LastEditors: 844772650@qq.com 844772650@qq.com
* @LastEditTime: 2026-01-06 19:59:37
* @FilePath: \durian-web\src\components\Header.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<header class="dashboard-header">
<div class="title">那果农业数字化大屏</div>
<div class="logo">
<img
src="@/assets/images/tracing-screen/账权logo-横.png"
alt="账权logo"
class="logo-img"
/>
|
<img
src="@/assets/images/tracing-screen/那果logo-横.png"
alt="那果logo"
class="logo-img"
/>
</div>
</header>
</template>
<script>
export default {
name: 'Header'
}
</script>
<style lang="scss" scoped>
@import '@/styles/tracing-screen.scss';
.dashboard-header {
height: 60px;
background: linear-gradient(to bottom, #0a2a66, transparent);
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
border-bottom: 2px solid $border-color;
}
.title {
font-size: 24px;
font-weight: bold;
letter-spacing: 2px;
}
.logo {
display: flex;
align-items: center;
}
.logo-img {
height: 40px;
vertical-align: middle;
&:first-child {
margin-right: 5px;
}
&:last-child {
margin-left: 5px;
}
}
</style>