Skip to content

Commit

Permalink
fix: 修复connect图标不显示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltro committed Apr 19, 2023
1 parent 18e446f commit cbd4ed2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions components/app-header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
<img src="/icon/zq-logo.svg" alt="自强Studio Logo" />
</div>
<div class="connect">
<img src="/icon/connect.svg" alt="子应用Logo" />
<Connect class="connect-icon" />
</div>
<div class="logo">
<img :src="appLogo" />
</div>
</div>
</template>
<script setup lang="ts">
import Connect from 'assets/icon/connect.svg?component';
defineProps({
appLogo: {
type: String,
Expand All @@ -27,6 +29,10 @@ defineProps({
gap: 2rem;
}
.connect-icon {
fill: var(--color-primary);
}
.logo {
width: 80px;
height: 80px;
Expand All @@ -36,7 +42,6 @@ defineProps({
align-items: center;
justify-content: center;
img {
max-width: 80px;
max-height: 80px;
Expand Down

0 comments on commit cbd4ed2

Please sign in to comment.