<!--
 * @Description: 
 * @Author: zenghua.wang
 * @Date: 2023-06-20 14:29:45
 * @LastEditors: zenghua.wang “1048523306@qq.com”
 * @LastEditTime: 2025-01-17 11:55:43
-->
<template>
  <div class="logo">
    <!-- <img src="/images/logo.png" class="logo-picture" /> -->
    <h2 v-show="!isCollapse" class="logo-title">管理系统</h2>
  </div>
</template>

<script setup name="logo">
defineProps({
  isCollapse: {
    type: Boolean,
    default: false,
  },
});
</script>

<style lang="scss" scoped>
.logo {
  overflow: hidden;
  @include flex-row();
  align-items: center;
  padding: 7px 5px;
  margin-bottom: 2px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  transition: all 0.28s;
  justify-content: center;

  &-picture {
    width: 70px;
    height: 35px;
    margin: 0 auto;
  }

  &-title {
    color: $color-primary;
  }
}
</style>
