mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-06-07 22:04:06 +08:00
feat: 支持鼠标悬停查看具体日期 添加分割线
This commit is contained in:
parent
2facf3782f
commit
4c63964fdf
@ -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'">
|
||||
|
@ -37,8 +37,13 @@
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-width: 100px;
|
||||
span {
|
||||
min-width: 95px;
|
||||
max-width: 100px;
|
||||
border: 0px solid @text-bg-color-lighter;
|
||||
border-color: @text-bg-color-lighter;
|
||||
border-style: solid;
|
||||
border-width: 0px 2px 0px 0px;
|
||||
.relative-date {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@ -55,8 +60,8 @@
|
||||
overflow: hidden;
|
||||
word-break: break-all;
|
||||
max-height: 120px;
|
||||
max-width: 490px;
|
||||
padding: 5px;
|
||||
max-width: 520px;
|
||||
padding: 5px 5px 5px 10px;
|
||||
white-space: pre-wrap;
|
||||
flex-direction: column;
|
||||
color: @text-color;
|
||||
|
Loading…
x
Reference in New Issue
Block a user