30 lines
607 B
Vue
30 lines
607 B
Vue
<template>
|
|
<div class="go-title-03">
|
|
<img :width="w" :height="h" src="/src/assets/images/chart/mapicons/qidian.png" />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { PropType, toRefs } from 'vue'
|
|
import { CreateComponentType } from '@/packages/index.d'
|
|
|
|
const props = defineProps({
|
|
chartConfig: {
|
|
type: Object as PropType<CreateComponentType>,
|
|
required: true
|
|
}
|
|
})
|
|
|
|
const { w, h } = toRefs(props.chartConfig.attr)
|
|
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
@include go('title-03') {
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
</style>
|