<template>
<div class="home">
<!-- 1 先画外面的秒秒 -->
<div class="box-wrapper">
<div class="circle-box" :style="boxStyle('seconds')">
<span
v-for="(item, index) in secondTexts"
:key="item"
:style="spanStyle(boxSize.seconds, secondTexts, index)"
>{
{ item }}</span
>
</div>
</div>
</div>
</template>
<script>
export default {
name: "Home",
data() {
return {
secondTexts: [
"零零",
"一秒",
"二秒",
"三秒",
"四秒",
"五秒"
前端罗盘时钟(70%)
最新推荐文章于 2024-08-25 09:57:22 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)