<template>
<div class="box">
<div class="main"></div>
<div class="item" v-for="i in 8" :style="getitem(i-1,0)" :key="i">
<div class="area">
<div class="show">
<slot></slot>
</div>
</div>
</div>
</div>
</template>
<script setup>
const getitem = (index,off)=>{
return `transform: rotateZ(${index*45+off}deg);`
}
</script>
<style lang="scss" scoped>
$width-base:300px;
$height-base:300px;
.box{
display: flex;
position: absolute;
z-index: 10;
left: 600px;
top: 140px;
justify-content: center;
align-items: center;
box-sizing: border-box;
w