feat: 支持鼠标悬停查看具体日期 添加分割线

This commit is contained in:
ZiuChen
2022-09-13 21:46:49 +08:00
parent 2facf3782f
commit 4c63964fdf
2 changed files with 12 additions and 5 deletions

View File

@@ -15,7 +15,9 @@
>
<div class="clip-info">
<div class="clip-time">
<span>{{ dateFormat(item.updateTime) }}</span>
<span class="relative-date" :title="new Date(item.updateTime).toLocaleString()">{{
dateFormat(item.updateTime)
}}</span>
</div>
<div class="clip-data">
<template v-if="item.type === 'text'">