2026-04-02 15:39:27 +08:00

40 lines
726 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- 当前站点 -->
<template>
<div class="current-site">
<van-icon class="position-icon" name="location-o" />
<span class="site-name">当前站点{{ name || yhzStore.getYHZInfo?.mc }}</span>
</div>
</template>
<script setup>
import { onMounted, ref } from 'vue'
import { useYHZStore } from '../stores/yhzStore';
const yhzStore = useYHZStore()
const props = defineProps({
name: {
type: String,
default: ''
}
})
</script>
<style scoped lang="scss">
.current-site {
display: flex;
align-items: center;
height: 50px;
background-color: transparent;
padding: 0 5px;
color: #979797;
}
.position-icon {
margin-right: 5px;
font-size: 16px;
}
.site-name {
font-size: 13px;
}
</style>