<el-tooltip placement="top" v-for="ar in kuan" :key="ar.id">
<div slot="content" class="tips-content text-tips-content">
<div class="rule-box">
{{ ar.zt }}<br />
{{ ar.zhanshi }}<br />
时长:{{ countdown(ar.miaoshu) }}
</div>
</div>
<div
:style="{
width: (ar.miaoshu / 86400) * 100 + '%',
background: ar.ae,
cursor: 'pointer',
}"
></div>
</el-tooltip>
标签:countdown,elenemt,tooltip,用法,zhanshi,ar From: https://www.cnblogs.com/Qinhr/p/16866857.html