48 lines
923 B
Vue
Raw Normal View History

2025-01-23 01:10:59 +00:00
<!--
* @Description:
* @Author: zenghua.wang
* @Date: 2023-06-20 14:29:45
2025-01-23 09:27:53 +00:00
* @LastEditors: zenghua.wang
2025-04-11 10:14:11 +01:00
* @LastEditTime: 2025-04-11 11:05:55
2025-01-23 01:10:59 +00:00
-->
<template>
<div class="logo">
2025-04-11 10:14:11 +01:00
<img :src="getAssetsFile('images/logo.png')" class="logo-picture" />
<h2 v-show="!isCollapse" class="logo-title">政务服务</h2>
2025-01-23 01:10:59 +00:00
</div>
</template>
<script setup name="logo">
2025-04-11 10:14:11 +01:00
import { getAssetsFile } from '@/utils';
const props = defineProps({
2025-01-23 01:10:59 +00:00
isCollapse: {
type: Boolean,
default: false,
},
});
</script>
<style lang="scss" scoped>
.logo {
2025-02-26 17:03:50 +08:00
justify-content: center;
2025-01-23 01:10:59 +00:00
align-items: center;
2025-02-26 17:03:50 +08:00
overflow: hidden;
2025-01-23 01:10:59 +00:00
margin-bottom: 2px;
2025-02-26 17:03:50 +08:00
padding: 7px 5px;
box-shadow: 0 1px 4px rgb(0 21 41 / 8%);
2025-01-23 01:10:59 +00:00
transition: all 0.28s;
2025-02-26 17:03:50 +08:00
@include flex-row;
2025-01-23 01:10:59 +00:00
&-picture {
2025-02-26 17:03:50 +08:00
margin: 0 auto;
2025-01-23 01:10:59 +00:00
height: 35px;
}
&-title {
2025-04-11 10:14:11 +01:00
padding-right: 20px;
2025-01-23 09:27:53 +00:00
height: 35px;
line-height: 35px;
2025-04-11 10:14:11 +01:00
color: $color-333;
2025-01-23 01:10:59 +00:00
}
}
</style>